texlive[72690] Master/texmf-dist: tagpdf (28oct24)

commits+karl at tug.org commits+karl at tug.org
Mon Oct 28 21:25:26 CET 2024


Revision: 72690
          https://tug.org/svn/texlive?view=revision&revision=72690
Author:   karl
Date:     2024-10-28 21:25:26 +0100 (Mon, 28 Oct 2024)
Log Message:
-----------
tagpdf (28oct24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/tagpdf/README.md
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-AF-file.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-alt-actualtext.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-attribute.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-formula-problem.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-list.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-mc-manual-para-split-obsolete.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-softhyphen.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure-obsolete.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/ex-tagpdf-template.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf
    trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx
    trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-lua.sty
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug.sty
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-book.def
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-mathml.def
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf.def
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf2.def
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child-2.csv
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child.csv
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty
    trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/README.md	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/README.md	2024-10-28 20:25:26 UTC (rev 72690)
@@ -1,6 +1,6 @@
 #tagpdf — A package to create tagged pdf
-Packageversion: 0.99f 
-Packagedate: 2024/09/16
+Packageversion: 0.99g 
+Packagedate: 2024/10/27
 Author: Ulrike Fischer, LaTeX Project Team
 
 ## License

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-AF-file.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-alt-actualtext.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-attribute.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-formula-problem.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-list.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-mc-manual-para-split-obsolete.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-softhyphen.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure-obsolete.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-tagpdf-template.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex	2024-10-28 20:25:26 UTC (rev 72690)
@@ -16,8 +16,8 @@
  }
 \DebugBlocksOff
 \makeatletter
-\def\UlrikeFischer at package@version{0.99f}
-\def\UlrikeFischer at package@date{2024-09-16}
+\def\UlrikeFischer at package@version{0.99g}
+\def\UlrikeFischer at package@date{2024-10-27}
 \makeatother
 
 \documentclass[bibliography=totoc,a4paper]{article}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -47,13 +47,13 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{implementation}
 %    \begin{macrocode}
 %<@@=tag>
 %<*luatex>
-\ProvidesExplFile {tagpdf-luatex.def} {2024-09-16} {0.99f}
+\ProvidesExplFile {tagpdf-luatex.def} {2024-10-27} {0.99g}
   {tagpdf~driver~for~luatex}
 %    \end{macrocode}
 % \section{Loading the lua}
@@ -174,8 +174,8 @@
 
 local ProvidesLuaModule = {
     name          = "tagpdf",
-    version       = "0.99f",       --TAGVERSION
-    date          = "2024-09-16", --TAGDATE
+    version       = "0.99g",       --TAGVERSION
+    date          = "2024-10-27", --TAGDATE
     description   = "tagpdf lua code",
     license       = "The LATEX Project Public License 1.3c"
 }

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -48,7 +48,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{documentation}
 % \section{Commands}
@@ -331,7 +331,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-checks-code} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-checks-code} {2024-10-27} {0.99g}
  {part of tagpdf - code related to checks, conditionals, debugging and messages}
 %</header>
 %    \end{macrocode}
