Skip to content
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

Bug in iflang.sty #33

Closed
eg9 opened this issue Jan 21, 2018 · 0 comments
Closed

Bug in iflang.sty #33

eg9 opened this issue Jan 21, 2018 · 0 comments

Comments

@eg9
Copy link

eg9 commented Jan 21, 2018

The iflang package decides whether the format is based on language.dat or etex.src based on whether \uselanguage is defined.

Unfortunately, beamer defines \uselanguage, so the package sets \IfLang@prefix to lang@ instead of l@ even if the format is based on language.dat. As a consequence the tests which use \IfLang@prefix will produce the wrong result, including the final \IfLanguagePatterns{\languagename} test at the end of package loading.

Proposed fix: use an internal command defined in etex.src rather than \uselanguage.

Reference: https://tex.stackexchange.com/q/411254/4427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants