diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:09:50 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:09:50 +0000 |
commit | e037d6ace3681b526b9949b367400ba56125e865 (patch) | |
tree | f24e6dc583d22a52f538501f0fc5a82e73a53eb3 /src/Text | |
parent | 4b0e39fd029b6a110a2828e9dcfdcef51bfe22a8 (diff) | |
download | pandoc-e037d6ace3681b526b9949b367400ba56125e865.tar.gz |
Made writerVariables active in LaTeX writer.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1681 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 3 |
1 files changed, 2 insertions, 1 deletions
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) |