git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: include contents of `\parbox`.
commitc44a3f61c270525e2736a3b1bfb0b5f3e6271b48 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 14 Feb 2017, 23:11 (10 years ago) parenta58112f
1 file changed+1
src/Text/Pandoc/Readers/LaTeX.hs+1
src/Text/Pandoc/Readers/LaTeX.hs+1
@@ -327,6 +327,7 @@ ignoreBlocks name = (name, p)
327327blockCommands :: PandocMonad m => M.Map String (LP m Blocks)
328328blockCommands = M.fromList $
329329 [ ("par", mempty <$ skipopts)
330+ , ("parbox", braced >> grouped blocks)
330331 , ("title", mempty <$ (skipopts *>
331332 (grouped inline >>= addMeta "title")
332333 <|> (grouped block >>= addMeta "title")))