Closed tomh-overleaf closed 11 months ago
I think it's a file loading issue: if I manually force expl3
loading in the preamble it works, so there is an issue loading the backend code.
I see the issue: the catcodes are being activated in begindocument/before
, which is before we load l3backend
, which then chokes. Thinking where the solution is.
I’m preparing a new version fixing that.
@jbezos I think the activation is in the wrong hook, but I'm not sure why begindocument/before
was chosen.
@josephwright See #240. The problem was \normalsfcodes
, so I moved \selectlanguage
before, but that was clearly wrong (even if all my tests passed). I’ve restored the place where the language was selected (which is the correct one) and devised another fix.
@tomh-overleaf I’ll upload a new version to CTAN very likely in a few hours.
@tomh-overleaf I’ll upload a new version to CTAN very likely in a few hours.
Thanks, Javier! We'll pull it next week :)
Minimal Example
Error message
Listfiles
Observations
\selectlanguage{spanish}
clears the error.babel
, e.g. 2022/07/20 3.78, clears the error.spanish
with e.g.czech
clears the error.babel
as e.g.\usepackage[spanish,czech]{babel}
clears the error.\usepackage[czech,spanish]{babel}
the error is preserved.