diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-14 23:11:25 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-14 23:12:46 +0100 |
commit | c44a3f61c270525e2736a3b1bfb0b5f3e6271b48 (patch) | |
tree | c06cd499b673ee7a8d222e64712298a0a9587c90 | |
parent | a58112f6bcd3b30a942d5afad2ee5a8b9db367ac (diff) | |
download | pandoc-c44a3f61c270525e2736a3b1bfb0b5f3e6271b48.tar.gz |
LaTeX reader: include contents of `\parbox`.
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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"))) |