LaTeX writer: Have LHS files set the "listings" variable.

This commit is contained in:
John MacFarlane 2011-12-23 18:26:03 -08:00
parent 3fa98607db
commit 77815c63db
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ pandocToLaTeX options (Pandoc (Meta title authors date) blocks) = do
[ ("lhs", "yes") | stLHS st ] ++
[ ("graphics", "yes") | stGraphics st ] ++
[ ("book-class", "yes") | stBook st] ++
[ ("listings", "yes") | writerListings options ] ++
[ ("listings", "yes") | writerListings options || stLHS st ] ++
[ ("highlighting-macros", defaultLaTeXMacros) | stHighlighting st ] ++
citecontext
return $ if writerStandalone options

@ -1 +1 @@
Subproject commit ac3ddfed96bc2ff5b6ff0b7fce49a35a02b227dc
Subproject commit 0d116481c0902181c6b90827a0451570a133de39