aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-09-15 10:49:10 +0200
committerJohn MacFarlane <[email protected]>2025-09-15 10:50:04 +0200
commit1f3163a6388ca691c6a6e3abc945a8b4840a372e (patch)
treeb55dae055d577067e4e6aff85b61d17161e93ffe /src/Text
parentf7059959ed516bc719e5e8289df7a5ab89c858e3 (diff)
LaTeX reader: ignore `\pandocbounded`.
Third issue in #11140.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 2c9ec9108..a08b76d5e 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -444,6 +444,9 @@ inlineCommands = M.unions
, ("ifdim", ifdim)
-- generally only used in \date
, ("today", today)
+ -- this is used internally by pandoc but the definition is too complicated
+ -- for pandoc to handle (see #11140):
+ , ("pandocbounded", tok)
]
bracedFilename :: PandocMonad m => LP m Text