Re: [XeTeX] problem with discretionary

2017-12-03 Thread jfbu
Hi, I need some help to identify which XeTeX release fixed that problem, the mwe is \catcode`@ 11 \XeTeXinterchartokenstate=1 \newXeTeXintercharclass\french@punctthin \XeTeXcharclass `\; \french@punctthin \XeTeXinterchartoks 255 \french@punctthin = {\nobreak\thinspace}% \catcode`;\active \

Re: [XeTeX] problem with discretionary

2017-12-03 Thread Zdenek Wagner
Hi, please, notice that the number of character classes was increased from 256 to 4096, so 255 no longer works as a boundary but 4095 must be used. I use the following code that I took from some other package: \edef\CSat{\the\catcode`\@} % in order to work in plain XeTeX \catcode`\@=11 \ifdefined

Re: [XeTeX] problem with discretionary

2017-12-03 Thread jfbu
Thanks Zdeněk! Should I thus conclude from this that polyglossia + French is currently broken ? indeed the file gloss-french.ldf uses hardcoded 255 at various locations. I am a bit lost though because my test mwe \catcode`@ 11 \XeTeXinterchartokenstate=1 \newXeTeXintercharclass\french@punctthin

Re: [XeTeX] problem with discretionary

2017-12-03 Thread Zdenek Wagner
2017-12-03 11:58 GMT+01:00 jfbu : > Thanks Zdeněk! > > Should I thus conclude from this that polyglossia + French is currently > broken ? > indeed the file gloss-french.ldf uses hardcoded 255 at various locations. > Yes, everything with hardcoded 255 is broken since TL 2016. It was long enough av

Re: [XeTeX] problem with discretionary

2017-12-03 Thread jfbu
Only to point out frenchb.ldf (babel-french) does indeed \ifdim\the\XeTeXversion\XeTeXrevision pt<0.4pt \FB@nonchar=255 \relax \else \FB@nonchar=4095 \relax \fi whereas I see no similar thing in gloss-french.ldf There seems to be two problems now, whereas I only had one initia

Re: [XeTeX] problem with discretionary

2017-12-03 Thread Zdenek Wagner
I do not know the exact revision of the change. The code which I sent tests the features, not the revision number. Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtml http://icebearsoft.euweb.cz 2017-12-03 12:18 GMT+01:00 jfbu : > > Only to point out frenchb.ldf (babel-french) does indeed >

Re: [XeTeX] problem with discretionary

2017-12-03 Thread jfbu
Hi, regarding the character class issue (which isn't directly the one I had reported at http://tug.org/pipermail/xetex/2017-March/027056.html and again at top of this re-newed thread) github user eg9 already did a report upstream https://github.com/reutenauer/polyglossia/issues/145 as far as

Re: [XeTeX] problem with discretionary

2017-12-03 Thread jfbu
Sorry for noise as https://github.com/reutenauer/polyglossia/pull/178 has been merged upstream. The question now is when will this make its way to CTAN or TeXLive. As far as I can tell CTAN has 1.42.4 and the above was merged into 1.42.5. (this is secondary topic to this thread, though) Best,