LaTeX writer: Escape curly quotes.

This commit is contained in:
John MacFarlane 2010-11-27 11:53:30 -08:00
parent 1ffbb59823
commit 970f63c18a

View file

@ -110,6 +110,10 @@ stringToLaTeX = escapeStringUsing latexEscapes
, ('[', "{[}") -- to avoid interpretation as
, (']', "{]}") -- optional arguments
, ('\160', "~")
, ('\x2018', "`")
, ('\x2019', "'")
, ('\x201C', "``")
, ('\x201D', "''")
]
-- | Puts contents into LaTeX command.