From 7e4290561df141cef59b63400130d4495042408d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 31 Mar 2013 21:08:19 -0700 Subject: LaTeX reader: Support `\textasciitilde`, `\textasciicircum`. Closes #810. --- src/Text/Pandoc/Readers/LaTeX.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 5a2ab599b..7e84f5538 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -412,6 +412,8 @@ inlineCommands = M.fromList $ , ("pounds", lit "£") , ("euro", lit "€") , ("copyright", lit "©") + , ("textasciicircum", lit "^") + , ("textasciitilde", lit "~") , ("`", option (str "`") $ try $ tok >>= accent grave) , ("'", option (str "'") $ try $ tok >>= accent acute) , ("^", option (str "^") $ try $ tok >>= accent circ) -- cgit v1.2.3