rename socket

This commit is contained in:
Ulrike Fischer 2024-12-03 14:19:15 +01:00
parent af3b7108cc
commit 957c8ff803

View File

@ -528,17 +528,17 @@
% sockets which are predeclared in lttagging.
%
% \subsubsection{mbox}
% This socket annotates an \cs{mbox} inside math.
% This socket annotates an \cs{hbox} inside box command use in math.
% We test for the socket until the release 2025-06-01.
% \begin{macrocode}
\str_if_exist:cF { l__socket_tagsupport/math/luamml/mbox_plug_str }
\str_if_exist:cF { l__socket_tagsupport/math/luamml/hbox_plug_str }
{
\NewSocket{tagsupport/math/luamml/mbox}{2}
\NewSocketPlug{tagsupport/math/luamml/mbox}{default}{#2}
\AssignSocketPlug{tagsupport/math/luamml/mbox}{default}
\NewSocket{tagsupport/math/luamml/hbox}{2}
\NewSocketPlug{tagsupport/math/luamml/hbox}{default}{#2}
\AssignSocketPlug{tagsupport/math/luamml/hbox}{default}
}
%<*luatex>
\NewSocketPlug{tagsupport/math/luamml/mbox}{luamml}
\NewSocketPlug{tagsupport/math/luamml/hbox}{luamml}
{
\bool_lazy_and:nnTF
{ \mode_if_math_p: }
@ -561,7 +561,7 @@
}
{ #2 }
}
\AssignSocketPlug{tagsupport/math/luamml/mbox}{luamml}
\AssignSocketPlug{tagsupport/math/luamml/hbox}{luamml}
%</luatex>
% \end{macrocode}
% \subsection{Patching}