New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TeXLive 2016 breaks french space in "guillemet" #8

Closed
maieul opened this Issue Jun 6, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@maieul

maieul commented Jun 6, 2016

Consider this MWE, run with XeLaTeX:

\listfiles
\documentclass{article}
\usepackage{polyglossia}
\usepackage{csquotes}
\setmainlanguage{french}
\makeatletter
\apptocmd{\french@punctuation}{%
     \XeTeXinterchartoks \french@punctguillstart 255 = {\nobreakspace\xpg@nospace}% "«  " -> "«~"
     \XeTeXinterchartoks 255 \french@punctguillend = {\xpg@unskip\nobreakspace}% "  »" -> "~»"  
}{}{}
\makeatother
\begin{document}

\enquote{x}

«x»
\end{document}

The makeatletter/makeatoher code is to conturn bug in polyglossia (cf #7 and reutenauer/polyglossia#141), and was working well in TeXLive2015.

So we got space inside the quotation mark, which is the attempted behavior.

texlive2015

With TeXLive2016, we get not the space in the \enquote command.
texlive2016.

Enclosed, the result of the listfiles for the two texlive.
2015.txt
2016.txt

I have tried to get back to the files of TeXLive2015 > same problem. So the issue must be in the change of XeTeX engine… indeed, running LuaLaTeX is working.
cc @aurelberra

@josephwright

This comment has been minimized.

Owner

josephwright commented Jun 6, 2016

The engine now has more classes available, meaning the special 'none of the above' class is now 4095 rather than 255.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment