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. % sockets which are predeclared in lttagging.
% %
% \subsubsection{mbox} % \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. % We test for the socket until the release 2025-06-01.
% \begin{macrocode} % \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} \NewSocket{tagsupport/math/luamml/hbox}{2}
\NewSocketPlug{tagsupport/math/luamml/mbox}{default}{#2} \NewSocketPlug{tagsupport/math/luamml/hbox}{default}{#2}
\AssignSocketPlug{tagsupport/math/luamml/mbox}{default} \AssignSocketPlug{tagsupport/math/luamml/hbox}{default}
} }
%<*luatex> %<*luatex>
\NewSocketPlug{tagsupport/math/luamml/mbox}{luamml} \NewSocketPlug{tagsupport/math/luamml/hbox}{luamml}
{ {
\bool_lazy_and:nnTF \bool_lazy_and:nnTF
{ \mode_if_math_p: } { \mode_if_math_p: }
@ -561,7 +561,7 @@
} }
{ #2 } { #2 }
} }
\AssignSocketPlug{tagsupport/math/luamml/mbox}{luamml} \AssignSocketPlug{tagsupport/math/luamml/hbox}{luamml}
%</luatex> %</luatex>
% \end{macrocode} % \end{macrocode}
% \subsection{Patching} % \subsection{Patching}