@@ -1063,7 +1063,9 @@ rawLaTeXBlock = snd <$> try (withRaw (environment <|> blockCommand))
1064rawLaTeXInline :: PandocMonad m => LP m Inline
1064rawLaTeXInline :: PandocMonad m => LP m Inline
1065rawLaTeXInline = do
1065rawLaTeXInline = do
1066− raw <- (snd <$> withRaw inlineCommand) <|> (snd <$> withRaw blockCommand)
1066+ raw <- (snd <$> withRaw inlineCommand)
1067+ <|> (snd <$> withRaw inlineEnvironment)
1068+ <|> (snd <$> withRaw blockCommand)
1067 RawInline "latex" <$> applyMacros' raw
1069 RawInline "latex" <$> applyMacros' raw
1069addImageCaption :: PandocMonad m => Blocks -> LP m Blocks
1071addImageCaption :: PandocMonad m => Blocks -> LP m Blocks