diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-11-08 11:59:13 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-11-08 11:59:13 -0800 |
commit | 9c153e3d6e877ce53e8e4f5a9c44f682b973e777 (patch) | |
tree | c0159393603cfa293163a46a0b99a482b38a497f /src/Text/Pandoc/Writers/LaTeX | |
parent | 0a45f2600ada92e2c21ee5f819e11da90202116e (diff) | |
download | pandoc-9c153e3d6e877ce53e8e4f5a9c44f682b973e777.tar.gz |
With `-t latex-smart`, don't generate `\ldots` from ellipsis.
Instead just use unicode ellipsis.
Closes #7674.
Diffstat (limited to 'src/Text/Pandoc/Writers/LaTeX')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX/Util.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 "``" |