Closed alaymari closed 9 months ago
Thanks for the report. @Udi-Fogiel bisect points to 26cb857dd2fd3df
This is a case changing problem again.
@alaymari until the next release can add the line \AddToNoCaseChangeList\localnumeral
to the preamble as a workaround.
@jspitz BTW, wouldn't \localenumeral
make more sense?
It did not fix the problem with the values in the table of contents. For that expansion is a must, but I don't like the fact that \localnumeral
needs to be protected if the lang
parameter is not local
, and has to be expandable otherwise.
Tried the suggestion and as already noted, does not work.
@jspitz BTW, wouldn't
\localenumeral
make more sense?
Maybe, but we do not want to change that now that it's used for quite a while.
@alaymari I've pushed a fix to the master branch, can you pleas test it?
I don't like the fact that
\localnumeral
needs to be protected if thelang
parameter is notlocal
, and has to be expandable otherwise.
since 5b56b61 \foreignlanguage
is protected, so the problem I had in the case where lang
is not local is gone.
@jspitz BTW, wouldn't
\localenumeral
make more sense?Maybe, but we do not want to change that now that it's used for quite a while.
Ok!
@alaymari I've pushed a fix to the master branch, can you pleas test it?
Checked the new version. It is working as expected. Thanks a lot for giving a solution so fast.
Thanks for testing!
I am using texlive 2023 updated as of 2023-12-27. When I compiled a file with
lualatex
, I get the following error message:Ignoring the error, I got the final pdf. But the chapter and page numbers in the table of contents are wrong. They are all set to one fixed value. The page numbers and chapters are fine in the actual text.
The same file compiles fine without any error on a previous version of
polyglossia.sty
(2023/06/10 v1.63).Here is the
MWE
: