mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-19 02:22:09 +08:00
LaTeX writer: use \textquotesingle for straight quotes in text.
This commit is contained in:
@@ -120,7 +120,7 @@ stringToLaTeX context zs = do
|
||||
'>' -> emitcseq "\\textgreater"
|
||||
'[' -> emits "{[}" -- to avoid interpretation as
|
||||
']' -> emits "{]}" -- optional arguments
|
||||
'\'' | ctx == CodeString -> emitcseq "\\textquotesingle"
|
||||
'\'' -> emitcseq "\\textquotesingle"
|
||||
'\160' -> emits "~"
|
||||
'\x200B' -> emits "\\hspace{0pt}" -- zero-width space
|
||||
'\x202F' -> emits "\\,"
|
||||
|
||||
Reference in New Issue
Block a user