LaTeX writer: set numbersections template variable.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1824 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher
2010-01-31 01:07:58 +00:00
parent f0bfbc5508
commit 70a7d7b214
+1
View File
@@ -95,6 +95,7 @@ pandocToLaTeX options (Pandoc (Meta title authors date) blocks) = do
[ ("strikeout", "yes") | stStrikeout st ] ++
[ ("subscript", "yes") | stSubscript st ] ++
[ ("url", "yes") | stUrl st ] ++
[ ("numbersections", "yes") | writerNumberSections options ] ++
[ ("lhs", "yes") | stLHS st ] ++
[ ("graphics", "yes") | stGraphics st ]
return $ if writerStandalone options