[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: rename plugs (619cc9f7)

github at latex-project.org github at latex-project.org
Sun Nov 26 00:15:51 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : latex-lab/uf-review-05
Link       : https://github.com/latex3/latex2e/commit/619cc9f7fd4ec887e2b58234e2d35f64f3a8cfe4

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

commit 619cc9f7fd4ec887e2b58234e2d35f64f3a8cfe4
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Nov 26 00:15:51 2023 +0100

    rename plugs


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

619cc9f7fd4ec887e2b58234e2d35f64f3a8cfe4
 required/latex-lab/latex-lab-math.dtx | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index 9da42035..84ebb96a 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -207,7 +207,8 @@
 %     This socket takes the math as argument and its code
 %     should output it for typesetting. Without tagging the 
 %     socket uses the identity plug.
-%     The sockets calls this three internal sockets:
+%     The |default| plug of the socket calls this three internal sockets
+%     for the tagging support:
 %      \begin{itemize}
 %      \item |tagsupport/math/content| This should set up the various
 %      content variables (empty variables are ignored by the structure code
@@ -218,6 +219,12 @@
 %      TODO: does it really make sense in inline math to have that?? 
 %      \end{itemize}
 %    \item |tagsupport/math/inline/formula/end|
+%      This socket ends the formula structure(s). The |default|
+%      plug calls these internal sockets:
+%       \begin{itemize}
+%        \item |tagsupport/math/substruct/end|
+%        \item |tagsupport/math/struct/end|      
+%       \end{itemize}
 %   \end{itemize} 
 %    
 %    
@@ -490,11 +497,11 @@
 % \end{plugdecl}
 % 
 % We probably will want to test different tagging receipes.
-% \begin{plugdecl}{tag/dflt}
+% \begin{plugdecl}{default}
 %    \begin{macrocode}
 \socket_new_plug:nnn
   {tagsupport/math/inline/formula/begin}
-  {tag/dflt}
+  {default}
   {  
     \socket_use:n{tagsupport/math/content}
     \socket_use:n{tagsupport/math/struct/begin}
@@ -504,7 +511,7 @@
   }
 \socket_new_plug:nnn
   {tagsupport/math/inline/formula/end}
-  {tag/dflt}
+  {default}
   {  
     \socket_use:n{tagsupport/math/substruct/end}
     \socket_use:n{tagsupport/math/struct/end}
@@ -642,8 +649,8 @@
   {
     \socket_assign_plug:nn {tagsupport/math/inline/begin}{MC}
     \socket_assign_plug:nn {tagsupport/math/inline/end}{MC}
-    \socket_assign_plug:nn {tagsupport/math/inline/formula/begin}{tag/dflt}
-    \socket_assign_plug:nn {tagsupport/math/inline/formula/end}{tag/dflt}
+    \socket_assign_plug:nn {tagsupport/math/inline/formula/begin}{default}
+    \socket_assign_plug:nn {tagsupport/math/inline/formula/end}{default}
   } 
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.