diff options
author | Vaclav Zeman <vhaisman@gmail.com> | 2016-08-27 22:17:39 +0200 |
---|---|---|
committer | Vaclav Zeman <vhaisman@gmail.com> | 2016-08-27 22:17:39 +0200 |
commit | 1053677f4966f58be9cfecce0ce5769c02da0280 (patch) | |
tree | a49204d74130dc04ae86806aea6a87a1e0174597 /src/Text | |
parent | d29a6238968c963c8fba829d23a605d3e780118e (diff) | |
download | pandoc-1053677f4966f58be9cfecce0ce5769c02da0280.tar.gz |
Translate NARROW NO-BREAK SPACE into LaTeX.
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 |