git.iko.soy/typeable/pandoc
on master help sign in
LaTeX writer: Have LHS files set the "listings" variable.
commit77815c63db258e6c5362ec29bd3ee42b7f7651ba authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 23 Dec 2011, 18:26 (15 years ago) parent3fa9860
2 files changed+2−2
src/Text/Pandoc/Writers/LaTeX.hs+1−1 templates+1−1
src/Text/Pandoc/Writers/LaTeX.hs+1−1
@@ -130,7 +130,7 @@ pandocToLaTeX options (Pandoc (Meta title authors date) blocks) = do
130130 [ ("lhs", "yes") | stLHS st ] ++
131131 [ ("graphics", "yes") | stGraphics st ] ++
132132 [ ("book-class", "yes") | stBook st] ++
133− [ ("listings", "yes") | writerListings options ] ++
133+ [ ("listings", "yes") | writerListings options || stLHS st ] ++
134134 [ ("highlighting-macros", defaultLaTeXMacros) | stHighlighting st ] ++
135135 citecontext
136136 return $ if writerStandalone options
templates+1−1

Submodule changed.