From c44a3f61c270525e2736a3b1bfb0b5f3e6271b48 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 14 Feb 2017 23:11:25 +0100 Subject: LaTeX reader: include contents of `\parbox`. --- src/Text/Pandoc/Readers/LaTeX.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text/Pandoc/Readers/LaTeX.hs') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 1fb12224f..9f9a79535 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -327,6 +327,7 @@ ignoreBlocks name = (name, p) blockCommands :: PandocMonad m => M.Map String (LP m Blocks) blockCommands = M.fromList $ [ ("par", mempty <$ skipopts) + , ("parbox", braced >> grouped blocks) , ("title", mempty <$ (skipopts *> (grouped inline >>= addMeta "title") <|> (grouped block >>= addMeta "title"))) -- cgit v1.2.3