[latex3-commits] [latex3/latex2e] UF-latex-lab-luamml: add luamml sockets (019c59610)
github at latex-project.org
github at latex-project.org
Fri Nov 29 16:50:48 CET 2024
Repository : https://github.com/latex3/latex2e
On branch : UF-latex-lab-luamml
Link : https://github.com/latex3/latex2e/commit/019c59610ab34b052b14fc4ace5d6ae02c09cb29
>---------------------------------------------------------------
commit 019c59610ab34b052b14fc4ace5d6ae02c09cb29
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Nov 29 16:50:48 2024 +0100
add luamml sockets
>---------------------------------------------------------------
019c59610ab34b052b14fc4ace5d6ae02c09cb29
required/latex-lab/latex-lab-math.dtx | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)
diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index 7ff1e7427..d9c82df0a 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -956,6 +956,14 @@
% \end{macrocode}
% Temporary (!) fixes for endarray
% \begin{macrocode}
+ \str_if_exist:cF { l__socket_tagsupport/math/luamml/array/save_plug_str }
+ {
+ \NewSocket{tagsupport/math/luamml/array/save}{0}
+ \NewSocket{tagsupport/math/luamml/array/finalize}{0}
+ \NewSocket{tagsupport/math/luamml/array/initcol}{0}
+ \NewSocket{tagsupport/math/luamml/array/savecol}{0}
+ \NewSocket{tagsupport/math/luamml/array/finalizecol}{1}
+ }
\cs_new_protected:Npn \@@_correct_luamml_array_patches:
{
\AddToHook{package/array/after}
@@ -963,12 +971,12 @@
\cs_set:Npn \endarray
{
\tbl_crcr:n{endarray}
- \__luamml_array_save_array:
+ \tag_socket_use_expandable:n { math/luamml/array/save }
\egroup
\UseTaggingSocket{tbl/finalize}
\tbl_restore_outer_cell_data:
\egroup
- \mode_if_math:T { \__luamml_array_finalize_array: }
+ \tag_socket_use_expandable:n { math/luamml/array/finalize }
\@arrayright
\gdef \@preamble {}
}
@@ -986,11 +994,11 @@
\insert at column
\d at llarend
} {
- \__luamml_array_init_col:
+ \tag_socket_use_expandable:n { math/luamml/array/initcol }
\insert at column
- \luamml_flag_save:nn {} {mtd}
+ \tag_socket_use_expandable:n { math/luamml/array/savecol }
\d at llarend
- \__luamml_array_finalize_col:w 0~
+ \tag_socket_use:nn { math/luamml/array/finalizecol}{0}
}
\do at row@strut
\hfil
@@ -1001,11 +1009,11 @@
\insert at column
\d at llarend
} {
- \__luamml_array_init_col:
+ \tag_socket_use_expandable:n { math/luamml/array/initcol }
\insert at column
- \luamml_flag_save:nn {} {mtd}
+ \tag_socket_use_expandable:n { math/luamml/array/savecol }
\d at llarend
- \__luamml_array_finalize_col:w 1~
+ \tag_socket_use:nn { math/luamml/array/finalizecol}{1}
}
\do at row@strut
\hfil
@@ -1017,11 +1025,11 @@
\insert at column
\d at llarend
} {
- \__luamml_array_init_col:
+ \tag_socket_use_expandable:n { math/luamml/array/initcol }
\insert at column
- \luamml_flag_save:nn {} {mtd}
+ \tag_socket_use_expandable:n { math/luamml/array/savecol }
\d at llarend
- \__luamml_array_finalize_col:w 2~
+ \tag_socket_use:nn { math/luamml/array/finalizecol}{2}
}
\do at row@strut
\or
More information about the latex3-commits
mailing list.