[latex3-commits] [latex3/latex2e] main: Update l3kernel to 2024-08-30 (0d8b3516)

github at latex-project.org github at latex-project.org
Mon Sep 9 09:59:37 CEST 2024


Repository : https://github.com/latex3/latex2e
On branch  : main
Link       : https://github.com/latex3/latex2e/commit/0d8b3516061b4d8068c27b297728e9fbefbe7a82

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

commit 0d8b3516061b4d8068c27b297728e9fbefbe7a82
Author: Joseph Wright <joseph at texdev.net>
Date:   Mon Sep 9 08:59:37 2024 +0100

    Update l3kernel to 2024-08-30


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

0d8b3516061b4d8068c27b297728e9fbefbe7a82
 base/testfiles/github-0944.tlg             |  2 +-
 texmf/tex/latex/l3kernel/expl3-code.tex    | 12 +++++++-----
 texmf/tex/latex/l3kernel/expl3-generic.tex |  2 +-
 texmf/tex/latex/l3kernel/expl3.ltx         |  2 +-
 texmf/tex/latex/l3kernel/expl3.sty         |  2 +-
 texmf/tex/latex/l3kernel/l3debug.def       |  2 +-
 texmf/tex/latex/l3kernel/l3doc.cls         | 15 ++++++++-------
 7 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/base/testfiles/github-0944.tlg b/base/testfiles/github-0944.tlg
index 9f9c9ef3..6f405d9f 100644
--- a/base/testfiles/github-0944.tlg
+++ b/base/testfiles/github-0944.tlg
@@ -22,7 +22,7 @@ LaTeX Warning: Reference `unknown' on page 1 undefined on input line ....
 ] (github-0944.aux)
  ***********
 -formatname- <-formatversion-> patch level -2
-L3 programming layer <2024-08-16>
+L3 programming layer <2024-08-30>
  ***********
  *File List*
  -show the file list here-
diff --git a/texmf/tex/latex/l3kernel/expl3-code.tex b/texmf/tex/latex/l3kernel/expl3-code.tex
index 65410663..d91b5057 100644
--- a/texmf/tex/latex/l3kernel/expl3-code.tex
+++ b/texmf/tex/latex/l3kernel/expl3-code.tex
@@ -75,7 +75,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: expl3.dtx
-\def\ExplFileDate{2024-08-16}%
+\def\ExplFileDate{2024-08-30}%
 \begingroup
   \def\next{\endgroup}%
   \expandafter\ifx\csname PackageError\endcsname\relax
@@ -33740,15 +33740,17 @@ Type  H <return>  for immediate help}\def~{\errmessage{%
             \tl_set:ce { l__codepoint_ #1 _block_tl }
               { \int_eval:n { \tl_use:c { l__codepoint_ #1 _block_tl } + 1 } }
           }
-        \prg_replicate:nn {#2}
+        \int_step_inline:nnn
+          { \tl_use:c { l__codepoint_ #1 _pos_tl } + 1 }
+          { \tl_use:c { l__codepoint_ #1 _pos_tl } + #2 }
           {
-            \tl_set:ce { l__codepoint_ #1 _pos_tl }
-              { \int_eval:n { \tl_use:c { l__codepoint_ #1 _pos_tl } + 1 } }
             \exp_args:Nc \__kernel_intarray_gset:Nnn
               { g__codepoint_ #1 _index_intarray }
-              { \tl_use:c { l__codepoint_ #1 _pos_tl } }
+              {##1}
               \l__codepoint_matched_block_tl
           }
+        \tl_set:ce { l__codepoint_ #1 _pos_tl }
+          { \int_eval:n { \tl_use:c { l__codepoint_ #1 _pos_tl } + #2 } }
       \clist_clear:c { l__codepoint_ #1 _block_clist }
     }
   \cs_set_protected:Npn \__codepoint_finalise_blocks:
diff --git a/texmf/tex/latex/l3kernel/expl3-generic.tex b/texmf/tex/latex/l3kernel/expl3-generic.tex
index 1e41f141..c9419529 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{2024-08-16}%
+\def\ExplFileDate{2024-08-30}%
 \let\ExplLoaderFileDate\ExplFileDate
 \begingroup
   \catcode`\_=11
