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
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.
The
iflang
package decides whether the format is based onlanguage.dat
oretex.src
based on whether\uselanguage
is defined.Unfortunately,
beamer
defines\uselanguage
, so the package sets\IfLang@prefix
tolang@
instead ofl@
even if the format is based onlanguage.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
The text was updated successfully, but these errors were encountered: