git.iko.soy/typeable/pandoc
on master help sign in
LaTeX writer: set numbersections template variable.

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

commit70a7d7b2141472fe558bfc191f259667ed09f911 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 31 Jan 2010, 01:07 (17 years ago) parentf0bfbc5
1 file changed+1
src/Text/Pandoc/Writers/LaTeX.hs+1
src/Text/Pandoc/Writers/LaTeX.hs+1
@@ -95,6 +95,7 @@ pandocToLaTeX options (Pandoc (Meta title authors date) blocks) = do
9595 [ ("strikeout", "yes") | stStrikeout st ] ++
9696 [ ("subscript", "yes") | stSubscript st ] ++
9797 [ ("url", "yes") | stUrl st ] ++
98+ [ ("numbersections", "yes") | writerNumberSections options ] ++
9899 [ ("lhs", "yes") | stLHS st ] ++
99100 [ ("graphics", "yes") | stGraphics st ]
100101 return $ if writerStandalone options