git.iko.soy/typeable/pandoc
on master help sign in
rawLaTeXBlock: never retokenize macroDef.
commitac1a46b0cb4206eb3d46e2f29f29d53b0489c184 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 19 Jul 2018, 10:14 (8 years ago) parent640814a
1 file changed+1−1
src/Text/Pandoc/Readers/LaTeX.hs+1−1
src/Text/Pandoc/Readers/LaTeX.hs+1−1
@@ -287,7 +287,7 @@ rawLaTeXBlock = do
287287 lookAhead (try (char '\\' >> letter))
288288 snd <$> (rawLaTeXParser False macroDef blocks
289289 <|> rawLaTeXParser True
290− (environment <|> macroDef <|> blockCommand)
290+ (environment <|> blockCommand)
291291 (mconcat <$> (many (block <|> beginOrEndCommand))))
292292
293293-- See #4667 for motivation; sometimes people write macros