aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-07-24 10:18:09 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-07-24 10:18:09 -0700
commit99e24cf18337b0b460005bf77e367783c34b75e7 (patch)
treeca09f3400b5a628f0251116e57ed01a2516862c3 /src/Text/Pandoc/Readers
parent01a52e2300779ed411f9db3bc039656bac1d4699 (diff)
downloadpandoc-99e24cf18337b0b460005bf77e367783c34b75e7.tar.gz
LaTeX reader: handle `\passthrough` macro used by latex writer.
Closes #5659.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-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 c08cb929e..009ab336c 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -994,6 +994,8 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList
, ("textgreater", lit ">")
, ("thanks", skipopts >> note <$> grouped block)
, ("footnote", skipopts >> note <$> grouped block)
+ , ("passthrough", tok) -- \passthrough macro used by latex writer
+ -- for listings
, ("verb", doverb)
, ("lstinline", dolstinline)
, ("mintinline", domintinline)