From 8c29dd7e23da389232fef721eae630c619974660 Mon Sep 17 00:00:00 2001 From: Deyan Ginev Date: Thu, 12 Oct 2023 15:04:33 -0400 Subject: [PATCH] small patch for \bbl@switch, avoiding the discrepancy in the binding for \cf@encoding --- lib/LaTeXML/Package/babel_support.sty.ltxml | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/LaTeXML/Package/babel_support.sty.ltxml b/lib/LaTeXML/Package/babel_support.sty.ltxml index de32fb6cf..bed63f402 100644 --- a/lib/LaTeXML/Package/babel_support.sty.ltxml +++ b/lib/LaTeXML/Package/babel_support.sty.ltxml @@ -151,6 +151,7 @@ DefPrimitive('\ltx@bbl@select@language{}', sub { $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.