Skip to content

Commit

Permalink
Fix definition of \blx@endlang again (#1350, #1377)
Browse files Browse the repository at this point in the history
See also 533b1ee
  • Loading branch information
moewew committed Dec 5, 2024
1 parent 6e93123 commit bcaa45f
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions tex/latex/biblatex/biblatex.sty
Original file line number Diff line number Diff line change
Expand Up @@ -6866,6 +6866,13 @@
{\def\blx@beglang{%
\blx@clearlang
\begingroup
\def\blx@endlang{\endgroup}%
\iftoggle{blx@autolangbib}
{\let\blx@endlangbib\blx@endlang}
{}%
\iftoggle{blx@autolangcite}
{\let\blx@endlangcite\blx@endlang}
{}%
% track outer language (i.e. language not selected by biblatex)
\ifundef\blx@outer@language@set
{\let\blx@outer@language\blx@languagename
Expand Down Expand Up @@ -6899,13 +6906,7 @@
\expandafter\expandafter\expandafter{%
\expandafter\blx@thelangenv\expandafter}%
\expandafter{\abx@field@langid}}}
{\def\blx@endlang{\endgroup}%
\iftoggle{blx@autolangbib}
{\let\blx@endlangbib\blx@endlang}
{}%
\iftoggle{blx@autolangcite}
{\let\blx@endlangcite\blx@endlang}
{}}}}
{}}}
{}%
\def\blx@imc@mainlang{%
\ifundef\blx@warn@mainlang
Expand Down Expand Up @@ -6949,6 +6950,13 @@
{\def\blx@beglang{%
\blx@clearlang
\begingroup
\def\blx@endlang{\endgroup}%
\iftoggle{blx@autolangbib}
{\let\blx@endlangbib\blx@endlang}
{}%
\iftoggle{blx@autolangcite}
{\let\blx@endlangcite\blx@endlang}
{}%
% track outer language (i.e. language not selected by biblatex)
\ifundef\blx@outer@language@set
{\let\blx@outer@language\blx@languagename
Expand Down Expand Up @@ -6993,13 +7001,7 @@
\expandafter\blx@thelangenv\expandafter}%
\expandafter{\abx@field@langid}}%
\blx@beglang@spacefactors}}
{\def\blx@endlang{\endgroup}%
\iftoggle{blx@autolangbib}
{\let\blx@endlangbib\blx@endlang}
{}%
\iftoggle{blx@autolangcite}
{\let\blx@endlangcite\blx@endlang}
{}}}}
{}}}
{}%
\def\blx@imc@mainlang{%
\ifundef\blx@warn@mainlang
Expand Down

0 comments on commit bcaa45f

Please sign in to comment.