@@ -786,7 +786,7 @@
         \msg_error:nnn { tag } {role-missing} {#1}
       }
       {
-        \prop_get:NnNTF \g_@@_role_tags_NS_prop {#2} \l_tmpa_tl
+        \prop_get:NnNTF \g_@@_role_tags_NS_prop {#2} \l_@@_tmpa_tl
           {
             \int_compare:nNnT {\l_@@_loglevel_int} > { 0 }
               {
@@ -808,7 +808,7 @@
         \msg_error:nnn { tag } {role-missing} {#1}
       }
       {
-        \prop_get:cnNTF { g_@@_role_NS_#3_prop } {#2} \l_tmpa_tl
+        \prop_get:cnNTF { g_@@_role_NS_#3_prop } {#2} \l_@@_tmpa_tl
           {
             \int_compare:nNnT {\l_@@_loglevel_int} > { 0 }
               {
@@ -941,7 +941,7 @@
         \l_@@_tmpa_tl
       }
       {
-        \seq_clear:N \l_tmpa_seq
+        \seq_clear:N \l_@@_tmpa_seq
         \int_step_inline:nnnn
           {1}
           {1}
@@ -961,7 +961,7 @@
                 ##1
              }
              {
-               \seq_gput_right:Ne \l_tmpa_seq
+               \seq_gput_right:Ne \l_@@_tmpa_seq
                  {
                    Page##1-####1-
                    \property_ref:enn
@@ -971,7 +971,7 @@
                  }
              }
           }
-          \seq_show:N \l_tmpa_seq
+          \seq_show:N \l_@@_tmpa_seq
       }
   }
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{documentation}
 % This files contains a various data files which are read in
@@ -61,7 +61,7 @@
 % latex-lab has also a namespace module, which takes precedence!
 %    \begin{macrocode}
 %<*ns-latex>
-%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-10-27} {0.99g}
 %% {latex} {https://www.latex-project.org/ns/dflt/2022}{}
 title,        Title,    pdf2,
 part,         Title,    pdf2,
@@ -93,7 +93,7 @@
 % It is bound to change
 %    \begin{macrocode}
 %<*ns-latex-book>
-%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-10-27} {0.99g}
 %% {latex-book} {https://www.latex-project.org/ns/book/2022}{}
 chapter,       H1,pdf2,
 section,       H2,pdf2,
@@ -107,7 +107,7 @@
 % \section{The pdf namespace data}
 %    \begin{macrocode}
 %<*ns-pdf>
-%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-10-27} {0.99g}
 %%  {pdf}   {http://iso.org/pdf/ssn}{}
 StructTreeRoot,StructTreeRoot,pdf,D,
 Document,Document,pdf,D,   
@@ -175,7 +175,7 @@
 % \section{The pdf 2.0 namespace data}
 %    \begin{macrocode}
 %<*ns-pdf2>
-%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-09-16} {0.99f} 
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-10-27} {0.99g} 
 %%  {pdf2}  {http://iso.org/pdf2/ssn}{}
 StructTreeRoot,StructTreeRoot,pdf2,D,
 Document,Document,pdf2,D,   
@@ -232,7 +232,7 @@
 % \section{The mathml namespace data}
 %    \begin{macrocode}
 %<*ns-mathml>
-%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-10-27} {0.99g}
 % {mathml}{http://www.w3.org/1998/Math/MathML}{}
 abs,abs,mathml,
 and,and,mathml,
@@ -467,7 +467,7 @@
 % This will perhaps change in future.
 %    \begin{macrocode}
 %<*parent-child>
-%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-10-27} {0.99g}
 ,,,StructTreeRoot,Document,Art,Part,Div,Sect,BlockQuote,NonStruct,TOC,TOCI,Index,Private,Quote,Note,Reference,BibEntry,P,Hn,H,Lbl,Code,Span,Link,Annot,Form,Ruby,RB,RT,RP,Warichu,WT,WP,L,LI,LBody,Table,TR,TH,TD,THead,TBody,TFoot,Caption,Figure,Formula,MC
 Document,both,document level,1,0..n,∅,‡,‡,∅,0..n,‡,∅,∅,∅,0..n,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅
 Art,1.7,grouping,∅,0..n,∅,‡,‡,0..n,0..n,‡,∅,∅,∅,0..n,∅,0..n,∅,∅,∅,0..1,0..1,∅,∅,∅,0..n,0..n,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,0..n,∅,∅,0..n,0..n,∅,∅,∅,0..n,0..n,∅,∅
@@ -522,7 +522,7 @@
 % This will perhaps change in future.
 %    \begin{macrocode}
 %<*parent-child-2>
-%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-10-27} {0.99g}
 ,,,StructTreeRoot,Document,DocumentFragment,Art,Part,Div,Sect,Aside,BlockQuote,NonStruct,TOC,TOCI,Index,Private,Title,Sub,Quote,Note,Reference,BibEntry,P,Hn,H,Lbl,Code,Em,Strong,Span,Link,Annot,Form,Ruby,RB,RT,RP,Warichu,WT,WP,FENote,L,LI,LBody,Table,TR,TH,TD,THead,TBody,TFoot,Caption,Figure,Formula,math,mathml,Artifact,MC
 Document,both,document level,1,0..n,0..n,∅,‡,‡,∅,0..n,0..n,‡,∅,∅,∅,0..n,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,0..n,∅
 DocumentFragment,2.0,document level,∅,0..n,0..n,0..n,‡,‡,0..n,0..n,0..n,‡,∅,∅,∅,0..n,∅,∅,∅,∅*,∅,∅,∅,∅,∅,∅,∅*,∅,∅,∅,∅*,∅*,∅,∅,∅,∅,∅,∅,∅,∅,∅*,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅*,∅,∅,∅,∅,0..n,∅

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{documentation}
 % \end{documentation}
@@ -55,11 +55,11 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*generic>
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-10-27} {0.99g}
  {part of tagpdf - code related to marking chunks - generic mode}
 %</generic>
 %<*debug>
-\ProvidesExplPackage {tagpdf-debug-generic} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-debug-generic} {2024-10-27} {0.99g}
  {part of tagpdf - debugging code related to marking chunks - generic mode}
 %</debug>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{implementation}
 % The code is split into three parts: code shared by all engines,
@@ -86,11 +86,11 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*luamode>
-\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-10-27} {0.99g}
   {tagpdf - mc code only for the luamode }
 %</luamode>
 %<*debug>
-\ProvidesExplPackage {tagpdf-debug-lua} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-debug-lua} {2024-10-27} {0.99g}
  {part of tagpdf - debugging code related to marking chunks - lua mode}
 %</debug>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{documentation}
 % \section{Public Commands}
@@ -181,7 +181,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-10-27} {0.99g}
   {part of tagpdf - code related to marking chunks -
    code shared by generic and luamode }
 %</header>

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{documentation}
 % \begin{function}
@@ -98,7 +98,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-roles-code} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-roles-code} {2024-10-27} {0.99g}
  {part of tagpdf - code related to roles and structure names}
 %</header>
 %    \end{macrocode}
@@ -1301,12 +1301,12 @@
            tag-namespace=user,
            role-namespace=, %so that we can test for it.
           #1
-         }{@@/tag-role}\l_tmpa_tl
-       \tl_if_empty:NF \l_tmpa_tl
+         }{@@/tag-role}\l_@@_tmpa_tl
+       \tl_if_empty:NF \l_@@_tmpa_tl
          {
-           \exp_args:NNno \seq_set_split:Nnn \l_tmpa_seq { / } {\l_tmpa_tl/}
-           \tl_set:Ne \l_@@_role_tag_tmpa_tl  { \seq_item:Nn \l_tmpa_seq {1} }
-           \tl_set:Ne \l_@@_role_role_tmpa_tl { \seq_item:Nn \l_tmpa_seq {2} }
+           \exp_args:NNno \seq_set_split:Nnn \l_@@_tmpa_seq { / } {\l_@@_tmpa_tl/}
+           \tl_set:Ne \l_@@_role_tag_tmpa_tl  { \seq_item:Nn \l_@@_tmpa_seq {1} }
+           \tl_set:Ne \l_@@_role_role_tmpa_tl { \seq_item:Nn \l_@@_tmpa_seq {2} }
          }
       \tl_if_empty:NT \l_@@_role_role_namespace_tmpa_tl
          {

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{documentation}
 % \begin{function}{activate/space (setup-key),interwordspace (deprecated)}
@@ -66,7 +66,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-space-code} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-space-code} {2024-10-27} {0.99g}
  {part of tagpdf - code related to real space chars}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{documentation}
 % \section{Public Commands}
@@ -308,7 +308,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-struct-code} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-struct-code} {2024-10-27} {0.99g}
  {part of tagpdf - code related to storing structure}
 %</header>
 %    \end{macrocode}
@@ -509,6 +509,7 @@
 % This variable contains structures whose Ref key should be updated
 % at the end to point to structured related with this destination.
 % As this is probably need in other places too, it is not only a toc-variable.
