From 1053677f4966f58be9cfecce0ce5769c02da0280 Mon Sep 17 00:00:00 2001 From: Vaclav Zeman Date: Sat, 27 Aug 2016 22:17:39 +0200 Subject: Translate NARROW NO-BREAK SPACE into LaTeX. Translate NARROW NO-BREAK SPACE into LaTeX' `\,`. --- src/Text/Pandoc/Writers/LaTeX.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3