summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-02-27 23:24:30 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2022-02-27 23:24:30 -0800
commit97c4f3f23778681c8f5e05c133a117a529e16490 (patch)
tree3e3f51cd25e3eb4b94f00115cb405912d422fb1d /src/Text
parentf387d9bcd6c58c0335f578fca09135f789ceae29 (diff)
LaTeX reader: rudimentary support for vbox.
Closes #7939.
Diffstat (limited to 'src/Text')
-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 32fae9021..107c9f1fc 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -360,6 +360,7 @@ inlineCommands = M.unions
, ("underline", underline <$> tok)
, ("mbox", rawInlineOr "mbox" $ processHBox <$> tok)
, ("hbox", rawInlineOr "hbox" $ processHBox <$> tok)
+ , ("vbox", rawInlineOr "vbox" tok)
, ("lettrine", rawInlineOr "lettrine" lettrine)
, ("(", mathInline . untokenize <$> manyTill anyTok (controlSeq ")"))
, ("[", mathDisplay . untokenize <$> manyTill anyTok (controlSeq "]"))