diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-09-23 14:58:16 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-09-23 14:58:16 -0700 |
commit | f8df0f50fd7ac4239e3c812f1e2c5551150bd022 (patch) | |
tree | ca56e2e9fdc0bd8ac5fb7333d8cf6dc77155d178 /src/Text/Pandoc/Writers | |
parent | 017b443a4ca7f67275cda0695a67f2fe0e7666c5 (diff) | |
download | pandoc-f8df0f50fd7ac4239e3c812f1e2c5551150bd022.tar.gz |
Added escaping of euro character to LaTeX writer.
Partially resolves #309.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index d925b2897..e307968f7 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -142,6 +142,7 @@ stringToLaTeX = escapeStringUsing latexEscapes [ ('^', "\\^{}") , ('\\', "\\textbackslash{}") , ('~', "\\ensuremath{\\sim}") + , ('€', "\\euro{}") , ('|', "\\textbar{}") , ('<', "\\textless{}") , ('>', "\\textgreater{}") |