aboutsummaryrefslogtreecommitdiff
path: root/Text/Pandoc/Writers/LaTeX.hs
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-02-09 03:18:22 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-02-09 03:18:22 +0000
commit2c13782fdf4f122fce6fb910a1e13a832455c0b0 (patch)
treeb3185526eae99311ad934e43014970ec41e5066a /Text/Pandoc/Writers/LaTeX.hs
parent9f7a14c210aed7cabcbd23721ffbcf491d54b085 (diff)
downloadpandoc-2c13782fdf4f122fce6fb910a1e13a832455c0b0.tar.gz
Modified writers for new argument place in CodeBlock.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1200 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Text/Pandoc/Writers/LaTeX.hs')
-rw-r--r--Text/Pandoc/Writers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Text/Pandoc/Writers/LaTeX.hs b/Text/Pandoc/Writers/LaTeX.hs
index b49a4488f..7e7ecb222 100644
--- a/Text/Pandoc/Writers/LaTeX.hs
+++ b/Text/Pandoc/Writers/LaTeX.hs
@@ -146,7 +146,7 @@ blockToLaTeX (Para lst) = do
blockToLaTeX (BlockQuote lst) = do
contents <- blockListToLaTeX lst
return $ text "\\begin{quote}" $$ contents $$ text "\\end{quote}"
-blockToLaTeX (CodeBlock str) = do
+blockToLaTeX (CodeBlock _ str) = do
st <- get
env <- if stInNote st
then do addToHeader "\\usepackage{fancyvrb}"