diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-03-31 21:08:19 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-03-31 21:08:19 -0700 |
commit | 7e4290561df141cef59b63400130d4495042408d (patch) | |
tree | 24ee0464044ef01c64b21b3ab46cc89304535933 /src | |
parent | 72020f17738e5fd3c47d479a80a2de698980e4c6 (diff) | |
download | pandoc-7e4290561df141cef59b63400130d4495042408d.tar.gz |
LaTeX reader: Support `\textasciitilde`, `\textasciicircum`.
Closes #810.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
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) |