@@ -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)