diff --git a/texmf/tex/latex/l3kernel/expl3.ltx b/texmf/tex/latex/l3kernel/expl3.ltx
index 21973d42..4a7cb9d4 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{2024-08-16}%
+\def\ExplFileDate{2024-08-30}%
 \let\ExplLoaderFileDate\ExplFileDate
 \begingroup
   \catcode`\_=11
diff --git a/texmf/tex/latex/l3kernel/expl3.sty b/texmf/tex/latex/l3kernel/expl3.sty
index 89f821ea..50f6fa44 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{2024-08-16}%
+\def\ExplFileDate{2024-08-30}%
 \let\ExplLoaderFileDate\ExplFileDate
 \ProvidesPackage{expl3}
   [%
diff --git a/texmf/tex/latex/l3kernel/l3debug.def b/texmf/tex/latex/l3kernel/l3debug.def
index 5f6a49a2..7ee8497d 100644
--- a/texmf/tex/latex/l3kernel/l3debug.def
+++ b/texmf/tex/latex/l3kernel/l3debug.def
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: l3debug.dtx
-\ProvidesExplFile{l3debug.def}{2024-08-16}{}{L3 Debugging support}
+\ProvidesExplFile{l3debug.def}{2024-08-30}{}{L3 Debugging support}
 \scan_new:N \s__debug_stop
 \cs_new:Npn \__debug_use_i_delimit_by_s_stop:nw #1 #2 \s__debug_stop {#1}
 \quark_new:N \q__debug_recursion_tail
diff --git a/texmf/tex/latex/l3kernel/l3doc.cls b/texmf/tex/latex/l3kernel/l3doc.cls
index d5cc46eb..bedee468 100644
--- a/texmf/tex/latex/l3kernel/l3doc.cls
+++ b/texmf/tex/latex/l3kernel/l3doc.cls
@@ -20,7 +20,7 @@
 %% 
 %% File: l3doc.dtx
 \RequirePackage{calc}
-\ProvidesExplClass{l3doc}{2024-08-16}{}
+\ProvidesExplClass{l3doc}{2024-08-30}{}
   {L3 Experimental documentation class}
 \clist_new:N \g_docinput_clist
 \seq_new:N \g_doc_functions_seq
@@ -789,17 +789,20 @@
 \cs_generate_variant:Nn \__codedoc_get_hyper_target:nN { o , e }
 \cs_new_protected:Npn \__codedoc_names_get_seq:nN #1#2
   {
-    \__kernel_tl_set:Nx \l__codedoc_tmpa_tl { \tl_to_str:n {#1} }
     \bool_if:NTF \l__codedoc_names_verb_bool
       {
         \seq_clear:N #2
-        \seq_put_right:NV #2 \l__codedoc_tmpa_tl
+        \seq_put_right:No #2 { \tl_to_str:n {#1} }
       }
       {
+        \tl_set:Nn \l__codedoc_tmpa_tl {#1}
         \tl_remove_all:Ne \l__codedoc_tmpa_tl
-          { \iow_char:N \^^M \c_percent_str }
+          { \exp_not:N \obeyedline \c_percent_str }
         \tl_remove_all:Ne \l__codedoc_tmpa_tl
-          { \token_to_str:N \obeyedline \c_space_tl \c_percent_str }
+          { \exp_not:N \obeyedline }
+        \__kernel_tl_set:Nx \l__codedoc_tmpa_tl { \tl_to_str:N \l__codedoc_tmpa_tl }
+        \tl_remove_all:Ne \l__codedoc_tmpa_tl
+          { \iow_char:N \^^M \c_percent_str }
         \tl_remove_all:Ne \l__codedoc_tmpa_tl { \tl_to_str:n { ^ ^ A } }
         \tl_remove_all:Ne \l__codedoc_tmpa_tl { \iow_char:N \^^I }
         \tl_remove_all:Ne \l__codedoc_tmpa_tl { \iow_char:N \^^M }
@@ -1136,7 +1139,6 @@
       { \__codedoc_typeset_variant_list:nN {#1} #2 }
     \\
   }
-\cs_generate_variant:Nn \__codedoc_typeset_function_block:nN { e }
 \cs_new_protected:Npn \__codedoc_function_index:n #1
   {
     \seq_gput_right:Nn \g_doc_functions_seq {#1}
@@ -2186,7 +2188,6 @@
       {#2}
       \l__codedoc_index_internal_bool
   }
-\cs_generate_variant:Nn \__codedoc_special_index:nn { o }
 \tl_new:N \l__codedoc_index_escaped_macro_tl
 \tl_new:N \l__codedoc_index_escaped_key_tl
 \cs_new_protected:Npn \__codedoc_special_index_module:nnnnN #1#2#3#4#5





More information about the latex3-commits mailing list.