From bae3b49a5aba7b4852e6abc2e6a4ebd83375d80f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 5 Feb 2012 08:50:25 -0800 Subject: LaTeX reader: Support \TeX, \LaTeX. --- src/Text/Pandoc/Readers/LaTeX.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Text/Pandoc/Readers') 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 ">") -- cgit v1.2.3