[latex3-commits] [git/LaTeX3-latex3-latex2e] main: Update l3kernel to 2022-02-24 (9b6a730d)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Feb 24 14:26:50 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : main
Link       : https://github.com/latex3/latex2e/commit/9b6a730ddbbb2fff01781f1f1ea5ef4a900bd8b6

>---------------------------------------------------------------

commit 9b6a730ddbbb2fff01781f1f1ea5ef4a900bd8b6
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Feb 24 12:59:29 2022 +0000

    Update l3kernel to 2022-02-24


>---------------------------------------------------------------

9b6a730ddbbb2fff01781f1f1ea5ef4a900bd8b6
 base/testfiles-lthooks2/lthooks2-002.tlg   | 11 +----------
 base/testfiles/tlb-rollback-005.luatex.tlg |  4 ++--
 base/testfiles/tlb-rollback-005.tlg        |  4 ++--
 base/testfiles/tlb-rollback-005.xetex.tlg  |  4 ++--
 texmf/tex/latex/l3kernel/expl3-code.tex    | 20 ++++++++++++--------
 texmf/tex/latex/l3kernel/expl3-generic.tex |  2 +-
 texmf/tex/latex/l3kernel/expl3.ltx         |  2 +-
 texmf/tex/latex/l3kernel/expl3.sty         |  2 +-
 8 files changed, 22 insertions(+), 27 deletions(-)

diff --git a/base/testfiles-lthooks2/lthooks2-002.tlg b/base/testfiles-lthooks2/lthooks2-002.tlg
index 3eafc5a5..0fd6fa43 100644
--- a/base/testfiles-lthooks2/lthooks2-002.tlg
+++ b/base/testfiles-lthooks2/lthooks2-002.tlg
@@ -13,16 +13,7 @@ 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':
-> 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:
->     ---.
+> The hook is empty.
 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/base/testfiles/tlb-rollback-005.luatex.tlg b/base/testfiles/tlb-rollback-005.luatex.tlg
index bdcc80a9..7bb16583 100644
--- a/base/testfiles/tlb-rollback-005.luatex.tlg
+++ b/base/testfiles/tlb-rollback-005.luatex.tlg
@@ -1,7 +1,7 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
 > \@kernel at after@begindocument=macro:
-->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool .
+->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool \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: .
 l. ...\makeatletter\show\@kernel at after@begindocument
                                                 \makeatother
 (latexrelease.sty
@@ -701,7 +701,7 @@ Applying: [....-..-..] UTF-8 default on input line ....
 Already applied: [....-..-..] UTF-8 default on input line ....
 )
 > \@kernel at after@begindocument=macro:
-->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool .
+->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool \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: .
 l. ...\makeatletter\show\@kernel at after@begindocument
                                                  \makeatother
 (minimal.cls
diff --git a/base/testfiles/tlb-rollback-005.tlg b/base/testfiles/tlb-rollback-005.tlg
index 448d0e1b..2f280807 100644
--- a/base/testfiles/tlb-rollback-005.tlg
+++ b/base/testfiles/tlb-rollback-005.tlg
@@ -1,7 +1,7 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
 > \@kernel at after@begindocument=macro:
-->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool .
+->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool \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: .
 l. ...\makeatletter\show\@kernel at after@begindocument
                                                   \makeatother
 (latexrelease.sty
@@ -1114,7 +1114,7 @@ Now handling font encoding U ...
 Already applied: [....-..-..] UTF-8 default on input line ....
 )
 > \@kernel at after@begindocument=macro:
-->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool .
+->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool \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: .
 l. ......eatletter\show\@kernel at after@begindocument
                                                   \makeatother
 (minimal.cls
diff --git a/base/testfiles/tlb-rollback-005.xetex.tlg b/base/testfiles/tlb-rollback-005.xetex.tlg
index bb3f4135..8116f835 100644
--- a/base/testfiles/tlb-rollback-005.xetex.tlg
+++ b/base/testfiles/tlb-rollback-005.xetex.tlg
@@ -1,7 +1,7 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
 > \@kernel at after@begindocument=macro:
-->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool .
+->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool \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: .
 l. ...\makeatletter\show\@kernel at after@begindocument
                                                   \makeatother
 (latexrelease.sty
@@ -697,7 +697,7 @@ Applying: [....-..-..] UTF-8 default on input line ....
 Already applied: [....-..-..] UTF-8 default on input line ....
 )
 > \@kernel at after@begindocument=macro:
-->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool .
+->\__hook_cmd_begindocument_code: \bool_gset_true:N \g__pdf_init_bool \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: .
 l. ......eatletter\show\@kernel at after@begindocument
                                                   \makeatother
 (minimal.cls
diff --git a/texmf/tex/latex/l3kernel/expl3-code.tex b/texmf/tex/latex/l3kernel/expl3-code.tex
index 9adbf83c..3904ec54 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-02-21}%
+\def\ExplFileDate{2022-02-24}%
 \begingroup
   \def\next{\endgroup}%
   \expandafter\ifx\csname PackageError\endcsname\relax
@@ -31892,13 +31892,15 @@ Type  H <return>  for immediate help}\def~{\errmessage{%
     \str_if_eq:nnTF {#1} {#2}
       {
         \__text_use_i_delimit_by_q_recursion_stop:nw
-          { \__text_expand_exclude:Nn #1 }
+          { \__text_expand_exclude:Nw #1 }
       }
       { \__text_expand_exclude:NN #1 }
   }
-\cs_new:Npn \__text_expand_exclude:Nn #1#2
+\cs_new:Npn \__text_expand_exclude:Nw #1#2#
+  { \__text_expand_exclude:Nnn #1 {#2} }
+\cs_new:Npn \__text_expand_exclude:Nnn #1#2#3
   {
-    \__text_expand_store:n { #1 {#2} }
+    \__text_expand_store:n { #1#2 {#3} }
     \__text_expand_loop:w
   }
 \cs_new:Npn \__text_expand_accent:N #1
@@ -32257,13 +32259,15 @@ Type  H <return>  for immediate help}\def~{\errmessage{%
     \str_if_eq:nnTF {#3} {#4}
       {
         \__text_use_i_delimit_by_q_recursion_stop:nw
-          { \__text_change_case_exclude:nnNn {#1} {#2} #3 }
+          { \__text_change_case_exclude:nnNw {#1} {#2} #3 }
       }
       { \__text_change_case_exclude:nnNN {#1} {#2} #3 }
   }
-\cs_new:Npn \__text_change_case_exclude:nnNn #1#2#3#4
+\cs_new:Npn \__text_change_case_exclude:nnNw #1#2#3#4#
+  { \__text_change_case_exclude:nnNnn {#1} {#2} {#3} {#4} }
+\cs_new:Npn \__text_change_case_exclude:nnNnn #1#2#3#4#5
   {
-    \__text_change_case_store:n { #3 {#4} }
+    \__text_change_case_store:n { #3#4 {#5} }
     \__text_change_case_loop:nnw {#1} {#2}
   }
 \cs_new:Npn \__text_change_case_letterlike_lower:nnN #1#2#3
@@ -33586,7 +33590,7 @@ Type  H <return>  for immediate help}\def~{\errmessage{%
   {
     \tl_gput_right:Nn \@expl at finalise@setup@@
       {
-        \AtBeginDocument
+        \tl_gput_right:Nn \@kernel at after@begindocument
           {
             \group_begin:
               \cs_set_protected:Npn \__text_change_case_setup:Nn #1#2
diff --git a/texmf/tex/latex/l3kernel/expl3-generic.tex b/texmf/tex/latex/l3kernel/expl3-generic.tex
index 1f2dd362..20618550 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-02-21}%
+\def\ExplFileDate{2022-02-24}%
 \let\ExplLoaderFileDate\ExplFileDate
 \begingroup
   \catcode`\_=11
diff --git a/texmf/tex/latex/l3kernel/expl3.ltx b/texmf/tex/latex/l3kernel/expl3.ltx
index 0513a368..6a41fe6b 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-02-21}%
+\def\ExplFileDate{2022-02-24}%
 \let\ExplLoaderFileDate\ExplFileDate
 \begingroup
   \catcode`\_=11
diff --git a/texmf/tex/latex/l3kernel/expl3.sty b/texmf/tex/latex/l3kernel/expl3.sty
index 7aa87f14..9bd22f95 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-02-21}%
+\def\ExplFileDate{2022-02-24}%
 \let\ExplLoaderFileDate\ExplFileDate
 \ProvidesPackage{expl3}
   [%





More information about the latex3-commits mailing list.