+% TODO: remove after 11/2024 release. 
 %    \begin{macrocode}
 \prop_new_linked:N \g_@@_struct_ref_by_dest_prop
 %    \end{macrocode}
@@ -2117,7 +2118,7 @@
 % \section{Attributes and attribute classes}
 %    \begin{macrocode}
 %<*header>
-\ProvidesExplPackage {tagpdf-attr-code} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-attr-code} {2024-10-27} {0.99g}
   {part of tagpdf - code related to attributes and attribute classes}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -47,13 +47,13 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{implementation}
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-tree-code} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-tree-code} {2024-10-27} {0.99g}
  {part of tagpdf - code related to writing trees and dictionaries to the pdf}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -33,7 +33,8 @@
 %</driver>
 % \fi
 % \title{^^A
-%   The \pkg{tagpdf-user} module\\ Code related to \LaTeX2e user commands and document commands   ^^A
+%   The \pkg{tagpdf-user} module\\
+%   Code related to \LaTeX2e user commands and document commands   ^^A
 %   \\ Part of the tagpdf package
 % }
 %
@@ -46,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle
 % \begin{documentation}
 % \section{Setup commands}
@@ -265,41 +266,53 @@
 % \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_expandable:n} \Arg{socket name}\\
 %  \cs{UseTaggingSocket} \Arg{socket name} \\
 %  \cs{UseTaggingSocket} \Arg{socket name} \Arg{socket argument}\\
+%  \cs{UseTaggingSocket} \Arg{socket name} \Arg{socket argument}\Arg{socket argument}\\
 % \end{syntax}
 % \end{function}
-
-% The next \LaTeX{} (2024-06-01) will use special sockets for the tagging.
 % 
-% These sockets will use names starting
-% with \texttt{tagsupport/}. Usually, these sockets have exactly two
-% plugs defined: \texttt{noop} (when no tagging is requested or 
-% tagging is not wanted for some reason) and 
-% a second plug that enables the tagging. There
-% may be more, e.g., tagging with special debugging, etc., but right
-% now it is usually just on or off.
-%
 % Given that we sometimes have to suspend tagging, it would be fairly
 % inefficient to put different plugs into these sockets whenever that
 % happens. We therefore offer \cs{UseTaggingSocket} which is like
-%  \cs{UseSocket} except that the socket name is specified without
-%  \texttt{tagsupport/}, i.e.,
+% \cs{UseSocket} except that is expects a socket starting with
+% \texttt{tagsupport/} but the socket name is specified without
+% this prefix, i.e.,
 % \begin{quote}
 %   \verb=\UseTaggingSocket{foo}=      $\to$
 %   \verb=\UseSocket{tagsupport/foo}=
-% \end{quote}
-%  Beside being slightly shorter, the big advantage is that this way
-%  we can change \cs{UseTaggingSocket} to do nothing by switching a boolean
-%  instead of changing the plugs of the tagging support sockets back and forth.
+% \end{quote}.
 %
-%  It is possible to use the tagging support sockets with
-%  \cs{UseSocket} directly, but in this case the socket remains active
-%  if e.g. \cs{SuspendTagging} is in force. There may be reasons for doing
-%  that but in general we expect to always use \cs{UseTaggingSocket}.
+% Beside being slightly shorter, the big advantage is that this way
+% we can change \cs{UseTaggingSocket} to do nothing by switching a boolean
+% instead of changing the plugs of the tagging support sockets back and forth.
 %
-%  The L3 programming layer versions \cs{tag_socket_use:n} and
-%  \cs{tag_socket_use:nn} are slightly more efficient than
+% Usually, these sockets have (beside the default plug defined for every socket)
+% one additional plug defined and directly assigned. This plug is used when 
+% tagging is active. 
+% There may be more plugs, e.g., tagging with special debugging or special behaviour
+% depending on the class or PDF version etc., but right now it is usually just on or off.
+%
+% When tagging is suspended they all have the same predefined behaviour:
+% The sockets with zero arguments do nothing. The sockets with one argument
+% gobble their argument. The sockets with two arguments
+% will drop their first argument and pass the second unchanged.
+%
+% It is possible to use the tagging support sockets with
+% \cs{UseSocket} directly, but in this case the socket remains active
+% if e.g. \cs{SuspendTagging} is in force. There may be reasons for doing
+% that but in general we expect to always use \cs{UseTaggingSocket}.
+% 
+% 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
+% if \cs{DebugSocketsOn} is in effect and therefore should be avoided whenever possible.
+%
+%  The L3 programming layer versions \cs{tag_socket_use_expandable:n}, \cs{tag_socket_use:n}, and
+%  \cs{tag_socket_use:nn}, \cs{tag_socket_use:nnn} 
+%  are slightly more efficient than
 %  \cs{UseTaggingSocket} because they do not have to determine how
 %  many arguments the socket takes when disabling it.
 % \end{documentation}
@@ -309,7 +322,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-user} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-user} {2024-10-27} {0.99g}
   {tagpdf - user commands}
 %</header>
 %    \end{macrocode}
@@ -408,21 +421,29 @@
 % \section{Socket support}
 % Until we can be sure that the kernel defines the commands we provide them before
 % redefining them:
+% The expandable version will only work correctly after the 2024-11-01 release.
 %    \begin{macrocode}
 %<*base>
 \providecommand\tag_socket_use:n[1]{}
 \providecommand\tag_socket_use:nn[2]{}
