diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-09-02 11:42:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-02 11:42:18 +0200 |
commit | 07c67cf8681a2450b58b1dac3abc2c8babe79935 (patch) | |
tree | b4e6c9e20bcb257bceadfca6bff3545359f807e6 /src/Text | |
parent | 21cd76c2012457cfb14aa064ebf0c007b47da82f (diff) | |
parent | 1053677f4966f58be9cfecce0ce5769c02da0280 (diff) | |
download | pandoc-07c67cf8681a2450b58b1dac3abc2c8babe79935.tar.gz |
Merge pull request #3091 from wilx/master-narrow-no-break-space
Translate NARROW NO-BREAK SPACE into LaTeX.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 29e8c962c..73cd5a599 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -296,6 +296,7 @@ stringToLaTeX ctx (x:xs) = do ']' -> "{]}" ++ rest -- optional arguments '\'' | ctx == CodeString -> "\\textquotesingle{}" ++ rest '\160' -> "~" ++ rest + '\x202F' -> "\\," ++ rest '\x2026' -> "\\ldots{}" ++ rest '\x2018' | ligatures -> "`" ++ rest '\x2019' | ligatures -> "'" ++ rest |