aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-03-31 21:08:19 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-03-31 21:08:19 -0700
commit7e4290561df141cef59b63400130d4495042408d (patch)
tree24ee0464044ef01c64b21b3ab46cc89304535933 /src/Text/Pandoc
parent72020f17738e5fd3c47d479a80a2de698980e4c6 (diff)
downloadpandoc-7e4290561df141cef59b63400130d4495042408d.tar.gz
LaTeX reader: Support `\textasciitilde`, `\textasciicircum`.
Closes #810.
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 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)