texlive[69703] Master/texmf-dist: tagpdf (4feb24)

commits+karl at tug.org commits+karl at tug.org
Sun Feb 4 22:12:36 CET 2024


Revision: 69703
          https://tug.org/svn/texlive?view=revision&revision=69703
Author:   karl
Date:     2024-02-04 22:12:36 +0100 (Sun, 04 Feb 2024)
Log Message:
-----------
tagpdf (4feb24)

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-inline.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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/README.md	2024-02-04 21:12:36 UTC (rev 69703)
@@ -1,6 +1,6 @@
 #tagpdf — A package to create tagged pdf
-Packageversion: 0.98u 
-Packagedate: 2024/02/02
+Packageversion: 0.98v 
+Packagedate: 2024/02/04
 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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex	2024-02-04 21:12:36 UTC (rev 69703)
@@ -16,8 +16,8 @@
  }
 \DebugBlocksOff
 \makeatletter
-\def\UlrikeFischer at package@version{0.98u}
-\def\UlrikeFischer at package@date{2024-02-02}
+\def\UlrikeFischer at package@version{0.98v}
+\def\UlrikeFischer at package@date{2024-02-04}
 \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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -47,13 +47,13 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{implementation}
 %    \begin{macrocode}
 %<@@=tag>
 %<*luatex>
-\ProvidesExplFile {tagpdf-luatex.def} {2024-02-02} {0.98u}
+\ProvidesExplFile {tagpdf-luatex.def} {2024-02-04} {0.98v}
   {tagpdf~driver~for~luatex}
 %    \end{macrocode}
 % \section{Loading the lua}
@@ -158,8 +158,8 @@
 
 local ProvidesLuaModule = {
     name          = "tagpdf",
-    version       = "0.98u",       --TAGVERSION
-    date          = "2024-02-02", --TAGDATE
+    version       = "0.98v",       --TAGVERSION
+    date          = "2024-02-04", --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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -48,7 +48,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{documentation}
 % \section{Commands}
@@ -327,7 +327,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-checks-code} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-checks-code} {2024-02-04} {0.98v}
  {part of tagpdf - code related to checks, conditionals, debugging and messages}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx	2024-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{documentation}
 % This files contains a various data files which are read in
@@ -60,7 +60,7 @@
 % It lists the new tag, the rolemap and the namespace of the rolemap.
 %    \begin{macrocode}
 %<*ns-latex>
-%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-02-04} {0.98v}
 %% {latex} {https://www.latex-project.org/ns/dflt/2022}{}
 title,        Title,    pdf2,
 part,         Title,    pdf2,
@@ -92,7 +92,7 @@
 % It is bound to change
 %    \begin{macrocode}
 %<*ns-latex-book>
-%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-02-04} {0.98v}
 %% {latex-book} {https://www.latex-project.org/ns/book/2022}{}
 chapter,       H1,pdf2,
 section,       H2,pdf2,
@@ -102,27 +102,11 @@
 subparagraph,  H6,pdf2,
 %</ns-latex-book>
 %    \end{macrocode}
-% \section{The LaTeX-inline namespace}
-% This degrades the rolemapping of some tags. It is an experimental name space.
-% It can disappear again if it doesn't look useful. It is currently no longer
-% loaded. 
-%    \begin{macrocode}
-%<*ns-latex-inline>
-%% \ProvidesExplFile {tagpdf-ns-latex-inline.def} {2024-02-02} {0.98u}
-%% {latex-inline} {https://www.latex-project.org/ns/inline/2022}{}
-chapter,       Span, pdf2,    
-section,       Span, pdf2,
-subsection,    Span, pdf2,
-subsubsection, Span, pdf2,
-paragraph,     Span, pdf2,
-subparagraph,  Span, pdf2,
-P,             Span, pdf2,
-%</ns-latex-inline>
-%    \end{macrocode}
+%
 % \section{The pdf namespace data}
 %    \begin{macrocode}
 %<*ns-pdf>
-%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-02-04} {0.98v}
 %%  {pdf}   {http://iso.org/pdf/ssn}{}
 StructTreeRoot,StructTreeRoot,pdf,D,
 Document,Document,pdf,D,   
@@ -190,7 +174,7 @@
 % \section{The pdf 2.0 namespace data}
 %    \begin{macrocode}
 %<*ns-pdf2>
-%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-02-02} {0.98u} 
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-02-04} {0.98v} 
 %%  {pdf2}  {http://iso.org/pdf2/ssn}{}
 StructTreeRoot,StructTreeRoot,pdf2,D,
 Document,Document,pdf2,D,   
@@ -247,7 +231,7 @@
 % \section{The mathml namespace data}
 %    \begin{macrocode}
 %<*ns-mathml>
-%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-02-04} {0.98v}
 % {mathml}{http://www.w3.org/1998/Math/MathML}{}
 abs,abs,mathml,
 and,and,mathml,
@@ -482,7 +466,7 @@
 % This will perhaps change in future.
 %    \begin{macrocode}
 %<*parent-child>
-%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-02-04} {0.98v}
 ,,,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,∅,∅
