git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: Support \TeX, \LaTeX.
commitbae3b49a5aba7b4852e6abc2e6a4ebd83375d80f authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 5 Feb 2012, 08:50 (15 years ago) parentc54c3d5
1 file changed+2
src/Text/Pandoc/Readers/LaTeX.hs+2
src/Text/Pandoc/Readers/LaTeX.hs+2
@@ -370,6 +370,8 @@ inlineCommands = M.fromList $
370370 , ("@", pure mempty)
371371 , (" ", lit "\160")
372372 , ("ps", pure $ str "PS." <> space)
373+ , ("TeX", lit "TeX")
374+ , ("LaTeX", lit "LaTeX")
373375 , ("bar", lit "|")
374376 , ("textless", lit "<")
375377 , ("textgreater", lit ">")