[latex3-commits] [latex3/latex2e] fix-UseTaggingSocket: fix \UseTaggingSocket (a4f66fbf6)

github at latex-project.org github at latex-project.org
Wed Jul 10 19:26:52 CEST 2024


Repository : https://github.com/latex3/latex2e
On branch  : fix-UseTaggingSocket
Link       : https://github.com/latex3/latex2e/commit/a4f66fbf654fd7c0724dcb029a95e4101252c322

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

commit a4f66fbf654fd7c0724dcb029a95e4101252c322
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Jul 10 19:26:52 2024 +0200

    fix \UseTaggingSocket


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

a4f66fbf654fd7c0724dcb029a95e4101252c322
 base/changes.txt   |  6 ++++++
 base/lttagging.dtx | 13 ++++++++++---
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 4a5df5b53..f3b9bba4d 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,12 @@ to completeness or accuracy and it contains some references to files that are
 not part of the distribution.
 ================================================================================
 
+2024-07-10  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* lttagging.dtx (section{General support for tagged output}):
+	Use identify function for tagging sockets with
+	one argument as elsewhere.
+
 2024-07-06  Yukai Chou  <muzimuzhi at gmail.com>
 
 	* ltcmd.dtx (subsection{User functions}):
diff --git a/base/lttagging.dtx b/base/lttagging.dtx
index 36f37c765..953245c5a 100644
--- a/base/lttagging.dtx
+++ b/base/lttagging.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{lttagging.dtx}
-             [2024/06/29 v1.0b LaTeX Kernel (tagging support)]
+             [2024/07/10 v1.0c LaTeX Kernel (tagging support)]
 % \iffalse
 \documentclass{l3doc}
 \GetFileInfo{lttagging.dtx}
@@ -200,7 +200,14 @@
       { \int_use:c { c__socket_tagsupport/#1_args_int } }
          {
            0 \prg_do_nothing:
-           1 \use_none:n
+%    \end{macrocode}
+%    In case of one argument we use the identity function, for sockets
+%    with more arguments we drop all (implemented only for 2 args so
+%    far).
+% \changes{v1.0c}{2024/07/10}{Use identify function for tagging sockets with
+%    one argument as elsewhere.}
+%    \begin{macrocode}
+           1 \use:n
            2 \use_none:nn
 %    \end{macrocode}
 %    We do not expect tagging sockets with more than one or two
@@ -725,7 +732,7 @@
 %    \end{macrocode}
 %    Even if we are at the start of a row we my have to do a \cs{cr},
 %    so we do a \cs{crcr} always at the end.
-% \changes{v1.ob}{2024/06/10}
+% \changes{v1.0b}{2024/06/10}
 %         {Always issue a \cs{crcr} even if we are at the start of a
 %          row to avoid problems with tabulary and similar code}
 %    \begin{macrocode}





More information about the latex3-commits mailing list.