@@ -537,7 +521,7 @@
 % This will perhaps change in future.
 %    \begin{macrocode}
 %<*parent-child-2>
-%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-02-04} {0.98v}
 ,,,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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{documentation}
 % \end{documentation}
@@ -55,11 +55,11 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*generic>
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-02-04} {0.98v}
  {part of tagpdf - code related to marking chunks - generic mode}
 %</generic>
 %<*debug>
-\ProvidesExplPackage {tagpdf-debug-generic} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-debug-generic} {2024-02-04} {0.98v}
  {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{implementation}
 % The code is splitted into three parts: code shared by all engines,
@@ -86,11 +86,11 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*luamode>
-\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-02-04} {0.98v}
   {tagpdf - mc code only for the luamode }
 %</luamode>
 %<*debug>
-\ProvidesExplPackage {tagpdf-debug-lua} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-debug-lua} {2024-02-04} {0.98v}
  {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{documentation}
 % \section{Public Commands}
@@ -181,7 +181,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-02-04} {0.98v}
   {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{documentation}
 % \begin{function}
@@ -98,7 +98,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-roles-code} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-roles-code} {2024-02-04} {0.98v}
  {part of tagpdf - code related to roles and structure names}
 %</header>
 %    \end{macrocode}
@@ -211,7 +211,6 @@
 % \item[user]   \cs{c_@@_role_userNS_id_str} (random id, for user tags)
 % \item[latex]  https://www.latex-project.org/ns/dflt/2022
 % \item[latex-book] https://www.latex-project.org/ns/book/2022
-% \item[latex-inline]     https://www.latex-project.org/ns/inline/2022
 % \end{description}
 % More namespaces are possible and
 % their objects references and their rolemaps must be collected
