git.iko.soy/typeable/pandoc
on master help sign in
Made writerVariables active in LaTeX writer.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1681 788f1e2b-df1e-0410-8736-df70ead52e1b

commite037d6ace3681b526b9949b367400ba56125e865 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 31 Dec 2009, 01:09 (17 years ago) parent4b0e39f
1 file changed+2−1
src/Text/Pandoc/Writers/LaTeX.hs+2−1
src/Text/Pandoc/Writers/LaTeX.hs+2−1
@@ -56,7 +56,8 @@ pandocToLaTeX options (Pandoc (Meta title authors date) blocks) = do
5656 titletext <- if null title
5757 then return ""
5858 else liftM render $ inlineListToLaTeX title
59− let context = [ ("before", writerIncludeBefore options)
59+ let context = writerVariables options ++
60+ [ ("before", writerIncludeBefore options)
6061 , ("after", writerIncludeAfter options)
6162 , ("toc", if writerTableOfContents options then "yes" else "")
6263 , ("body", main)