[latex3-commits] [git/LaTeX3-latex3-latex2e] main: Update l3kernel to 2022-02-21 (edb787a1)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Feb 21 10:41:04 CET 2022
Repository : https://github.com/latex3/latex2e
On branch : main
Link : https://github.com/latex3/latex2e/commit/edb787a1a8f5e273b26f4a9b4599356ead6e14dd
>---------------------------------------------------------------
commit edb787a1a8f5e273b26f4a9b4599356ead6e14dd
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Feb 21 07:58:49 2022 +0000
Update l3kernel to 2022-02-21
>---------------------------------------------------------------
edb787a1a8f5e273b26f4a9b4599356ead6e14dd
base/testfiles-lthooks2/lthooks2-002.tlg | 11 ++++-
texmf/tex/latex/l3kernel/expl3-code.tex | 76 +++++++++++++++++-------------
texmf/tex/latex/l3kernel/expl3-generic.tex | 2 +-
texmf/tex/latex/l3kernel/expl3.ltx | 2 +-
texmf/tex/latex/l3kernel/expl3.sty | 2 +-
5 files changed, 57 insertions(+), 36 deletions(-)
diff --git a/base/testfiles-lthooks2/lthooks2-002.tlg b/base/testfiles-lthooks2/lthooks2-002.tlg
index 0fd6fa43..3eafc5a5 100644
--- a/base/testfiles-lthooks2/lthooks2-002.tlg
+++ b/base/testfiles-lthooks2/lthooks2-002.tlg
@@ -13,7 +13,16 @@ Update code for hook 'package/after' on input line ...:
**** Add to hook enddocument/end (top-level) on input line ... <- \typeout {in preamble}
Update code for hook 'begindocument' on input line ...:
-> The hook 'begindocument':
-> The hook is empty.
+> Code chunks:
+> ---
+> Document-level (top-level) code (executed last):
+> -> \group_begin: \cs_set_protected:Npn \__text_change_case_setup:Nn ##1##2{\quark_if_recursion_tail_stop:N ##1\tl_if_single_token:nT {##2}{\cs_if_exist:cF {c__text_uppercase_\token_to_str:N ##1_tl}{\tl_const:cn {c__text_uppercase_\token_to_str:N ##1_tl}{##2}}\cs_if_exist:cF {c__text_lowercase_\token_to_str:N ##2_tl}{\tl_const:cn {c__text_lowercase_\token_to_str:N ##2_tl}{##1}}}\__text_change_case_setup:Nn }\exp_after:wN \__text_change_case_setup:Nn \@uclclist \q_recursion_tail ?\q_recursion_stop \group_end:
+> Extra code for next invocation:
+> ---
+> Rules:
+> ---
+> Execution order:
+> ---.
Update code for hook 'para/before' on input line ...:
Update code for hook 'para/after' on input line ...:
Update code for hook 'para/begin' on input line ...:
diff --git a/texmf/tex/latex/l3kernel/expl3-code.tex b/texmf/tex/latex/l3kernel/expl3-code.tex
index eed89a94..9adbf83c 100644
--- a/texmf/tex/latex/l3kernel/expl3-code.tex
+++ b/texmf/tex/latex/l3kernel/expl3-code.tex
@@ -70,7 +70,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
-\def\ExplFileDate{2022-01-05}%
+\def\ExplFileDate{2022-02-21}%
\begingroup
\def\next{\endgroup}%
\expandafter\ifx\csname PackageError\endcsname\relax
@@ -158,7 +158,11 @@
\expandafter\ifx\csname newcatcodetable\endcsname\relax
\input{ltluatex}%
\fi
- \ifdefined\newluabytecode\newluabytecode\@expl at luadata@bytecode\fi
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname newluabytecode\endcsname\relax
+ \else
+ \newluabytecode\@expl at luadata@bytecode
+ \fi
\directlua{require("expl3")}%
\ifnum 0%
\directlua{
@@ -179,19 +183,20 @@
\def\LongText%
{%
The L3 programming layer requires the e-TeX primitives and additional
- functionality as described in the README file.
+ \LineBreak functionality as described in the README file.
\LineBreak
These are available in the engines\LineBreak
- pdfTeX v1.40.0\LineBreak
- XeTeX v0.99992\LineBreak
- LuaTeX v1.10\LineBreak
- e-(u)pTeX mid-2012\LineBreak
+ - Prote (2021)\LineBreak
or later.\LineBreak
\LineBreak
}%
\ifnum0%
\expandafter\ifx\csname expanded\endcsname\relax
- \ifx\csname pdfstrcmp\endcsname\relax\else 1\fi
+ \expandafter\ifx\csname pdfstrcmp\endcsname\relax\else 1\fi
\else
\expandafter\ifx\csname luatexversion\endcsname\relax
1%
@@ -204,11 +209,15 @@
\def\LineBreak{\noexpand\MessageBreak}%
\expandafter\ifx\csname PackageError\endcsname\relax
\def\LineBreak{^^J}%
- \def\PackageError#1#2#3%
- {%
- \errhelp{#3}%
- \errmessage{#1 Error: #2}%
- }%
+ \begingroup
+ \lccode`\~=`\ \lccode`\}=`\ %
+ \lccode`\T=`\T\lccode`\H=`\H%
+ \catcode`\ =11 %
+\lowercase{\endgroup\def\PackageError#1#2#3{%
+\begingroup\errorcontextlines-1\immediate\write0{}\errhelp{#3}\def%
+\ {#1 Error: #2.^^J^^J
+Type H <return> for immediate help}\def~{\errmessage{%
+\ }}~\endgroup}}%
\fi
\edef\next
{%
@@ -33573,37 +33582,40 @@
\tl_const:cn { c__text_uppercase_ \token_to_str:N \i _tl } { I }
\tl_const:cn { c__text_uppercase_ \token_to_str:N \j _tl } { J }
\group_end:
-\cs_if_exist:cT { @uclclist }
+\tl_if_exist:NT \@expl at finalise@setup@@
{
- \AtBeginDocument
+ \tl_gput_right:Nn \@expl at finalise@setup@@
{
- \group_begin:
- \cs_set_protected:Npn \__text_change_case_setup:Nn #1#2
- {
- \quark_if_recursion_tail_stop:N #1
- \tl_if_single_token:nT {#2}
+ \AtBeginDocument
+ {
+ \group_begin:
+ \cs_set_protected:Npn \__text_change_case_setup:Nn #1#2
{
- \cs_if_exist:cF
- { c__text_uppercase_ \token_to_str:N #1 _tl }
+ \quark_if_recursion_tail_stop:N #1
+ \tl_if_single_token:nT {#2}
{
- \tl_const:cn
+ \cs_if_exist:cF
{ c__text_uppercase_ \token_to_str:N #1 _tl }
- { #2 }
- }
- \cs_if_exist:cF
- { c__text_lowercase_ \token_to_str:N #2 _tl }
- {
- \tl_const:cn
+ {
+ \tl_const:cn
+ { c__text_uppercase_ \token_to_str:N #1 _tl }
+ { #2 }
+ }
+ \cs_if_exist:cF
{ c__text_lowercase_ \token_to_str:N #2 _tl }
- { #1 }
+ {
+ \tl_const:cn
+ { c__text_lowercase_ \token_to_str:N #2 _tl }
+ { #1 }
+ }
}
+ \__text_change_case_setup:Nn
}
- \__text_change_case_setup:Nn
- }
- \exp_after:wN \__text_change_case_setup:Nn \@uclclist
- \q_recursion_tail ?
- \q_recursion_stop
- \group_end:
+ \exp_after:wN \__text_change_case_setup:Nn \@uclclist
+ \q_recursion_tail ?
+ \q_recursion_stop
+ \group_end:
+ }
}
}
%% File: l3text-purify.dtx
diff --git a/texmf/tex/latex/l3kernel/expl3-generic.tex b/texmf/tex/latex/l3kernel/expl3-generic.tex
index 96b086d0..1f2dd362 100644
--- a/texmf/tex/latex/l3kernel/expl3-generic.tex
+++ b/texmf/tex/latex/l3kernel/expl3-generic.tex
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
-\def\ExplFileDate{2022-01-05}%
+\def\ExplFileDate{2022-02-21}%
\let\ExplLoaderFileDate\ExplFileDate
\begingroup
\catcode`\_=11
diff --git a/texmf/tex/latex/l3kernel/expl3.ltx b/texmf/tex/latex/l3kernel/expl3.ltx
index 92c71b0f..0513a368 100644
--- a/texmf/tex/latex/l3kernel/expl3.ltx
+++ b/texmf/tex/latex/l3kernel/expl3.ltx
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
-\def\ExplFileDate{2022-01-05}%
+\def\ExplFileDate{2022-02-21}%
\let\ExplLoaderFileDate\ExplFileDate
\begingroup
\catcode`\_=11
diff --git a/texmf/tex/latex/l3kernel/expl3.sty b/texmf/tex/latex/l3kernel/expl3.sty
index a15a6575..7aa87f14 100644
--- a/texmf/tex/latex/l3kernel/expl3.sty
+++ b/texmf/tex/latex/l3kernel/expl3.sty
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
-\def\ExplFileDate{2022-01-05}%
+\def\ExplFileDate{2022-02-21}%
\let\ExplLoaderFileDate\ExplFileDate
\ProvidesPackage{expl3}
[%
More information about the latex3-commits
mailing list.