summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-11-19 21:43:46 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-19 22:46:32 +0100
commitf255625ad77ca02a48d0ff5c79d772da00f6164a (patch)
tree5fd71242eef8e59bcbb6b959375ae2e9e25656d4 /src/Text/Pandoc
parent64413b1ce26bb826a4a348ea3f5e494212a5144a (diff)
LaTeX reader: limited support for minipage.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index ca15cb59c..403e3d222 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -1084,6 +1084,8 @@ environments = M.fromList
[ ("document", env "document" blocks <* skipMany anyChar)
, ("abstract", mempty <$ (env "abstract" blocks >>= addMeta "abstract"))
, ("letter", env "letter" letterContents)
+ , ("minipage", env "minipage" $
+ skipopts *> optional tok *> blocks)
, ("figure", env "figure" $
resetCaption *> skipopts *> blocks >>= addImageCaption)
, ("center", env "center" blocks)