rawLaTeXBlock: never retokenize macroDef.

This commit is contained in:
John MacFarlane 2018-07-19 10:14:05 -07:00
parent 640814ac75
commit ac1a46b0cb

View file

@ -287,7 +287,7 @@ rawLaTeXBlock = do
lookAhead (try (char '\\' >> letter))
snd <$> (rawLaTeXParser False macroDef blocks
<|> rawLaTeXParser True
(environment <|> macroDef <|> blockCommand)
(environment <|> blockCommand)
(mconcat <$> (many (block <|> beginOrEndCommand))))
-- See #4667 for motivation; sometimes people write macros