From e037d6ace3681b526b9949b367400ba56125e865 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Thu, 31 Dec 2009 01:09:50 +0000 Subject: Made writerVariables active in LaTeX writer. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1681 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc/Writers/LaTeX.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers/LaTeX.hs') diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index d550482fe..78de1b17c 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -56,7 +56,8 @@ pandocToLaTeX options (Pandoc (Meta title authors date) blocks) = do titletext <- if null title then return "" else liftM render $ inlineListToLaTeX title - let context = [ ("before", writerIncludeBefore options) + let context = writerVariables options ++ + [ ("before", writerIncludeBefore options) , ("after", writerIncludeAfter options) , ("toc", if writerTableOfContents options then "yes" else "") , ("body", main) -- cgit v1.2.3