From d9960244d8413592fc29c69780c41944c8c341be Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 22 Jul 2019 15:28:15 -0700 Subject: LaTeX reader: support tex `\tt` command. Closes #5654. --- src/Text/Pandoc/Readers/LaTeX.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index fe677e470..c08cb929e 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -924,6 +924,7 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList , ("it", extractSpaces emph <$> inlines) , ("sl", extractSpaces emph <$> inlines) , ("bf", extractSpaces strong <$> inlines) + , ("tt", code . stringify . toList <$> inlines) , ("rm", inlines) , ("itshape", extractSpaces emph <$> inlines) , ("slshape", extractSpaces emph <$> inlines) -- cgit v1.2.3