aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-14 23:11:25 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-14 23:12:46 +0100
commitc44a3f61c270525e2736a3b1bfb0b5f3e6271b48 (patch)
treec06cd499b673ee7a8d222e64712298a0a9587c90
parenta58112f6bcd3b30a942d5afad2ee5a8b9db367ac (diff)
downloadpandoc-c44a3f61c270525e2736a3b1bfb0b5f3e6271b48.tar.gz
LaTeX reader: include contents of `\parbox`.
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs1
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")))