From 9c153e3d6e877ce53e8e4f5a9c44f682b973e777 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 8 Nov 2021 11:59:13 -0800 Subject: With `-t latex-smart`, don't generate `\ldots` from ellipsis. Instead just use unicode ellipsis. Closes #7674. --- src/Text/Pandoc/Writers/LaTeX/Util.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/LaTeX/Util.hs b/src/Text/Pandoc/Writers/LaTeX/Util.hs index d79326e0d..916ca1a99 100644 --- a/src/Text/Pandoc/Writers/LaTeX/Util.hs +++ b/src/Text/Pandoc/Writers/LaTeX/Util.hs @@ -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 "``" -- cgit v1.2.3