@@ -363,7 +362,6 @@
 \@@_role_NS_new:nnn {mathml}{http://www.w3.org/1998/Math/MathML}{}
 \@@_role_NS_new:nnn {latex} {https://www.latex-project.org/ns/dflt/2022}{}
 \@@_role_NS_new:nnn {latex-book} {https://www.latex-project.org/ns/book/2022}{}
-\@@_role_NS_new:nnn {latex-inline} {https://www.latex-project.org/ns/inline/2022}{}
 \exp_args:Nne
   \@@_role_NS_new:nnn {user}{\c_@@_role_userNS_id_str}{}
 %    \end{macrocode}
@@ -547,20 +545,23 @@
 % We also store into the pdf 1.7 rolemapping so that we can
 % add that as fallback for pdf 1.7 processor
 %    \begin{macrocode}
-     \tl_if_empty:nF { #3 }
-      {
-        \tl_if_eq:nnF{#1}{#3}
-         {
-          \prop_get:NnN \g_@@_role_rolemap_prop {#3}\l_@@_tmpa_tl
-           \quark_if_no_value:NTF \l_@@_tmpa_tl
-            {          
-              \prop_gput:Nne \g_@@_role_rolemap_prop {#1}{\tl_to_str:n{#3}}
-            }
-            {
-              \prop_gput:NnV \g_@@_role_rolemap_prop {#1}\l_@@_tmpa_tl
-            } 
-          }         
-       }
+     \bool_if:NT \l__tag_role_update_bool
+       { 
+         \tl_if_empty:nF { #3 }
+          {
+            \tl_if_eq:nnF{#1}{#3}
+             {
+              \prop_get:NnN \g_@@_role_rolemap_prop {#3}\l_@@_tmpa_tl
+               \quark_if_no_value:NTF \l_@@_tmpa_tl
+                {          
+                  \prop_gput:Nne \g_@@_role_rolemap_prop {#1}{\tl_to_str:n{#3}}
+                }
+                {
+                  \prop_gput:NnV \g_@@_role_rolemap_prop {#1}\l_@@_tmpa_tl
+                } 
+              }         
+           }
+       }  
    }
 \cs_generate_variant:Nn \@@_role_add_tag:nnnn {VVVV}
 %    \end{macrocode}
@@ -721,7 +722,6 @@
 % the settings for later use:
 %    \begin{macrocode}
 \bool_set_false:N\l_@@_role_update_bool
-\@@_role_read_namespace:n {latex-inline}
 \@@_role_read_namespace:n {latex-book}  
 \bool_set_true:N\l_@@_role_update_bool
 \@@_role_read_namespace:n {latex}
@@ -753,6 +753,8 @@
            \prop_map_inline:cn{g_@@_role_NS_latex-book_prop}
              {
                \prop_gput:Nnn \g_@@_role_tags_NS_prop    { #1 }{ latex-book }
+               \prop_gput:Nne 
+                \g_@@_role_rolemap_prop {#1}{\use_i:nn  #2\c_empty_tl\c_empty_tl}
              }
          }
       }  
@@ -1227,48 +1229,6 @@
 %    \end{macrocode}
 % \end{macro}
 % 
-% \begin{macro}{\@@_role_remap_inline:}
-% The mapping is meant to \enquote{degrade} tags, e.g. if used
-% inside some complex object. 
-% The pdf<2.0 code maps the tag to the new role, the pdf 2.0 code only
-% switch the NS.
-%    \begin{macrocode}
-\pdf_version_compare:NnTF < {2.0}
-  {
-    \cs_new_protected:Npn \@@_role_remap_inline:
-      {
-        \prop_get:cVNT { g_@@_role_NS_latex-inline_prop }\l_@@_role_remap_tag_tl\l_@@_tmpa_tl
-          {
-            \tl_set:Ne\l_@@_role_remap_tag_tl
-              {
-                \exp_last_unbraced:NV\use_i:nn \l_@@_tmpa_tl
-              }
-            \tl_set:Ne\l_@@_role_remap_NS_tl 
-              {
-                \exp_last_unbraced:NV\use_ii:nn \l_@@_tmpa_tl
-              }
-          }
-        \int_compare:nNnT {\l_@@_loglevel_int} > { 0 }
-          {
-            \msg_note:nne { tag } { role-remapping }{ \l_@@_role_remap_tag_tl }
-          }  
-      }
-  }
-  {
-    \cs_new_protected:Npn \@@_role_remap_inline:
-      {
-        \prop_get:cVNT { g_@@_role_NS_latex-inline_prop }\l_@@_role_remap_tag_tl\l_@@_tmpa_tl
-          {
-            \tl_set:Nn\l_@@_role_remap_NS_tl {latex-inline}
-          }
-        \int_compare:nNnT {\l_@@_loglevel_int} > { 0 }
-          {
-            \msg_note:nne { tag } { role-remapping }{ \l_@@_role_remap_tag_tl/latex-inline }
-          }  
-      }    
-  }    
-%    \end{macrocode}
-% \end{macro}
 %
 % \subsection{Key-val user interface}
 %  The user interface uses the key |add-new-tag|, which takes either a

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx	2024-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{documentation}
 % \begin{function}{interwordspace (setup-key)}
@@ -64,7 +64,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-space-code} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-space-code} {2024-02-04} {0.98v}
  {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{documentation}
 % \section{Public Commands}
@@ -285,7 +285,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-struct-code} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-struct-code} {2024-02-04} {0.98v}
  {part of tagpdf - code related to storing structure}
 %</header>
 %    \end{macrocode}
@@ -1905,7 +1905,7 @@
 % \section{Attributes and attribute classes}
 %    \begin{macrocode}
 %<*header>
-\ProvidesExplPackage {tagpdf-attr-code} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-attr-code} {2024-02-04} {0.98v}
   {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -47,13 +47,13 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{implementation}
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-tree-code} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-tree-code} {2024-02-04} {0.98v}
  {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.98u, released 2024-02-02}
+% \date{Version 0.98v, released 2024-02-04}
 % \maketitle
 % \begin{documentation}
 % \section{Setup commands}
@@ -303,7 +303,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-user} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-user} {2024-02-04} {0.98v}
   {tagpdf - user commands}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx	2024-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx	2024-02-04 21:12:36 UTC (rev 69703)
@@ -84,7 +84,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*package>
-\ProvidesExplPackage {tagpdf} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf} {2024-02-04} {0.98v}
   { A package to experiment with pdf tagging }
 
 \bool_if:nF
@@ -110,7 +110,7 @@
 %    \end{macrocode}
 %<*debug>
 %    \begin{macrocode}
-\ProvidesExplPackage {tagpdf-debug} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-debug} {2024-02-04} {0.98v}
   { debug code for tagpdf }
 \@ifpackageloaded{tagpdf}{}{\PackageWarning{tagpdf-debug}{tagpdf~not~loaded,~quitting}\endinput}
 %    \end{macrocode}
@@ -133,7 +133,7 @@
 % we define a base package with dummy functions
 %    \begin{macrocode}
 %<*base>
-\ProvidesExplPackage {tagpdf-base} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-base} {2024-02-04} {0.98v}
   {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty	2024-02-04 21:12:36 UTC (rev 69703)
@@ -25,7 +25,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-base} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-base} {2024-02-04} {0.98v}
   {part of tagpdf - provide base, no-op versions of the user commands }
 \AddToHook{begindocument}
  {

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty	2024-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty	2024-02-04 21:12:36 UTC (rev 69703)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-generic.dtx
-\ProvidesExplPackage {tagpdf-debug-generic} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-debug-generic} {2024-02-04} {0.98v}
  {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-lua.sty	2024-02-04 21:12:36 UTC (rev 69703)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-luacode.dtx
-\ProvidesExplPackage {tagpdf-debug-lua} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-debug-lua} {2024-02-04} {0.98v}
  {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug.sty	2024-02-04 21:12:36 UTC (rev 69703)
@@ -26,7 +26,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-debug} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-debug} {2024-02-04} {0.98v}
   { debug code for tagpdf }
 \@ifpackageloaded{tagpdf}{}{\PackageWarning{tagpdf-debug}{tagpdf~not~loaded,~quitting}\endinput}
 \prop_gput:Nnn \g_msg_module_type_prop { tag / debug} {}

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def	2024-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def	2024-02-04 21:12:36 UTC (rev 69703)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-backend.dtx
-\ProvidesExplFile {tagpdf-luatex.def} {2024-02-02} {0.98u}
+\ProvidesExplFile {tagpdf-luatex.def} {2024-02-04} {0.98v}
   {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty	2024-02-04 21:12:36 UTC (rev 69703)
@@ -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-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-02-04} {0.98v}
  {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty	2024-02-04 21:12:36 UTC (rev 69703)
@@ -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-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-02-04} {0.98v}
   {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-book.def	2024-02-04 21:12:36 UTC (rev 69703)
@@ -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-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-02-04} {0.98v}
 %% {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-inline.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-inline.def	2024-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-inline.def	2024-02-04 21:12:36 UTC (rev 69703)
@@ -19,15 +19,6 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-latex-inline.def} {2024-02-02} {0.98u}
-%% {latex-inline} {https://www.latex-project.org/ns/inline/2022}{}
-chapter,       Span, pdf2,
-section,       Span, pdf2,
-subsection,    Span, pdf2,
-subsubsection, Span, pdf2,
-paragraph,     Span, pdf2,
-subparagraph,  Span, pdf2,
-P,             Span, pdf2,
 %% 
 %%
 %% End of file `tagpdf-ns-latex-inline.def'.

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def	2024-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def	2024-02-04 21:12:36 UTC (rev 69703)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-02-04} {0.98v}
 %% {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-mathml.def	2024-02-04 21:12:36 UTC (rev 69703)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-02-04} {0.98v}
 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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf.def	2024-02-04 21:12:36 UTC (rev 69703)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-02-04} {0.98v}
 %%  {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf2.def	2024-02-04 21:12:36 UTC (rev 69703)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-02-04} {0.98v}
 %%  {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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child-2.csv	2024-02-04 21:12:36 UTC (rev 69703)
@@ -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-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-02-04} {0.98v}
 ,,,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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child.csv	2024-02-04 21:12:36 UTC (rev 69703)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-02-02} {0.98u}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-02-04} {0.98v}
 ,,,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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua	2024-02-04 21:12:36 UTC (rev 69703)
@@ -24,8 +24,8 @@
 
 local ProvidesLuaModule = {
     name          = "tagpdf",
-    version       = "0.98u",       --TAGVERSION
-    date          = "2024-02-02", --TAGDATE
+    version       = "0.98v",       --TAGVERSION
+    date          = "2024-02-04", --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-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty	2024-02-04 21:12:36 UTC (rev 69703)
@@ -28,7 +28,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdf} {2024-02-04} {0.98v}
   { A package to experiment with pdf tagging }
 
 \bool_if:nF
@@ -1138,7 +1138,6 @@
 \__tag_role_NS_new:nnn {mathml}{http://www.w3.org/1998/Math/MathML}{}
 \__tag_role_NS_new:nnn {latex} {https://www.latex-project.org/ns/dflt/2022}{}
 \__tag_role_NS_new:nnn {latex-book} {https://www.latex-project.org/ns/book/2022}{}
-\__tag_role_NS_new:nnn {latex-inline} {https://www.latex-project.org/ns/inline/2022}{}
 \exp_args:Nne
   \__tag_role_NS_new:nnn {user}{\c__tag_role_userNS_id_str}{}
 \pdf_version_compare:NnTF < {2.0}
@@ -1265,19 +1264,22 @@
             \prop_gput:cno { g__tag_role_NS_#2_prop } {#1}{\l__tag_tmpa_tl}
           }
       }
-     \tl_if_empty:nF { #3 }
-      {
-        \tl_if_eq:nnF{#1}{#3}
-         {
-          \prop_get:NnN \g__tag_role_rolemap_prop {#3}\l__tag_tmpa_tl
-           \quark_if_no_value:NTF \l__tag_tmpa_tl
-            {
-              \prop_gput:Nne \g__tag_role_rolemap_prop {#1}{\tl_to_str:n{#3}}
-            }
-            {
-              \prop_gput:NnV \g__tag_role_rolemap_prop {#1}\l__tag_tmpa_tl
-            }
-          }
+     \bool_if:NT \l__tag_role_update_bool
+       {
+         \tl_if_empty:nF { #3 }
+          {
+            \tl_if_eq:nnF{#1}{#3}
+             {
+              \prop_get:NnN \g__tag_role_rolemap_prop {#3}\l__tag_tmpa_tl
+               \quark_if_no_value:NTF \l__tag_tmpa_tl
+                {
+                  \prop_gput:Nne \g__tag_role_rolemap_prop {#1}{\tl_to_str:n{#3}}
+                }
+                {
+                  \prop_gput:NnV \g__tag_role_rolemap_prop {#1}\l__tag_tmpa_tl
+                }
+              }
+           }
        }
    }
 \cs_generate_variant:Nn \__tag_role_add_tag:nnnn {VVVV}
@@ -1391,7 +1393,6 @@
 \__tag_role_read_namespace:n {pdf2}
 \__tag_role_read_namespace:n {mathml}
 \bool_set_false:N\l__tag_role_update_bool
-\__tag_role_read_namespace:n {latex-inline}
 \__tag_role_read_namespace:n {latex-book}
 \bool_set_true:N\l__tag_role_update_bool
 \__tag_role_read_namespace:n {latex}
@@ -1419,6 +1420,8 @@
            \prop_map_inline:cn{g__tag_role_NS_latex-book_prop}
              {
                \prop_gput:Nnn \g__tag_role_tags_NS_prop    { #1 }{ latex-book }
+               \prop_gput:Nne
+                \g__tag_role_rolemap_prop {#1}{\use_i:nn  #2\c_empty_tl\c_empty_tl}
              }
          }
       }
@@ -1707,40 +1710,6 @@
 \tl_new:N \l__tag_role_remap_NS_tl
 \cs_new_protected:Npn \__tag_role_remap: {  }
 \cs_set_eq:NN \__tag_role_remap_id: \__tag_role_remap:
-\pdf_version_compare:NnTF < {2.0}
-  {
-    \cs_new_protected:Npn \__tag_role_remap_inline:
-      {
-        \prop_get:cVNT { g__tag_role_NS_latex-inline_prop }\l__tag_role_remap_tag_tl\l__tag_tmpa_tl
-          {
-            \tl_set:Ne\l__tag_role_remap_tag_tl
-              {
-                \exp_last_unbraced:NV\use_i:nn \l__tag_tmpa_tl
-              }
-            \tl_set:Ne\l__tag_role_remap_NS_tl
-              {
-                \exp_last_unbraced:NV\use_ii:nn \l__tag_tmpa_tl
-              }
-          }
-        \int_compare:nNnT {\l__tag_loglevel_int} > { 0 }
-          {
-            \msg_note:nne { tag } { role-remapping }{ \l__tag_role_remap_tag_tl }
-          }
-      }
-  }
-  {
-    \cs_new_protected:Npn \__tag_role_remap_inline:
-      {
-        \prop_get:cVNT { g__tag_role_NS_latex-inline_prop }\l__tag_role_remap_tag_tl\l__tag_tmpa_tl
-          {
-            \tl_set:Nn\l__tag_role_remap_NS_tl {latex-inline}
-          }
-        \int_compare:nNnT {\l__tag_loglevel_int} > { 0 }
-          {
-            \msg_note:nne { tag } { role-remapping }{ \l__tag_role_remap_tag_tl/latex-inline }
-          }
-      }
-  }
 \keys_define:nn { __tag / tag-role }
   {
     ,tag .tl_set:N = \l__tag_role_tag_tmpa_tl

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty	2024-02-04 21:12:24 UTC (rev 69702)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty	2024-02-04 21:12:36 UTC (rev 69703)
@@ -1,5 +1,5 @@
 %\RequirePackage[enable-debug]{expl3}[2018/06/14]
-\ProvidesExplPackage {tagpdfdocu-patches} {2024-02-02} {0.98u}
+\ProvidesExplPackage {tagpdfdocu-patches} {2024-02-04} {0.98v}
  {patches/commands for the tagpdf documentation}
 \RequirePackage{etoolbox,xpatch}
 



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