@@ -286,18 +286,18 @@ rawLaTeXBlock = do
286286 lookAhead (try (char '\\' >> letter))
287287 -- we don't want to apply newly defined latex macros to their own
288288 -- definitions:
289− snd <$> rawLaTeXParser (environment <|> macroDef <|> blockCommand) block
289+ snd <$> rawLaTeXParser (environment <|> macroDef <|> blockCommand) blocks
290290
291291rawLaTeXInline :: (PandocMonad m, HasMacros s, HasReaderOptions s)
292292 => ParserT String s m String
293293rawLaTeXInline = do
294294 lookAhead (try (char '\\' >> letter))
295− snd <$> rawLaTeXParser (inlineEnvironment <|> inlineCommand') inline
295+ snd <$> rawLaTeXParser (inlineEnvironment <|> inlineCommand') inlines
296296
297297inlineCommand :: PandocMonad m => ParserT String ParserState m Inlines
298298inlineCommand = do
299299 lookAhead (try (char '\\' >> letter))
300− fst <$> rawLaTeXParser (inlineEnvironment <|> inlineCommand') inline
300+ fst <$> rawLaTeXParser (inlineEnvironment <|> inlineCommand') inlines
301301
302302tokenize :: SourceName -> Text -> [Tok]
303303tokenize sourcename = totoks (initialPos sourcename)