aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2020-11-28 22:58:20 +0200
committerIgor Pashev <pashev.igor@gmail.com>2020-11-28 22:58:20 +0200
commitd4710c262ffd694c25e2f9f40da80a621615d701 (patch)
tree2b98d8117605592bb6737eb9dbd2f69a63a9ca82 /src
parentcafb8b7371c5d4de4cc2fa3a4f40ea6b8053a9ba (diff)
downloadpandoc-d4710c262ffd694c25e2f9f40da80a621615d701.tar.gz
LaTeX reader: support (ignore) stackengine
Diffstat (limited to 'src')
-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 de01708f2..493b8abac 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -940,6 +940,8 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList
, ("uline", underline <$> tok)
-- plain tex stuff that should just be passed through as raw tex
, ("ifdim", ifdim)
+ -- stackengine
+ , ("addstackgap", skipopts *> tok)
]
accent :: PandocMonad m => Char -> Maybe Char -> LP m Inlines