You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A ; in a literal block causes failed PDF build with xelatex, TL2015, and French language #3546
changed the title [-]A ``;`` in a literal block causes failed PDF build with xelatex and TL2015[/-][+]A ``;`` in a literal block causes failed PDF build with xelatex, TL2015, and French language[/+]on Mar 11, 2017
This appears to be a bug in the French module of polyglossia, which does not exist anymore in TeXLive 2016, updated in March 2017. edit: it may have been rather a bug in xetex itself, see next comment
I compile to PDF with no problem on TeXLive 2016:
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsfonts/umsb.fd) [1] [2]
(./FOO.toc) [1] [2] (./FOO.ind)
Package sphinx Warning:
**** SPHINX DEPRECATION WARNING:
\strong will be (or has been) deprecated at Sphinx 1.6
and will be removed at Sphinx 1.7.
\strong already existed at Sphinx loading time! Not redefined!
Sphinx mark-up uses only \sphinxstrong .
****.
[1] (./FOO.aux) )
Output written on FOO.pdf (5 pages).
The deprecation warning is caused by current fontspec having already defined \strong macro.
(With Sphinx 1.5.2 and TeXLive 2016 as of now, make latexpdf fails due to Sphinx raising an error due to already existing \strong but this has been fixed for Sphinx 1.5.3 at b0a5ec1 see issue #3428.)
Whenever one uses xelatex or lualatex one must use most recent TeXLive installation. For this reason, no action will be taken by Sphinx.
Leaving this issue open for some time so that people see it, then I will close. I opened the ticket for future reference if the issue arises when more Sphinx users do latex_engine = 'xelatex'. This issue is specific to the French language module of polyglossia. (edit: specific to the extent it is related to insertion of a thinspace before the semi-colon but the issue seems to go to the xetex engine itself).
actually it might have been a bug in xetex itself, because there is absolutely no difference between polyglossia.sty and gloss-french.ldf of my TL2015 versus TL2016. On the other hand the TeX-trace differ and this seems to come from xetex itself which went from version 0.99992 to 0.99996. (handling of \discretionary TeX primitive) I have not researched more.
(I remove the wontfix label because it is not Sphinx issue and wontfix does not convey that)
Activity
[-]A ``;`` in a literal block causes failed PDF build with xelatex and TL2015[/-][+]A ``;`` in a literal block causes failed PDF build with xelatex, TL2015, and French language[/+]jfbu commentedon Mar 11, 2017
This appears to be a bug
in the French module of polyglossia,which does not exist anymore in TeXLive 2016, updated in March 2017. edit: it may have been rather a bug in xetex itself, see next commentI compile to PDF with no problem on TeXLive 2016:
The deprecation warning is caused by current
fontspechaving already defined\strongmacro.(With Sphinx 1.5.2 and TeXLive 2016 as of now,
make latexpdffails due to Sphinx raising an error due to already existing\strongbut this has been fixed for Sphinx 1.5.3 at b0a5ec1 see issue #3428.)Whenever one uses
xelatexorlualatexone must use most recent TeXLive installation. For this reason, no action will be taken by Sphinx.Leaving this issue open for some time so that people see it, then I will close. I opened the ticket for future reference if the issue arises when more Sphinx users do
latex_engine = 'xelatex'. This issue is specific to the French language module ofpolyglossia. (edit: specific to the extent it is related to insertion of a thinspace before the semi-colon but the issue seems to go to thexetexengine itself).jfbu commentedon Mar 11, 2017
actually it might have been a bug in
xetexitself, because there is absolutely no difference betweenpolyglossia.styandgloss-french.ldfof my TL2015 versus TL2016. On the other hand the TeX-trace differ and this seems to come fromxetexitself which went from version0.99992to0.99996. (handling of\discretionaryTeX primitive) I have not researched more.(I remove the wontfix label because it is not Sphinx issue and wontfix does not convey that)
jfbu commentedon Mar 12, 2017
Closing as this is (was) a bug of xetex, not of Sphinx. Please update your TeX installation: the bug does not show with XeTeX 0.99996.