aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-09-23 14:58:16 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2011-09-23 14:58:16 -0700
commitf8df0f50fd7ac4239e3c812f1e2c5551150bd022 (patch)
treeca56e2e9fdc0bd8ac5fb7333d8cf6dc77155d178
parent017b443a4ca7f67275cda0695a67f2fe0e7666c5 (diff)
downloadpandoc-f8df0f50fd7ac4239e3c812f1e2c5551150bd022.tar.gz
Added escaping of euro character to LaTeX writer.
Partially resolves #309.
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs1
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{}")