diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-24 09:05:51 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-26 17:23:56 -0800 |
commit | eb26fa6f540fa9c44135a73f2104fbd0d32d78c1 (patch) | |
tree | f679f4438b1ec7ce2e73756b1ca4fd446d0e179f /src/Text/Pandoc/Writers/LaTeX.hs | |
parent | bd43c0f4c940b755e2d68c7146c7f5201fb181d9 (diff) | |
download | pandoc-eb26fa6f540fa9c44135a73f2104fbd0d32d78c1.tar.gz |
Distinguish latex & context environments; blank line after in writers.
Diffstat (limited to 'src/Text/Pandoc/Writers/LaTeX.hs')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index e6687ff08..131aaddfc 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -184,7 +184,7 @@ blockToLaTeX (CodeBlock (_,classes,_) str) = do else return "verbatim" return $ "\\begin{" <> text env <> "}" $$ flush (text str) $$ "\\end{" <> text env <> "}" $$ cr -- final cr needed because of footnotes -blockToLaTeX (RawBlock "latex" x) = return $ text x +blockToLaTeX (RawBlock "latex" x) = return $ text x <> blankline blockToLaTeX (RawBlock _ _) = return empty blockToLaTeX (BulletList lst) = do items <- mapM listItemToLaTeX lst |