diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-07-22 15:28:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-07-22 15:29:07 -0700 |
commit | d9960244d8413592fc29c69780c41944c8c341be (patch) | |
tree | 9d5f252d1253e5407c255df7f7a15f710f809d8b /src/Text/Pandoc/Readers | |
parent | 63c65c89da7fa54c96199cf88bf1769b7088c1ec (diff) | |
download | pandoc-d9960244d8413592fc29c69780c41944c8c341be.tar.gz |
LaTeX reader: support tex `\tt` command.
Closes #5654.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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) |