[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: remove kernel at math@begin (a619d806)
github at latex-project.org
github at latex-project.org
Wed Nov 29 18:45:28 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : latex-lab/uf-review-05
Link : https://github.com/latex3/latex2e/commit/a619d80648cffc97ec20ba6a59c42ba8e7a3190b
>---------------------------------------------------------------
commit a619d80648cffc97ec20ba6a59c42ba8e7a3190b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Nov 29 18:45:28 2023 +0100
remove kernel at math@begin
>---------------------------------------------------------------
a619d80648cffc97ec20ba6a59c42ba8e7a3190b
required/latex-lab/latex-lab-math.dtx | 31 +++++--------------------------
1 file changed, 5 insertions(+), 26 deletions(-)
diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index 9736ea71..cbafc0cf 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -589,8 +589,10 @@
{tagsupport/math/display/formula/begin}
{default}
{
- \@kernel at math@begin
- #1
+ \socket_use:n{tagsupport/math/content}
+ \socket_use:n{tagsupport/math/struct/begin}
+ \socket_use:n{tagsupport/math/substruct/begin}
+ #1
}
\socket_new_plug:nnn
{tagsupport/math/display/formula/end}
@@ -1135,7 +1137,7 @@
% \typeout{==>A3}
\__tag_tool_close_P:
}
- \@kernel at math@begin
+ \socket_use:nn{tagsupport/math/display/formula/begin}{}
\tagpdfparaOff
% \typeout{==>MC1}\ShowTagging{mc-current}
}
@@ -1286,26 +1288,6 @@
% have macro control.
% \begin{macrocode}
-\def\@kernel at math@begin {
-% \typeout{==>~math~begin}
-% needs different handling if we support nesting
- \socket_use:n{tagsupport/math/content}
- \socket_use:n{tagsupport/math/struct/begin}
-% inner formula if multiple parts (not really implemented yet)
- \socket_use:n{tagsupport/math/substruct/begin}
-% the above does:
-% \tagstructbegin{tag=Formula}\tagmcbegin{}
-% or just
-% \tagmcbegin{}
-}
-%\def\@kernel at math@end {
-%% \typeout{==>~math~end}
-%% \ShowTagging{struct-stack}
-% \socket_use:n{tagsupport/math/substruct/end}
-% \socket_use:n{tagsupport/math/struct/end}
-%% \ShowTagging{struct-stack}
-%}
-
\exp_args:No \tex_everymath:D
{
\tex_the:D \tex_everymath:D
@@ -1320,7 +1302,6 @@
{
\tex_the:D \tex_everydisplay:D
\iftrue % this may have to be a settable flag!
-% {
% \typeout{==>~ in~ everydisplay}
% \end{macrocode}
% flipping the \cs{belowdisplay} values is done so that we get (assumption)
@@ -1335,9 +1316,7 @@
\skip_set:Nn \belowdisplayskip {-\belowdisplayskip}
\skip_set:Nn \belowdisplayshortskip {-\belowdisplayshortskip}
\int_set:Nn \postdisplaypenalty {10000}
-%
\group_insert_after:N \@@_tag_dollardollar_display_end:
-% }
\fi
\bool_if:NF \l_@@_collected_bool
{
More information about the latex3-commits
mailing list.