git.iko.soy/typeable/pandoc
on master help sign in
Translate NARROW NO-BREAK SPACE into LaTeX.
1053677Vaclav Zeman
src/Text/Pandoc/Writers/LaTeX.hs+1
@@ -296,6 +296,7 @@ stringToLaTeX ctx (x:xs) = do
296 ']' -> "{]}" ++ rest -- optional arguments
296 ']' -> "{]}" ++ rest -- optional arguments
297 '\'' | ctx == CodeString -> "\\textquotesingle{}" ++ rest
297 '\'' | ctx == CodeString -> "\\textquotesingle{}" ++ rest
298 '\160' -> "~" ++ rest
298 '\160' -> "~" ++ rest
299+ '\x202F' -> "\\," ++ rest
299 '\x2026' -> "\\ldots{}" ++ rest
300 '\x2026' -> "\\ldots{}" ++ rest
300 '\x2018' | ligatures -> "`" ++ rest
301 '\x2018' | ligatures -> "`" ++ rest
301 '\x2019' | ligatures -> "'" ++ rest
302 '\x2019' | ligatures -> "'" ++ rest