With -t latex-smart, don't generate \ldots from ellipsis.

Instead just use unicode ellipsis.
Closes #7674.
This commit is contained in:
John MacFarlane 2021-11-08 11:59:13 -08:00
parent 0a45f2600a
commit 9c153e3d6e

View file

@ -124,7 +124,7 @@ stringToLaTeX context zs = do
'\160' -> emits "~"
'\x200B' -> emits "\\hspace{0pt}" -- zero-width space
'\x202F' -> emits "\\,"
'\x2026' -> emitcseq "\\ldots"
'\x2026' | ligatures -> emitcseq "\\ldots"
'\x2018' | ligatures -> emitquote "`"
'\x2019' | ligatures -> emitquote "'"
'\x201C' | ligatures -> emitquote "``"