+\providecommand\tag_socket_use:nnn[3]{}
+\providecommand\tag_socket_use_expandable:n[1]{}
+\providecommand\socket_use_expandable:nw [1] {
+  \use:c { __socket_#1_plug_ \str_use:c { l__socket_#1_plug_str } :w }
+}
 \providecommand\UseTaggingSocket[1]{}
+\providecommand\UseExpandableTaggingSocket[1]{}
 %</base>
 %    \end{macrocode}
 %
-% \begin{macro}{\tag_socket_use:n,\tag_socket_use:nn,\UseTaggingSocket}
+% \begin{macro}{\tag_socket_use:n,\tag_socket_use:nn,\tag_socket_use:nnn,\UseTaggingSocket,
+% \tag_socket_use_expandable:n,\UseExpandableTaggingSocket}
 %    \begin{macrocode}
 %<*package>
-\cs_set_protected:Npn \tag_socket_use:n #1 
+\cs_set_protected:Npn \tag_socket_use:n #1
   {
     \bool_if:NT \l_@@_active_socket_bool
-      { \UseSocket {tagsupport/#1} }
+      { \socket_use:n {tagsupport/#1} }
   }
 %    \end{macrocode}
 %
@@ -430,15 +451,29 @@
 \cs_set_protected:Npn \tag_socket_use:nn #1#2 
   {
     \bool_if:NT \l_@@_active_socket_bool
-       { \UseSocket {tagsupport/#1} {#2} }
+       { \socket_use:nn {tagsupport/#1} {#2} }
   }
 %    \end{macrocode}
 %
 %    \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} }
+  }
+%    \end{macrocode}
+%    \begin{macrocode}
+\cs_set:Npn \tag_socket_use_expandable:n #1 
+  {
+    \bool_if:NT \l_@@_active_socket_bool
+      { \socket_use_expandable:n {tagsupport/#1} }
+  }
+%    \end{macrocode}
+%    \begin{macrocode}
 \cs_set_protected:Npn \UseTaggingSocket #1 
   {
     \bool_if:NTF \l_@@_active_socket_bool
-      { \UseSocket{tagsupport/#1} }
+      { \socket_use:nw {tagsupport/#1} }
       {
         \int_case:nnF
             { \int_use:c { c__socket_tagsupport/#1_args_int } }
@@ -445,7 +480,7 @@
             {
               0 \prg_do_nothing:
               1 \use_none:n
-              2 \use_none:nn
+              2 \use_ii:nn
 %    \end{macrocode}
 %    We do not expect tagging sockets with more than one or two
 %    arguments, so for now we only provide those.
@@ -454,6 +489,28 @@
             \ERRORusetaggingsocket
       }
   }
+%    \end{macrocode}
+
+%    \begin{macrocode}
+\cs_set:Npn \UseExpandableTaggingSocket #1 
+  {
+    \bool_if:NTF \l_@@_active_socket_bool
+      { \socket_use_expandable:nw {tagsupport/#1} }
+      {
+        \int_case:nnF
+            { \int_use:c { c__socket_tagsupport/#1_args_int } }
+            {
+              0 \prg_do_nothing:
+              1 \use_none:n
+              2 \use_ii:nn
+%    \end{macrocode}
+%    We do not expect tagging sockets with more than one or two
+%    arguments, so for now we only provide those.
+%    \begin{macrocode}
+            }
+            \ERRORusetaggingsocket
+      }
+  }
 %</package>  
 %    \end{macrocode}
 % \end{macro}
@@ -976,83 +1033,88 @@
 % at some time) and a more sophisticated one that must
 % be used if the block code is used.
 % It is possible that we will need more variants, so
-% we setup a socket so that the code can be easily switched.  
+% we setup a socket so that the code can be easily switched.
+% This code should move into lttagging, so we add a test for
+% the transition.  
 %    \begin{macrocode}
-\socket_new:nn      {tagsupport/para/begin}{0}
-\socket_new:nn      {tagsupport/para/end}{0}
+\str_if_exist:cF { l__socket_tagsupport/para/begin_plug_str }
+ {
+    \socket_new:nn      {tagsupport/para/begin}{0}
+    \socket_new:nn      {tagsupport/para/end}{0}
 
-\socket_new_plug:nnn{tagsupport/para/begin}{plain}
- {
-   \bool_if:NT \l_@@_para_bool
+    \socket_new_plug:nnn{tagsupport/para/begin}{plain}
      {
-       \bool_if:NF \l_@@_para_flattened_bool
-          {
-            \@@_gincr_para_main_begin_int:
-            \tag_struct_begin:n
+       \bool_if:NT \l_@@_para_bool
+         {
+           \bool_if:NF \l_@@_para_flattened_bool
               {
-                tag=\l_@@_para_main_tag_tl,
+                \@@_gincr_para_main_begin_int:
+                \tag_struct_begin:n
+                  {
+                    tag=\l_@@_para_main_tag_tl,
+                  }
+                \@@_para_main_store_struct:   
               }
-            \@@_para_main_store_struct:   
-          }
-        \@@_gincr_para_begin_int:
-        \tag_struct_begin:n {tag=\l_@@_para_tag_tl}
-        \@@_check_para_begin_show:nn {green}{}
-        \tag_mc_begin:n {}
-     }   
- }
-\socket_new_plug:nnn{tagsupport/para/begin}{block}
- {
-   \bool_if:NT \l_@@_para_bool
+            \@@_gincr_para_begin_int:
+            \tag_struct_begin:n {tag=\l_@@_para_tag_tl}
+            \@@_check_para_begin_show:nn {green}{}
+            \tag_mc_begin:n {}
+         }   
+     }
+    \socket_new_plug:nnn{tagsupport/para/begin}{block}
      {
-       \legacy_if:nF { @inlabel }
+       \bool_if:NT \l_@@_para_bool
          {
-           \@@_check_typeout_v:n
-             {==>~ @endpe = \legacy_if:nTF { @endpe }{true}{false} \on at line }
-           \legacy_if:nF { @endpe }
-            {
-              \bool_if:NF \l_@@_para_flattened_bool
-                 {
-                   \@@_gincr_para_main_begin_int:
-                   \tag_struct_begin:n
-                    {
-                     tag=\l_@@_para_main_tag_tl,
-                     attribute-class=\l_@@_para_main_attr_class_tl,
-                    }
-                   \@@_para_main_store_struct: 
+           \legacy_if:nF { @inlabel }
+             {
+               \@@_check_typeout_v:n
+                 {==>~ @endpe = \legacy_if:nTF { @endpe }{true}{false} \on at line }
+               \legacy_if:nF { @endpe }
+                {
+                  \bool_if:NF \l_@@_para_flattened_bool
+                     {
+                       \@@_gincr_para_main_begin_int:
+                       \tag_struct_begin:n
+                        {
+                         tag=\l_@@_para_main_tag_tl,
+                         attribute-class=\l_@@_para_main_attr_class_tl,
+                        }
+                       \@@_para_main_store_struct: 
+                     }
                  }
-             }
-            \@@_gincr_para_begin_int:
-            \@@_check_typeout_v:n {==>~increment~ P \on at line }
-            \tag_struct_begin:n
-              {
-                tag=\l_@@_para_tag_tl
-                ,attribute-class=\l_@@_para_attr_class_tl
-              }
-            \@@_check_para_begin_show:nn {green}{\PARALABEL}    
-            \tag_mc_begin:n {}
-      }
-    }  
- }
+                \@@_gincr_para_begin_int:
+                \@@_check_typeout_v:n {==>~increment~ P \on at line }
+                \tag_struct_begin:n
+                  {
+                    tag=\l_@@_para_tag_tl
+                    ,attribute-class=\l_@@_para_attr_class_tl
+                  }
+                \@@_check_para_begin_show:nn {green}{\PARALABEL}    
+                \tag_mc_begin:n {}
+          }
+        }  
+     }
 %    \end{macrocode}
 % there was no real difference between the original and
 % in the block variant, only a debug message. We therefore
 % define only a plain variant.
 %    \begin{macrocode}
-\socket_new_plug:nnn{tagsupport/para/end}{plain}
-  {
-    \bool_if:NT \l_@@_para_bool
+    \socket_new_plug:nnn{tagsupport/para/end}{plain}
       {
-        \@@_gincr_para_end_int:
-        \@@_check_typeout_v:n {==>~increment~ /P \on at line }
-        \tag_mc_end:
-        \@@_check_para_end_show:nn {red}{}
-        \tag_struct_end:
-        \bool_if:NF \l_@@_para_flattened_bool
-         {
-           \@@_gincr_para_main_end_int:
-           \tag_struct_end:
-         }
-      }  
+        \bool_if:NT \l_@@_para_bool
+          {
+            \@@_gincr_para_end_int:
+            \@@_check_typeout_v:n {==>~increment~ /P \on at line }
+            \tag_mc_end:
+            \@@_check_para_end_show:nn {red}{}
+            \tag_struct_end:
+            \bool_if:NF \l_@@_para_flattened_bool
+             {
+               \@@_gincr_para_main_end_int:
+               \tag_struct_end:
+             }
+          }  
+      }
   }
 %    \end{macrocode}
 % By default we assign the plain plug:

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx	2024-10-28 20:25:26 UTC (rev 72690)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99f, released 2024-09-16}
+% \date{Version 0.99g, released 2024-10-27}
 % \maketitle% 
 % 
 % \begin{documentation}
@@ -87,16 +87,37 @@
 % \end{setupkeydecl}
 %
 % \begin{setupkeydecl}{activate/mc,
+%    activate-mc (deprecated),
+%    }
+% A key to to activate the marked content code. It should be used
+% only in special cases, e.g. for debugging.
+% \end{setupkeydecl}
+% 
+% \begin{setupkeydecl}{
 %    activate/tree,
+%    activate-tree (deprecated),
+%    }
+% This key activates the code that finalize the 
+% various trees. It should be used
+% only in special cases, e.g. for debugging.
+% \end{setupkeydecl}
+% \begin{setupkeydecl}{
 %    activate/struct,
+%    activate-struct (deprecated),
+%    }
+% This key activates the code for structures.
+% It should be used
+% only in special cases, e.g. for debugging.
+% \end{setupkeydecl}
+%
+% \begin{setupkeydecl}{
 %    activate/all,
-%    activate-mc (deprecated),
-%    activate-tree (deprecated),
-%    activate-struct (deprecated),
 %    activate-all (deprecated),
 %    }
-% Keys to activate the various tagging steps. 
+% This is a meta key for the three previous keys
+% and is normally what should be used to activate tagging.
 % \end{setupkeydecl}
+% 
 %\begin{setupkeydecl}{activate/struct-dest,no-struct-dest (deprecated)}
 % The key allows to suppress the creation of structure destinations
 % \end{setupkeydecl}
@@ -132,7 +153,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*package>
-\ProvidesExplPackage {tagpdf} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf} {2024-10-27} {0.99g}
   { LaTeX kernel code for PDF tagging }
 
 \bool_if:nF
@@ -158,7 +179,7 @@
 %    \end{macrocode}
 %<*debug>
 %    \begin{macrocode}
-\ProvidesExplPackage {tagpdf-debug} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-debug} {2024-10-27} {0.99g}
   { debug code for tagpdf }
 \@ifpackageloaded{tagpdf}{}{\PackageWarning{tagpdf-debug}{tagpdf~not~loaded,~quitting}\endinput}
 %    \end{macrocode}
@@ -181,7 +202,7 @@
 % we define a base package with dummy functions
 %    \begin{macrocode}
 %<*base>
-\ProvidesExplPackage {tagpdf-base} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-base} {2024-10-27} {0.99g}
   {part of tagpdf - provide base, no-op versions of the user commands }
 %</base>
 %    \end{macrocode} 

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty	2024-10-28 20:25:26 UTC (rev 72690)
@@ -25,7 +25,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-base} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-base} {2024-10-27} {0.99g}
   {part of tagpdf - provide base, no-op versions of the user commands }
 \cs_new_protected:Npn \__tag_whatsits: {}
 \AddToHook{begindocument}
@@ -108,7 +108,6 @@
 
 
 
-
 \NewDocumentCommand \tagpdfsetup { m }{}
 \cs_new_protected:Npn\tag_tool:n #1 {}
 \cs_set_eq:NN\tagtool\tag_tool:n
@@ -144,7 +143,13 @@
   }
 \providecommand\tag_socket_use:n[1]{}
 \providecommand\tag_socket_use:nn[2]{}
+\providecommand\tag_socket_use:nnn[3]{}
+\providecommand\tag_socket_use_expandable:n[1]{}
+\providecommand\socket_use_expandable:nw [1] {
+  \use:c { __socket_#1_plug_ \str_use:c { l__socket_#1_plug_str } :w }
+}
 \providecommand\UseTaggingSocket[1]{}
+\providecommand\UseExpandableTaggingSocket[1]{}
 \bool_new:N \l__tag_para_flattened_bool
 \bool_new:N \l__tag_para_bool
 \newcommand\tagpdfparaOn {}

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-generic.dtx
-\ProvidesExplPackage {tagpdf-debug-generic} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-debug-generic} {2024-10-27} {0.99g}
  {part of tagpdf - debugging code related to marking chunks - generic mode}
 \cs_set_protected:Npn \tag_mc_begin:n #1 %#1 keyval
   {

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-lua.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-lua.sty	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-lua.sty	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-luacode.dtx
-\ProvidesExplPackage {tagpdf-debug-lua} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-debug-lua} {2024-10-27} {0.99g}
  {part of tagpdf - debugging code related to marking chunks - lua mode}
 \cs_set_protected:Npn \__tag_mc_handle_stash:n #1 %1 mcidnum
   {

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug.sty	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug.sty	2024-10-28 20:25:26 UTC (rev 72690)
@@ -26,7 +26,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-debug} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-debug} {2024-10-27} {0.99g}
   { debug code for tagpdf }
 \@ifpackageloaded{tagpdf}{}{\PackageWarning{tagpdf-debug}{tagpdf~not~loaded,~quitting}\endinput}
 \prop_gput:Nnn \g_msg_module_type_prop { tag / debug} {}
@@ -219,7 +219,6 @@
 
 
 
-
 \keys_define:nn { __tag / show }
   {
     ,debug/structures .code:n =

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-backend.dtx
-\ProvidesExplFile {tagpdf-luatex.def} {2024-09-16} {0.99f}
+\ProvidesExplFile {tagpdf-luatex.def} {2024-10-27} {0.99g}
   {tagpdf~driver~for~luatex}
 {
   \fontencoding{TU}\fontfamily{lmr}\fontseries{m}\fontshape{n}\fontsize{10pt}{10pt}\selectfont

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-generic.dtx
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-10-27} {0.99g}
  {part of tagpdf - code related to marking chunks - generic mode}
 \tl_new:N \l__tag_mc_ref_abspage_tl
 

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-luacode.dtx
-\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-10-27} {0.99g}
   {tagpdf - mc code only for the luamode }
 \hook_gput_code:nnn{begindocument}{tagpdf/mc}
   {

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-book.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-book.def	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-book.def	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-10-27} {0.99g}
 %% {latex-book} {https://www.latex-project.org/ns/book/2022}{}
 chapter,       H1,pdf2,
 section,       H2,pdf2,

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-10-27} {0.99g}
 %% {latex} {https://www.latex-project.org/ns/dflt/2022}{}
 title,        Title,    pdf2,
 part,         Title,    pdf2,

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-mathml.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-mathml.def	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-mathml.def	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-10-27} {0.99g}
 abs,abs,mathml,
 and,and,mathml,
 annotation,annotation,mathml,

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf.def	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf.def	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-10-27} {0.99g}
 %%  {pdf}   {http://iso.org/pdf/ssn}{}
 StructTreeRoot,StructTreeRoot,pdf,D,
 Document,Document,pdf,D,

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf2.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf2.def	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf2.def	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-10-27} {0.99g}
 %%  {pdf2}  {http://iso.org/pdf2/ssn}{}
 StructTreeRoot,StructTreeRoot,pdf2,D,
 Document,Document,pdf2,D,

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child-2.csv
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child-2.csv	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child-2.csv	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-10-27} {0.99g}
 ,,,StructTreeRoot,Document,DocumentFragment,Art,Part,Div,Sect,Aside,BlockQuote,NonStruct,TOC,TOCI,Index,Private,Title,Sub,Quote,Note,Reference,BibEntry,P,Hn,H,Lbl,Code,Em,Strong,Span,Link,Annot,Form,Ruby,RB,RT,RP,Warichu,WT,WP,FENote,L,LI,LBody,Table,TR,TH,TD,THead,TBody,TFoot,Caption,Figure,Formula,math,mathml,Artifact,MC
 Document,both,document level,1,0..n,0..n,∅,‡,‡,∅,0..n,0..n,‡,∅,∅,∅,0..n,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,0..n,∅
 DocumentFragment,2.0,document level,∅,0..n,0..n,0..n,‡,‡,0..n,0..n,0..n,‡,∅,∅,∅,0..n,∅,∅,∅,∅*,∅,∅,∅,∅,∅,∅,∅*,∅,∅,∅,∅*,∅*,∅,∅,∅,∅,∅,∅,∅,∅,∅*,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅*,∅,∅,∅,∅,0..n,∅

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child.csv
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child.csv	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child.csv	2024-10-28 20:25:26 UTC (rev 72690)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-09-16} {0.99f}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-10-27} {0.99g}
 ,,,StructTreeRoot,Document,Art,Part,Div,Sect,BlockQuote,NonStruct,TOC,TOCI,Index,Private,Quote,Note,Reference,BibEntry,P,Hn,H,Lbl,Code,Span,Link,Annot,Form,Ruby,RB,RT,RP,Warichu,WT,WP,L,LI,LBody,Table,TR,TH,TD,THead,TBody,TFoot,Caption,Figure,Formula,MC
 Document,both,document level,1,0..n,∅,‡,‡,∅,0..n,‡,∅,∅,∅,0..n,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅
 Art,1.7,grouping,∅,0..n,∅,‡,‡,0..n,0..n,‡,∅,∅,∅,0..n,∅,0..n,∅,∅,∅,0..1,0..1,∅,∅,∅,0..n,0..n,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,0..n,∅,∅,0..n,0..n,∅,∅,∅,0..n,0..n,∅,∅

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua	2024-10-28 20:25:26 UTC (rev 72690)
@@ -24,8 +24,8 @@
 
 local ProvidesLuaModule = {
     name          = "tagpdf",
-    version       = "0.99f",       --TAGVERSION
-    date          = "2024-09-16", --TAGDATE
+    version       = "0.99g",       --TAGVERSION
+    date          = "2024-10-27", --TAGDATE
     description   = "tagpdf lua code",
     license       = "The LATEX Project Public License 1.3c"
 }

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty	2024-10-28 20:25:26 UTC (rev 72690)
@@ -28,7 +28,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdf} {2024-10-27} {0.99g}
   { LaTeX kernel code for PDF tagging }
 
 \bool_if:nF
@@ -448,7 +448,7 @@
         \msg_error:nnn { tag } {role-missing} {#1}
       }
       {
-        \prop_get:NnNTF \g__tag_role_tags_NS_prop {#2} \l_tmpa_tl
+        \prop_get:NnNTF \g__tag_role_tags_NS_prop {#2} \l__tag_tmpa_tl
           {
             \int_compare:nNnT {\l__tag_loglevel_int} > { 0 }
               {
@@ -467,7 +467,7 @@
         \msg_error:nnn { tag } {role-missing} {#1}
       }
       {
-        \prop_get:cnNTF { g__tag_role_NS_#3_prop } {#2} \l_tmpa_tl
+        \prop_get:cnNTF { g__tag_role_NS_#3_prop } {#2} \l__tag_tmpa_tl
           {
             \int_compare:nNnT {\l__tag_loglevel_int} > { 0 }
               {
@@ -555,7 +555,7 @@
         \l__tag_tmpa_tl
       }
       {
-        \seq_clear:N \l_tmpa_seq
+        \seq_clear:N \l__tag_tmpa_seq
         \int_step_inline:nnnn
           {1}
           {1}
@@ -575,7 +575,7 @@
                 ##1
              }
              {
-               \seq_gput_right:Ne \l_tmpa_seq
+               \seq_gput_right:Ne \l__tag_tmpa_seq
                  {
                    Page##1-####1-
                    \property_ref:enn
@@ -585,7 +585,7 @@
                  }
              }
           }
-          \seq_show:N \l_tmpa_seq
+          \seq_show:N \l__tag_tmpa_seq
       }
   }
 \prg_new_conditional:Npnn \__tag_check_if_mc_in_galley: { T,F,TF }
@@ -1878,12 +1878,12 @@
            tag-namespace=user,
            role-namespace=, %so that we can test for it.
           #1
-         }{__tag/tag-role}\l_tmpa_tl
-       \tl_if_empty:NF \l_tmpa_tl
+         }{__tag/tag-role}\l__tag_tmpa_tl
+       \tl_if_empty:NF \l__tag_tmpa_tl
          {
-           \exp_args:NNno \seq_set_split:Nnn \l_tmpa_seq { / } {\l_tmpa_tl/}
-           \tl_set:Ne \l__tag_role_tag_tmpa_tl  { \seq_item:Nn \l_tmpa_seq {1} }
-           \tl_set:Ne \l__tag_role_role_tmpa_tl { \seq_item:Nn \l_tmpa_seq {2} }
+           \exp_args:NNno \seq_set_split:Nnn \l__tag_tmpa_seq { / } {\l__tag_tmpa_tl/}
+           \tl_set:Ne \l__tag_role_tag_tmpa_tl  { \seq_item:Nn \l__tag_tmpa_seq {1} }
+           \tl_set:Ne \l__tag_role_role_tmpa_tl { \seq_item:Nn \l__tag_tmpa_seq {2} }
          }
       \tl_if_empty:NT \l__tag_role_role_namespace_tmpa_tl
          {
@@ -3256,7 +3256,6 @@
 
 
 
-
 \RenewDocumentCommand \tagpdfsetup { m }
   {
     \keys_set:nn { __tag / setup } { #1 }
@@ -3275,17 +3274,27 @@
 \cs_set_protected:Npn \tag_socket_use:n #1
   {
     \bool_if:NT \l__tag_active_socket_bool
-      { \UseSocket {tagsupport/#1} }
+      { \socket_use:n {tagsupport/#1} }
   }
 \cs_set_protected:Npn \tag_socket_use:nn #1#2
   {
     \bool_if:NT \l__tag_active_socket_bool
-       { \UseSocket {tagsupport/#1} {#2} }
+       { \socket_use:nn {tagsupport/#1} {#2} }
   }
+\cs_set_protected:Npn \tag_socket_use:nnn #1#2#3
+  {
+    \bool_if:NT \l__tag_active_socket_bool
+       { \socket_use:nnn {tagsupport/#1} {#2} {#3} }
+  }
+\cs_set:Npn \tag_socket_use_expandable:n #1
+  {
+    \bool_if:NT \l__tag_active_socket_bool
+      { \socket_use_expandable:n {tagsupport/#1} }
+  }
 \cs_set_protected:Npn \UseTaggingSocket #1
   {
     \bool_if:NTF \l__tag_active_socket_bool
-      { \UseSocket{tagsupport/#1} }
+      { \socket_use:nw {tagsupport/#1} }
       {
         \int_case:nnF
             { \int_use:c { c__socket_tagsupport/#1_args_int } }
@@ -3292,11 +3301,27 @@
             {
               0 \prg_do_nothing:
               1 \use_none:n
-              2 \use_none:nn
+              2 \use_ii:nn
             }
             \ERRORusetaggingsocket
       }
   }
+
+\cs_set:Npn \UseExpandableTaggingSocket #1
+  {
+    \bool_if:NTF \l__tag_active_socket_bool
+      { \socket_use_expandable:nw {tagsupport/#1} }
+      {
+        \int_case:nnF
+            { \int_use:c { c__socket_tagsupport/#1_args_int } }
+            {
+              0 \prg_do_nothing:
+              1 \use_none:n
+              2 \use_ii:nn
+            }
+            \ERRORusetaggingsocket
+      }
+  }
 \NewDocumentCommand\ShowTagging { m }
   {
     \keys_set:nn { __tag / show }{ #1}
@@ -3606,76 +3631,79 @@
         \tag_mc_end:
       }
   }
-\socket_new:nn      {tagsupport/para/begin}{0}
-\socket_new:nn      {tagsupport/para/end}{0}
+\str_if_exist:cF { l__socket_tagsupport/para/begin_plug_str }
+ {
+    \socket_new:nn      {tagsupport/para/begin}{0}
+    \socket_new:nn      {tagsupport/para/end}{0}
 
-\socket_new_plug:nnn{tagsupport/para/begin}{plain}
- {
-   \bool_if:NT \l__tag_para_bool
+    \socket_new_plug:nnn{tagsupport/para/begin}{plain}
      {
-       \bool_if:NF \l__tag_para_flattened_bool
-          {
-            \__tag_gincr_para_main_begin_int:
-            \tag_struct_begin:n
+       \bool_if:NT \l__tag_para_bool
+         {
+           \bool_if:NF \l__tag_para_flattened_bool
               {
-                tag=\l__tag_para_main_tag_tl,
+                \__tag_gincr_para_main_begin_int:
+                \tag_struct_begin:n
+                  {
+                    tag=\l__tag_para_main_tag_tl,
+                  }
+                \__tag_para_main_store_struct:
               }
-            \__tag_para_main_store_struct:
-          }
-        \__tag_gincr_para_begin_int:
-        \tag_struct_begin:n {tag=\l__tag_para_tag_tl}
-        \__tag_check_para_begin_show:nn {green}{}
-        \tag_mc_begin:n {}
+            \__tag_gincr_para_begin_int:
+            \tag_struct_begin:n {tag=\l__tag_para_tag_tl}
+            \__tag_check_para_begin_show:nn {green}{}
+            \tag_mc_begin:n {}
+         }
      }
- }
-\socket_new_plug:nnn{tagsupport/para/begin}{block}
- {
-   \bool_if:NT \l__tag_para_bool
+    \socket_new_plug:nnn{tagsupport/para/begin}{block}
      {
-       \legacy_if:nF { @inlabel }
+       \bool_if:NT \l__tag_para_bool
          {
-           \__tag_check_typeout_v:n
-             {==>~ @endpe = \legacy_if:nTF { @endpe }{true}{false} \on at line }
-           \legacy_if:nF { @endpe }
-            {
-              \bool_if:NF \l__tag_para_flattened_bool
-                 {
-                   \__tag_gincr_para_main_begin_int:
-                   \tag_struct_begin:n
-                    {
-                     tag=\l__tag_para_main_tag_tl,
-                     attribute-class=\l__tag_para_main_attr_class_tl,
-                    }
-                   \__tag_para_main_store_struct:
+           \legacy_if:nF { @inlabel }
+             {
+               \__tag_check_typeout_v:n
+                 {==>~ @endpe = \legacy_if:nTF { @endpe }{true}{false} \on at line }
+               \legacy_if:nF { @endpe }
+                {
+                  \bool_if:NF \l__tag_para_flattened_bool
+                     {
+                       \__tag_gincr_para_main_begin_int:
+                       \tag_struct_begin:n
+                        {
+                         tag=\l__tag_para_main_tag_tl,
+                         attribute-class=\l__tag_para_main_attr_class_tl,
+                        }
+                       \__tag_para_main_store_struct:
+                     }
                  }
+                \__tag_gincr_para_begin_int:
+                \__tag_check_typeout_v:n {==>~increment~ P \on at line }
+                \tag_struct_begin:n
+                  {
+                    tag=\l__tag_para_tag_tl
+                    ,attribute-class=\l__tag_para_attr_class_tl
+                  }
+                \__tag_check_para_begin_show:nn {green}{\PARALABEL}
+                \tag_mc_begin:n {}
+          }
+        }
+     }
+    \socket_new_plug:nnn{tagsupport/para/end}{plain}
+      {
+        \bool_if:NT \l__tag_para_bool
+          {
+            \__tag_gincr_para_end_int:
+            \__tag_check_typeout_v:n {==>~increment~ /P \on at line }
+            \tag_mc_end:
+            \__tag_check_para_end_show:nn {red}{}
+            \tag_struct_end:
+            \bool_if:NF \l__tag_para_flattened_bool
+             {
+               \__tag_gincr_para_main_end_int:
+               \tag_struct_end:
              }
-            \__tag_gincr_para_begin_int:
-            \__tag_check_typeout_v:n {==>~increment~ P \on at line }
-            \tag_struct_begin:n
-              {
-                tag=\l__tag_para_tag_tl
-                ,attribute-class=\l__tag_para_attr_class_tl
-              }
-            \__tag_check_para_begin_show:nn {green}{\PARALABEL}
-            \tag_mc_begin:n {}
+          }
       }
-    }
- }
-\socket_new_plug:nnn{tagsupport/para/end}{plain}
-  {
-    \bool_if:NT \l__tag_para_bool
-      {
-        \__tag_gincr_para_end_int:
-        \__tag_check_typeout_v:n {==>~increment~ /P \on at line }
-        \tag_mc_end:
-        \__tag_check_para_end_show:nn {red}{}
-        \tag_struct_end:
-        \bool_if:NF \l__tag_para_flattened_bool
-         {
-           \__tag_gincr_para_main_end_int:
-           \tag_struct_end:
-         }
-      }
   }
 \socket_assign_plug:nn { tagsupport/para/begin}{plain}
 \socket_assign_plug:nn { tagsupport/para/end}{plain}

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty	2024-10-28 02:16:33 UTC (rev 72689)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty	2024-10-28 20:25:26 UTC (rev 72690)
@@ -1,5 +1,5 @@
 %\RequirePackage[enable-debug]{expl3}[2018/06/14]
-\ProvidesExplPackage {tagpdfdocu-patches} {2024-09-16} {0.99f}
+\ProvidesExplPackage {tagpdfdocu-patches} {2024-10-27} {0.99g}
  {patches/commands for the tagpdf documentation}
 \RequirePackage{etoolbox,xpatch}
 



More information about the tex-live-commits mailing list.