aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-02-05 08:50:25 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-02-05 08:50:25 -0800
commitbae3b49a5aba7b4852e6abc2e6a4ebd83375d80f (patch)
tree5c8a94820be4179fa5b424bb74ed62867acbba13 /src/Text/Pandoc
parentc54c3d50b0c3d08e5f8f03f8cc9e00aac2617cea (diff)
downloadpandoc-bae3b49a5aba7b4852e6abc2e6a4ebd83375d80f.tar.gz
LaTeX reader: Support \TeX, \LaTeX.
Diffstat (limited to 'src/Text/Pandoc')
-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 f06068497..2d7c5181e 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -370,6 +370,8 @@ inlineCommands = M.fromList $
, ("@", pure mempty)
, (" ", lit "\160")
, ("ps", pure $ str "PS." <> space)
+ , ("TeX", lit "TeX")
+ , ("LaTeX", lit "LaTeX")
, ("bar", lit "|")
, ("textless", lit "<")
, ("textgreater", lit ">")