[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Update l3kernel to 2020-05-15 (610059b9)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri May 15 14:50:49 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/610059b91f0fa44ecf5c0cf0f7413e17a3f08402
>---------------------------------------------------------------
commit 610059b91f0fa44ecf5c0cf0f7413e17a3f08402
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri May 15 13:50:49 2020 +0100
Update l3kernel to 2020-05-15
>---------------------------------------------------------------
610059b91f0fa44ecf5c0cf0f7413e17a3f08402
texmf/tex/latex/l3kernel/expl3-code.tex | 43 ++++++++++++++++++++++--------
texmf/tex/latex/l3kernel/expl3-generic.tex | 2 +-
texmf/tex/latex/l3kernel/expl3.ltx | 2 +-
texmf/tex/latex/l3kernel/expl3.sty | 2 +-
4 files changed, 35 insertions(+), 14 deletions(-)
diff --git a/texmf/tex/latex/l3kernel/expl3-code.tex b/texmf/tex/latex/l3kernel/expl3-code.tex
index d68df111..5249b817 100644
--- a/texmf/tex/latex/l3kernel/expl3-code.tex
+++ b/texmf/tex/latex/l3kernel/expl3-code.tex
@@ -68,7 +68,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: expl3.dtx
-\def\ExplFileDate{2020-05-14}%
+\def\ExplFileDate{2020-05-15}%
\begingroup
\def\next{\endgroup}%
\expandafter\ifx\csname PackageError\endcsname\relax
@@ -29702,13 +29702,30 @@
\__kernel_quark_new_test:N \__text_if_recursion_tail_stop:N
\cs_new:Npn \text_purify:n #1
{
+ \__kernel_exp_not:w \exp_after:wN
+ {
+ \exp:w
+ \exp_args:Ne \__text_purify:n
+ { \text_expand:n {#1} }
+ }
+ }
+\cs_new:Npn \__text_purify:n #1
+ {
\group_align_safe_begin:
- \exp_args:Ne \__text_purify:n
- { \text_expand:n {#1} }
+ \__text_purify_loop:w #1
+ \q__text_recursion_tail \q__text_recursion_stop
+ \__text_purify_result:n { }
+ }
+\cs_new:Npn \__text_purify_store:n #1
+ { \__text_purify_store:nw {#1} }
+\cs_new:Npn \__text_purify_store:nw #1#2 \__text_purify_result:n #3
+ { #2 \__text_purify_result:n { #3 #1 } }
+\cs_new:Npn \__text_purify_end:w #1 \__text_purify_result:n #2
+ {
\group_align_safe_end:
+ \exp_end:
+ #2
}
-\cs_new:Npn \__text_purify:n #1
- { \__text_purify_loop:w #1 \q__text_recursion_tail \q__text_recursion_stop }
\cs_new:Npn \__text_purify_loop:w #1 \q__text_recursion_stop
{
\tl_if_head_is_N_type:nTF {#1}
@@ -29723,12 +29740,12 @@
\cs_new:Npn \__text_purify_group:n #1 { \__text_purify_loop:w #1 }
\exp_last_unbraced:NNo \cs_new:Npn \__text_purify_space:w \c_space_tl
{
- \c_space_tl
+ \__text_purify_store:n { ~ }
\__text_purify_loop:w
}
\cs_new:Npn \__text_purify_N_type:N #1
{
- \__text_if_recursion_tail_stop:N #1
+ \__text_if_recursion_tail_stop_do:Nn #1 { \__text_purify_end:w }
\__text_purify_N_type_aux:N #1
}
\cs_new:Npn \__text_purify_N_type_aux:N #1
@@ -29760,11 +29777,14 @@
{ #2 \__text_purify_math_result:n { #3 #1 } }
\cs_new:Npn \__text_purify_math_end:w #1 \__text_purify_math_result:n #2
{
- \exp_not:n { $ #2 $ }
+ \__text_purify_store:n { $ #2 $ }
\__text_purify_loop:w #1
}
\cs_new:Npn \__text_purify_math_stop:Nw #1 \__text_purify_math_result:n #2
- { \exp_not:n {#1#2} }
+ {
+ \__text_purify_store:n {#1#2}
+ \__text_purify_end:w
+ }
\cs_new:Npn \__text_purify_math_loop:NNw #1#2#3 \q__text_recursion_stop
{
\tl_if_head_is_N_type:nTF {#3}
@@ -29834,7 +29854,8 @@
\token_if_cs:NTF #1
{ \__text_purify_expand:N #1 }
{
- \__text_token_to_explicit:N #1
+ \exp_args:Ne \__text_purify_store:n
+ { \__text_token_to_explicit:N #1 }
\__text_purify_loop:w
}
}
@@ -29852,7 +29873,7 @@
}
\cs_new:Npn \__text_purify_protect:N #1
{
- \__text_if_recursion_tail_stop:N #1
+ \__text_if_recursion_tail_stop_do:Nn #1 { \__text_purify_end:w }
\__text_purify_loop:w
}
\cs_new_protected:Npn \text_declare_purify_equivalent:Nn #1#2
diff --git a/texmf/tex/latex/l3kernel/expl3-generic.tex b/texmf/tex/latex/l3kernel/expl3-generic.tex
index d81e7eaf..e3eba08c 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{2020-05-14}%
+\def\ExplFileDate{2020-05-15}%
\let\ExplLoaderFileDate\ExplFileDate
\begingroup
\def\tempa{LaTeX2e}%
diff --git a/texmf/tex/latex/l3kernel/expl3.ltx b/texmf/tex/latex/l3kernel/expl3.ltx
index e6563192..c0cbe0e5 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{2020-05-14}%
+\def\ExplFileDate{2020-05-15}%
\let\ExplLoaderFileDate\ExplFileDate
\everyjob\expandafter{\the\everyjob
\message{L3 programming layer <\ExplFileDate>}%
diff --git a/texmf/tex/latex/l3kernel/expl3.sty b/texmf/tex/latex/l3kernel/expl3.sty
index ad6f7625..8878c82d 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{2020-05-14}%
+\def\ExplFileDate{2020-05-15}%
\let\ExplLoaderFileDate\ExplFileDate
\ProvidesPackage{expl3}
[%
More information about the latex3-commits
mailing list.