blatex 0.1.0.3 → 0.1.0.4
raw patch · 3 files changed
+5/−6 lines, 3 files
Files
- Files.hs +1/−2
- Main.hs +3/−3
- blatex.cabal +1/−1
Files.hs view
@@ -15,6 +15,5 @@ exampleBltxFile :: String exampleBltxFile = unlines- [ "<ul id='blog-posts'>"- , "</ul>"+ [ "<ul id='blog-posts'></ul>" ]
Main.hs view
@@ -97,17 +97,17 @@ --get all pdf files from directory putStrLn "Getting directory contents" fileNames <- fmap (catMaybes . map getPDF) (getDirectoryContents "posts")- print fileNames+ --print fileNames --turn the list of files into a list of posts putStrLn "Turning directory contents into posts" posts <- fmap (catMaybes) (mapM fileNameToPost fileNames)- print posts+ --print posts --generate a ul from the list of posts putStrLn "Turning posts into an HTML element" let generatedHtml = postsToHtml posts- print generatedHtml+ --print generatedHtml --read the layout file putStrLn "Reading the layout file"
blatex.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: blatex-version: 0.1.0.3+version: 0.1.0.4 synopsis: Blog in LaTeX description: Static site generator that lets you write your blog in LaTeX and publish it to github pages. description: Markdown and HTML are the standard tools used to write your every day tech blog with. But they have pretty weak support for embedding mathematical formulas, and are not conducive to writing for an extended period of time. Plus, they aren't even Turing complete! So use BlaTeX to start blogging in LaTeX!