From 99e24cf18337b0b460005bf77e367783c34b75e7 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Wed, 24 Jul 2019 10:18:09 -0700
Subject: [PATCH] LaTeX reader: handle `\passthrough` macro used by latex
 writer.

Closes #5659.
---
 src/Text/Pandoc/Readers/LaTeX.hs | 2 ++
 1 file changed, 2 insertions(+)

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)