[latex3-commits] [latex3/latex2e] develop: Swtich to all-e-type expansion in latex-lab-math (653208f3)

github at latex-project.org github at latex-project.org
Sun Nov 12 20:30:01 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/653208f3fc56bc033034545b49c2ab458cc79cdd

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

commit 653208f3fc56bc033034545b49c2ab458cc79cdd
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Nov 12 19:25:56 2023 +0000

    Swtich to all-e-type expansion in latex-lab-math


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

653208f3fc56bc033034545b49c2ab458cc79cdd
 required/latex-lab/changes.txt        |  2 +-
 required/latex-lab/latex-lab-math.dtx | 32 ++++++++++++++++----------------
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/required/latex-lab/changes.txt b/required/latex-lab/changes.txt
index b9212abd..214b20cb 100644
--- a/required/latex-lab/changes.txt
+++ b/required/latex-lab/changes.txt
@@ -1,5 +1,5 @@
 2023-11-12 Joseph Wright <Joseph.Wright at latex-project.org>
-	* latex-lab-math.dtx: tidy variant creation
+	* latex-lab-math.dtx: tidy variant creation, switch to e-type expansion
 
 2023-10-30 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
 	* added latex-lab-table.dtx for basic table tagging. 
diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index cf104a68..9d9d3fe4 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -472,15 +472,15 @@
     \cs_gset_eq:cc { @@_env_ #1 _begin: } {#1}
     \cs_gset_eq:cc { @@_env_ #1 _end: } { end #1 }
 %
-    \ExpandArgs { nnx } \RenewDocumentEnvironment {#1} { b }
+    \ExpandArgs { nne } \RenewDocumentEnvironment {#1} { b }
       {
 %        \bool_set_true:N \exp_not:N \l_@@_collected_bool
 %        \cs_if_exist:cTF { @@_env #1 _aux: }
 %          {
 %            \exp_not:c { @@_env #1 _aux: }
-%              ####1 \exp_not:N \@@_env_end: {#1}
+%              ##1 \exp_not:N \@@_env_end: {#1}
 %          }
-%          { \exp_not:N \@@_process:nn {#1} {####1} }
+%          { \exp_not:N \@@_process:nn {#1} {##1} }
         \exp_not:N \bool_if:NTF \exp_not:N \l_@@_collected_bool
           {
 %            \typeout{===>B1}
@@ -490,15 +490,15 @@
             \cs_if_exist:cTF { @@_env #1 _aux: }
               {
                 \exp_not:c { @@_env #1 _aux: }
-                  ####1 \exp_not:N \@@_env_end: {#1}
+                  ##1 \exp_not:N \@@_env_end: {#1}
               }
-              { \exp_not:N \@@_process:nn {#1} {####1} }
+              { \exp_not:N \@@_process:nn {#1} {##1} }
             \exp_not:n { \@kernel at math@registered at begin }
             \bool_set_true:N \exp_not:N \l_@@_collected_bool
           }
 %        \exp_not:N \tracingall  
         \exp_not:c { @@_env_ #1 _begin: }
-        ####1
+        ##1
         \exp_not:c { @@_env_ #1 _end: }
 %        \exp_not:c { @@_env_ #1 _end: }
 %        \exp_not:N \tracingnone
@@ -514,15 +514,15 @@
     \cs_gset_eq:cc { @@_env_ #1 _begin: } {#1}
     \cs_gset_eq:cc { @@_env_ #1 _end: } { end #1 }
 %
-    \ExpandArgs { nnxx } \RenewDocumentEnvironment {#1} { b }
+    \ExpandArgs { nnee } \RenewDocumentEnvironment {#1} { b }
       {
 %        \bool_set_true:N \exp_not:N \l_@@_collected_bool
 %        \cs_if_exist:cTF { @@_env #1 _aux: }
 %          {
 %            \exp_not:c { @@_env #1 _aux: }
-%              ####1 \exp_not:N \@@_env_end: {#1}
+%              ##1 \exp_not:N \@@_env_end: {#1}
 %          }
-%          { \exp_not:N \@@_process:nn {#1} {####1} }
+%          { \exp_not:N \@@_process:nn {#1} {##1} }
         \exp_not:N \bool_if:NTF \exp_not:N \l_@@_collected_bool
           {
 %            \typeout{===>B1}
@@ -532,15 +532,15 @@
             \cs_if_exist:cTF { @@_env #1 _aux: }
               {
                 \exp_not:c { @@_env #1 _aux: }
-                  ####1 \exp_not:N \@@_env_end: {#1}
+                  ##1 \exp_not:N \@@_env_end: {#1}
               }
-              { \exp_not:N \@@_process:nn {#1} {####1} }
+              { \exp_not:N \@@_process:nn {#1} {##1} }
             \exp_not:n { \@kernel at math@registered at begin }
             \bool_set_true:N \exp_not:N \l_@@_collected_bool
           }
 %        \exp_not:N \tracingall  
         \exp_not:c { @@_env_ #1 _begin: }
-        ####1
+        ##1
 %        \exp_not:c { @@_env_ #1 _end: }
 %        \exp_not:N \tracingnone
      }
@@ -556,7 +556,7 @@
     \cs_gset_eq:cc { @@_env_ #1 _begin: } {#1}
     \cs_gset_eq:cc { @@_env_ #1 _end: } { end #1 }
 %
-    \ExpandArgs { nnxx } \RenewDocumentEnvironment {#1} { b }
+    \ExpandArgs { nnee } \RenewDocumentEnvironment {#1} { b }
       {
         \exp_not:N \bool_if:NTF \exp_not:N \l_@@_collected_bool
           {
@@ -567,15 +567,15 @@
             \cs_if_exist:cTF { @@_env #1 _aux: }
               {
                 \exp_not:c { @@_env #1 _aux: }
-                  ####1 \exp_not:N \@@_env_end: {#1}
+                  ##1 \exp_not:N \@@_env_end: {#1}
               }
-              { \exp_not:N \@@_process:nn {#1} {####1} }
+              { \exp_not:N \@@_process:nn {#1} {##1} }
             \exp_not:n { \@kernel at math@registered at begin }
             \bool_set_true:N \exp_not:N \l_@@_collected_bool
           }
 %        \exp_not:N \tracingall  
         \exp_not:c { @@_env_ #1 _begin: }
-        ####1
+        ##1
      }
       {
         \exp_not:c { @@_env_ #1 _end: }





More information about the latex3-commits mailing list.