-
Notifications
You must be signed in to change notification settings - Fork 32
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
New release of fontspec breaks \babelfont in xelatex #513
Comments
Just to add that the new fontspec 2.9b release is preventing document compilation here using lualatex (does with xelatex) when the document changes language from the default of en-NZ. Let me know if you want me to raise a separate issue. Error message:
|
@jpcirrus — thanks John, a separate issue isn't required I think but could you provide a minimal example of what is failing for you? (Similar to Boris's example above) |
In reducing the complex document where I experienced the compilation error to a MWE, I found that both xelatex and lualatex are affected. This issue is that for every font-family declared with \documentclass{article}
\usepackage[english]{babel}
\babelfont{rm}{Latin Modern Roman}
\babelfont{sf}{Latin Modern Sans}
% \babelfont{tt}{Latin Modern Mono}
\babelfont[arabic]{rm}{FreeSerif}
% \babelfont[arabic]{sf}{FreeSerif}
% \babelfont[arabic]{tt}{FreeSerif}
\begin{document}
\foreignlanguage{arabic}{آليات}
\end{document} The reason I had previously thought it was lualatex only was that I was using the command |
@wspr the code in
|
and an example without babel is
|
If I change the code to this it compiles again (but I'm not completely sure that the logic is right (and why script stores both the name and the internal tag and the lang doesn't).
|
If it is of any importance, a document similar to the one of @borisveytsman produces the error only for some fonts on my system; for example, Arial gives an error, whereas Calibri does not. |
@wspr there should be imho an update soon, various people have already commented about the issue e.g. on the texlive list. |
I agree -- can anyone confirm if the current develop branch now fixes all the issues, or do Nikos/John's examples above show different problems? |
@wspr I checked all the examples and see no problems. |
Description
The new release (71101 in TeXLive) breaks \babelfont command in xelatex, but not lualtex
Check/indicate
Minimal example demonstrating the issue
Further details
This document fails the recent xelatex with the message
It compiles in lualatex. It also compiles in xelatex and the previous version of fontspec (after
sudo tlmgr restore fontspec 69833
)The text was updated successfully, but these errors were encountered: