aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-06-25 22:12:40 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-06-25 22:16:58 +0200
commit7eb08169aa3a4517e30599df310e712cb8e9cbc4 (patch)
tree15286ff7bfb5b357f26dbafd8b854e36cbb33acc
parentebf4ed89440d459684e2becad06a34ac3cdba7d5 (diff)
downloadpandoc-7eb08169aa3a4517e30599df310e712cb8e9cbc4.tar.gz
Fixed typo in LaTeX writer.
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 7b7fba87b..5c0264b02 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -2338,7 +2338,7 @@ rawVerbEnv :: PandocMonad m => Text -> LP m Blocks
rawVerbEnv name = do
pos <- getPosition
(_, raw) <- withRaw $ verbEnv name
- let raw' = "\\begin{tikzpicture}" ++ toksToString raw
+ let raw' = "\\begin{" ++ name ++ "}" ++ toksToString raw
exts <- getOption readerExtensions
let parseRaw = extensionEnabled Ext_raw_tex exts
if parseRaw