Skip to content

Commit

Permalink
\cf@encoding MUST be defined in terms of edef \f@encoding for bbl@switch
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Oct 12, 2023
1 parent 8c29dd7 commit 6e3906a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LaTeXML/Package/babel_support.sty.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ EoTeX

DefPrimitive('\ltx@bbl@select@language{}', sub {
my ($stomach, $language) = @_;
DefMacroI('\cf@encoding', undef, Expand(T_CS('\f@encoding')));
$language = ToString(Expand($language));
my $iso = $$bbl_language_map{$language};
MergeFont(language => $iso) if $iso;
DefMacroI('\cf@encoding', undef, ExplodeText(LookupValue('font')->getEncoding));
return; });

# pretend we've got hyphenation patterns for ANY language.
Expand Down

0 comments on commit 6e3906a

Please sign in to comment.