[latex3-commits] [latex3/tagpdf] develop, main: fix tag socket with two arguments (b1d7ee9)

github at latex-project.org github at latex-project.org
Tue Nov 19 20:55:13 CET 2024


Repository : https://github.com/latex3/tagpdf
On branches: develop,main
Link       : https://github.com/latex3/tagpdf/commit/b1d7ee964aa120cb85f48b70fbe9e3bac63d222b

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

commit b1d7ee964aa120cb85f48b70fbe9e3bac63d222b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Nov 19 20:55:13 2024 +0100

    fix tag socket with two arguments


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

b1d7ee964aa120cb85f48b70fbe9e3bac63d222b
 CHANGELOG.md    | 6 ++++++
 build.lua       | 4 ++--
 tagpdf-user.dtx | 9 +++++----
 3 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index f7ac09f..0f2fc62 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to the `tagpdf` package since the
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 this project uses date-based 'snapshot' version identifiers.
 
+## [Unreleased]
+Version 0.99i
+
+### Fixed
+ - \tag_socket_use:nnn looses second argument when tagging is suspended.
+ 
 ## [2024-11-18]
 Version 0.99h
 ### Added
diff --git a/build.lua b/build.lua
index d97787a..abf7bba 100644
--- a/build.lua
+++ b/build.lua
@@ -1,6 +1,6 @@
 -- Build script for tagpdf
-packageversion="0.99h"
-packagedate="2024-11-18"
+packageversion="0.99i"
+packagedate="2024-11-19"
 
 module   = "tagpdf"
 ctanpkg  = "tagpdf"
diff --git a/tagpdf-user.dtx b/tagpdf-user.dtx
index 49923b5..8657d8f 100644
--- a/tagpdf-user.dtx
+++ b/tagpdf-user.dtx
@@ -262,11 +262,11 @@
 % 
 % \section{Socket support}
 % 
-% \begin{function}{\tag_socket_use:n,\tag_socket_use:nn,\UseTaggingSocket}
+% \begin{function}{\tag_socket_use:n,\tag_socket_use:nnn,\UseTaggingSocket}
 % \begin{syntax}
 %  \cs{tag_socket_use:n} \Arg{socket name}\\
 %  \cs{tag_socket_use:nn} \Arg{socket name} \Arg{socket argument}\\
-%  \cs{tag_socket_use:nn} \Arg{socket name} \Arg{socket argument} \Arg{socket argument}\\
+%  \cs{tag_socket_use:nnn} \Arg{socket name} \Arg{socket argument} \Arg{socket argument}\\
 %  \cs{tag_socket_use_expandable:n} \Arg{socket name}\\
 %  \cs{UseTaggingSocket} \Arg{socket name} \\
 %  \cs{UseTaggingSocket} \Arg{socket name} \Arg{socket argument}\\
@@ -458,8 +458,9 @@
 %    \begin{macrocode}
 \cs_set_protected:Npn \tag_socket_use:nnn #1#2#3 
   {
-    \bool_if:NT \l_@@_active_socket_bool
-       { \socket_use:nnn {tagsupport/#1} {#2} {#3} }
+    \bool_if:NTF \l_@@_active_socket_bool
+      { \socket_use:nnn {tagsupport/#1} {#2} {#3} }
+      { #3 }
   }
 %    \end{macrocode}
 %    \begin{macrocode}





More information about the latex3-commits mailing list.