Permalink
Browse files

Fix non breakable spaces for guillemets.

When I use polyglossia in French, it messes up the guillemets for me when the input already set the spaces.
  • Loading branch information...
hugoroy committed Oct 30, 2015
1 parent e6def08 commit 6bcba5a1899dca30d62f665cead8b00cb5a4be2e
Showing with 2 additions and 2 deletions.
  1. +2 −2 tex/gloss-french.ldf
@@ -49,8 +49,8 @@
% \XeTeXinterchartoks \z@ \french@punctguillstart = {\nobreakspace}% "a«" unchanged?
% \XeTeXinterchartoks \french@punctguillend \z@ = {\nobreakspace}% "»a" unchanged?
\XeTeXinterchartoks \z@ \french@punctguillend = {\nobreakspace}% "a»" -> "a »"
\XeTeXinterchartoks \french@punctguillstart 255 = {\nobreakspace\xpg@nospace}% "« " -> "«~"
\XeTeXinterchartoks 255 \french@punctguillend = {\xpg@unskip\nobreakspace}% " »" -> "~»"
% \XeTeXinterchartoks \french@punctguillstart 255 = {\nobreakspace\xpg@nospace}% "« " -> "«~"
% \XeTeXinterchartoks 255 \french@punctguillend = {\xpg@unskip\nobreakspace}% " »" -> "~»"
\XeTeXinterchartoks \french@punctguillend \french@punctthin = {\nobreak\thinspace}% "»;" -> "» ;"
\XeTeXinterchartoks \french@punctguillend \french@punctthick = {\nobreakspace}% "»:" -> "» :"
\XeTeXinterchartoks \french@punctthin \french@punctguillend = {\nobreakspace}% "?»" -> "? »"

1 comment on commit 6bcba5a

@maieul

This comment has been minimized.

Contributor

maieul commented on 6bcba5a May 1, 2016

your commit broke the normal behavior, only for mistyped entry :(

Please sign in to comment.