[latex3-commits] [latex3/latex2e] develop: Move expandable commands to add and document in separate block (ede566f29)

github at latex-project.org github at latex-project.org
Sun Oct 27 18:13:47 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/ede566f29a86e61f8617fc715d9a6ddceac75be4

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

commit ede566f29a86e61f8617fc715d9a6ddceac75be4
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun Oct 27 17:50:06 2024 +0100

    Move expandable commands to add and document in separate block


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

ede566f29a86e61f8617fc715d9a6ddceac75be4
 base/changes.txt   |  3 ++-
 base/lttagging.dtx | 10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index c4b71ccdf..c5708c81a 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -8,7 +8,8 @@ not part of the distribution.
 
 2024-10-27  Marcel Krüger  <Marcel.Krueger at latex-project.org>
 	* lttagging.dtx
-	Adapt two argument tagging sockets to preserve second argument when the socket is disabled.
+	Change tagging sockets with two arguments to drop the first argument
+	but return the second argument when the socket is disabled with \SuspendTagging.
 	Add expandable versions of tagging socket use commands.
 	* ltsocket.dtx
 	Add expandable versions of \socket_use_expandable:n.
diff --git a/base/lttagging.dtx b/base/lttagging.dtx
index 581de9952..6b68cd0e0 100644
--- a/base/lttagging.dtx
+++ b/base/lttagging.dtx
@@ -104,9 +104,7 @@
 %  debugging strings\ldots
 %
 %
-% \DescribeMacro\UseExpandableTaggingSocket
 % \DescribeMacro\UseTaggingSocket
-% \DescribeMacro\tag_socket_use_expandable:n
 % \DescribeMacro\tag_socket_use:n
 % \DescribeMacro\tag_socket_use:nn
 % \DescribeMacro\tag_socket_use:nnn
@@ -141,6 +139,8 @@
 % if \cs{SuspendTagging} is in force. There may be reasons for doing
 % that but in general we expect to always use \cs{UseTaggingSocket}.
 %
+% \DescribeMacro\UseExpandableTaggingSocket
+% \DescribeMacro\tag_socket_use_expandable:n
 %  For special cases like in some \cs{halign} contexts we need a fully expandable
 %  version of the commend. For these cases, \cs{UseExpandableTaggingSocket} can be
 %  used. To allow being expandable, it does not output any debugging information
@@ -173,12 +173,12 @@
 %    \end{macrocode}
 %  \end{macro}
 %
-%  \begin{macro}{\tag_socket_use_expandable:n,
-%                \tag_socket_use:n,
+%  \begin{macro}{\tag_socket_use:n,
 %                \tag_socket_use:nn,
 %                \tag_socket_use:nnn,
-%                \UseExpandableTaggingSocket,
+%                \tag_socket_use_expandable:n,
 %                \UseTaggingSocket,
+%                \UseExpandableTaggingSocket,
 %               }
 %    Again this is not the final definition for the kernel; it is just
 %    a version to get going while some parts of the kernel support are





More information about the latex3-commits mailing list.