texlive[74227] Master/texmf-dist: tagpdf (23feb25)

commits+karl at tug.org commits+karl at tug.org
Sun Feb 23 22:11:20 CET 2025


Revision: 74227
          https://tug.org/svn/texlive?view=revision&revision=74227
Author:   karl
Date:     2025-02-23 22:11:18 +0100 (Sun, 23 Feb 2025)
Log Message:
-----------
tagpdf (23feb25)

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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/README.md	2025-02-23 21:11:18 UTC (rev 74227)
@@ -1,6 +1,6 @@
 #tagpdf — A package to create tagged pdf
-Packageversion: 0.99m 
-Packagedate: 2025/02/17
+Packageversion: 0.99n 
+Packagedate: 2025/02/23
 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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex	2025-02-23 21:11:18 UTC (rev 74227)
@@ -16,8 +16,8 @@
  }
 \DebugBlocksOff
 \makeatletter
-\def\UlrikeFischer at package@version{0.99m}
-\def\UlrikeFischer at package@date{2025-02-17}
+\def\UlrikeFischer at package@version{0.99n}
+\def\UlrikeFischer at package@date{2025-02-23}
 \makeatother
 
 \documentclass[bibliography=totoc,a4paper]{article}
@@ -1799,10 +1799,12 @@
    \item[\PrintKeyName{root-AF}] This key allows to reference an
      associated file in the root structure element. Using the root can
      be e.g. useful to add a css-file. When converting the pdf to a
-     html with e.g. ngpdf this css-file is then referenced in the head
-     of the html.
+     html with e.g. ngpdf \cite{ngpdf} this css-file is then referenced in the head of the html.
+ 
+   \item[\PrintKeyName{root-supplemental-file}] This is a variant of the previous key. It takes as argument a file name. It then embeds this file with \texttt{/AFRelationship /Supplement} and appends it as associated file to the structure root. ngpdf \cite{ngpdf} will store a \texttt{.css} attached in this way and reference it in the head of the html. If a \texttt{html} is attached in this way, ngpdf will
+       copy the content into the head of the derived html. This means that the content of such an html file should normally be some html snippet suitable for the head, e.g. some css-code inside \texttt{<style>} tags.
+       
 
-
    \item[\PrintKeyName{AFinline}] This key allows to embed an
      associated file with inline content. The value is some text,
      which is embedded in the PDF as a text file with mime type

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -47,13 +47,13 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle
 % \begin{implementation}
 %    \begin{macrocode}
 %<@@=tag>
 %<*luatex>
-\ProvidesExplFile {tagpdf-luatex.def} {2025-02-17} {0.99m}
+\ProvidesExplFile {tagpdf-luatex.def} {2025-02-23} {0.99n}
   {tagpdf~driver~for~luatex}
 %    \end{macrocode}
 % \section{Loading the lua}
@@ -174,8 +174,8 @@
 
 local ProvidesLuaModule = {
     name          = "tagpdf",
-    version       = "0.99m",       --TAGVERSION
-    date          = "2025-02-17", --TAGDATE
+    version       = "0.99n",       --TAGVERSION
+    date          = "2025-02-23", --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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -48,7 +48,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle
 % \begin{documentation}
 % \section{Commands}
@@ -331,7 +331,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-checks-code} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-checks-code} {2025-02-23} {0.99n}
  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \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} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2025-02-23} {0.99n}
 %% {latex} {https://www.latex-project.org/ns/dflt}{}
 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} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2025-02-23} {0.99n}
 %% {latex-book} {https://www.latex-project.org/ns/book}{}
 chapter,       H1,pdf2,
 section,       H2,pdf2,
@@ -107,7 +107,7 @@
 % \section{The pdf namespace data}
 %    \begin{macrocode}
 %<*ns-pdf>
-%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2025-02-23} {0.99n}
 %%  {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} {2025-02-17} {0.99m} 
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2025-02-23} {0.99n} 
 %%  {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} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2025-02-23} {0.99n}
 % {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} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2025-02-23} {0.99n}
 ,,,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} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2025-02-23} {0.99n}
 ,,,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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle
 % \begin{documentation}
 % \end{documentation}
@@ -55,11 +55,11 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*generic>
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-02-23} {0.99n}
  {part of tagpdf - code related to marking chunks - generic mode}
 %</generic>
 %<*debug>
-\ProvidesExplPackage {tagpdf-debug-generic} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-debug-generic} {2025-02-23} {0.99n}
  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \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} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2025-02-23} {0.99n}
   {tagpdf - mc code only for the luamode }
 %</luamode>
 %<*debug>
-\ProvidesExplPackage {tagpdf-debug-lua} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-debug-lua} {2025-02-23} {0.99n}
  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle
 % \begin{documentation}
 % \section{Public Commands}
@@ -207,7 +207,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-mc-code-shared} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-mc-code-shared} {2025-02-23} {0.99n}
   {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle
 % \begin{documentation}
 % \begin{function}
@@ -98,7 +98,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-roles-code} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-roles-code} {2025-02-23} {0.99n}
  {part of tagpdf - code related to roles and structure names}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -46,7 +46,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle
 % \begin{documentation}
 % \begin{function}{activate/space (setup-key),interwordspace (deprecated)}
@@ -66,7 +66,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-space-code} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-space-code} {2025-02-23} {0.99n}
  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle
 % \begin{documentation}
 % \section{Public Commands}
@@ -308,7 +308,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-struct-code} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-struct-code} {2025-02-23} {0.99n}
  {part of tagpdf - code related to storing structure}
 %</header>
 %    \end{macrocode}
@@ -1321,7 +1321,7 @@
              { <\l_@@_tmpa_str>}
           }  
       },
-     phoneme .code:n  = % ActualText property
+     phoneme .code:n  = % Phoneme property
       {
         \tl_if_empty:oF{#1}
           {
@@ -1596,6 +1596,31 @@
   }
 %    \end{macrocode}
 % \end{setupkeydecl}
+% 
+% \begin{setupkeydecl}{root-supplemental-file}
+% This key allows to add a file as root-AF with relationship Supplement.
+% This is typically need to add a css or an html
+%    \begin{macrocode}
+\keys_define:nn { @@ / setup }
+  {
+    root-supplemental-file .code:n =
+     {
+       \group_begin:
+       \pdfdict_put:nnn {l_pdffile/Filespec} {AFRelationship}{/Supplement}
+       \int_gincr:N \g_@@_unique_cnt_int
+       \pdffile_embed_file:eee 
+        {#1}
+        {#1}
+        {__tag_latex_css_\int_use:N\g_@@_unique_cnt_int}
+       \keys_set:nn 
+        {__tag / setup}
+        {root-AF={__tag_latex_css_\int_use:N\g_@@_unique_cnt_int}}
+       \group_end:                 
+     }
+  }
+%    \end{macrocode}
+% \end{setupkeydecl}
+%
 % \section{User commands}
 % We allow to set a language by default
 % \begin{macro}{\l_@@_struct_lang_tl}
@@ -2134,7 +2159,7 @@
 % \section{Attributes and attribute classes}
 %    \begin{macrocode}
 %<*header>
-\ProvidesExplPackage {tagpdf-attr-code} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-attr-code} {2025-02-23} {0.99n}
   {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -47,13 +47,13 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle
 % \begin{implementation}
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-tree-code} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-tree-code} {2025-02-23} {0.99n}
  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle
 % \begin{documentation}
 % \section{Setup commands}
@@ -322,7 +322,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*header>
-\ProvidesExplPackage {tagpdf-user} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-user} {2025-02-23} {0.99n}
   {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx	2025-02-23 21:11:18 UTC (rev 74227)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.99m, released 2025-02-17}
+% \date{Version 0.99n, released 2025-02-23}
 % \maketitle% 
 % 
 % \begin{documentation}
@@ -153,7 +153,7 @@
 %    \begin{macrocode}
 %<@@=tag>
 %<*package>
-\ProvidesExplPackage {tagpdf} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf} {2025-02-23} {0.99n}
   { LaTeX kernel code for PDF tagging }
 
 \bool_if:nF
@@ -179,7 +179,7 @@
 %    \end{macrocode}
 %<*debug>
 %    \begin{macrocode}
-\ProvidesExplPackage {tagpdf-debug} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-debug} {2025-02-23} {0.99n}
   { debug code for tagpdf }
 \@ifpackageloaded{tagpdf}{}{\PackageWarning{tagpdf-debug}{tagpdf~not~loaded,~quitting}\endinput}
 %    \end{macrocode}
@@ -202,7 +202,7 @@
 % we define a base package with dummy functions
 %    \begin{macrocode}
 %<*base>
-\ProvidesExplPackage {tagpdf-base} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-base} {2025-02-23} {0.99n}
   {part of tagpdf - provide base, no-op versions of the user commands }
 %</base>
 %    \end{macrocode} 
@@ -415,6 +415,15 @@
 \bool_new:N \g_@@_softhyphen_bool
 %    \end{macrocode}
 % \end{variable}
+% 
+% \begin{variable}{\g_@@_unique_cnt_int}
+% If tagpdf has to create unique names (e.g. for object names when embedding files)
+% it can use this integer to get an unique name. At every use it should be increased
+%    \begin{macrocode}
+\int_new:N \g_@@_unique_cnt_int
+%    \end{macrocode}
+% \end{variable}
+ 
 % \section{Variants of l3 commands}
 %     \begin{macrocode}
 \prg_generate_conditional_variant:Nnn \pdf_object_if_exist:n {e}{T,F,TF}
@@ -427,6 +436,7 @@
 \cs_generate_variant:Nn \seq_set_split:Nnn{Nne}  %**  unneeded
 \cs_generate_variant:Nn \str_set_convert:Nnnn {Nonn, Noon, Nnon }
 \cs_generate_variant:Nn \clist_map_inline:nn {on}
+\cs_generate_variant:Nn \pdffile_embed_file:nnn {eee}
 %    \end{macrocode}
 %
 % \section{Label and Reference commands}

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty	2025-02-23 21:11:18 UTC (rev 74227)
@@ -25,7 +25,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-base} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-base} {2025-02-23} {0.99n}
   {part of tagpdf - provide base, no-op versions of the user commands }
 \cs_new_protected:Npn \__tag_whatsits: {}
 \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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-generic.dtx
-\ProvidesExplPackage {tagpdf-debug-generic} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-debug-generic} {2025-02-23} {0.99n}
  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-lua.sty	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-luacode.dtx
-\ProvidesExplPackage {tagpdf-debug-lua} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-debug-lua} {2025-02-23} {0.99n}
  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug.sty	2025-02-23 21:11:18 UTC (rev 74227)
@@ -26,7 +26,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-debug} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-debug} {2025-02-23} {0.99n}
   { 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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-backend.dtx
-\ProvidesExplFile {tagpdf-luatex.def} {2025-02-17} {0.99m}
+\ProvidesExplFile {tagpdf-luatex.def} {2025-02-23} {0.99n}
   {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-generic.dtx
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-02-23} {0.99n}
  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-luacode.dtx
-\ProvidesExplPackage {tagpdf-mc-code-lua} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2025-02-23} {0.99n}
   {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-book.def	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2025-02-23} {0.99n}
 %% {latex-book} {https://www.latex-project.org/ns/book}{}
 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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-latex.def} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2025-02-23} {0.99n}
 %% {latex} {https://www.latex-project.org/ns/dflt}{}
 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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-mathml.def	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2025-02-23} {0.99n}
 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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf.def	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2025-02-23} {0.99n}
 %%  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf2.def	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2025-02-23} {0.99n}
 %%  {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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child-2.csv	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2025-02-23} {0.99n}
 ,,,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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child.csv	2025-02-23 21:11:18 UTC (rev 74227)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-parent-child.csv} {2025-02-17} {0.99m}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2025-02-23} {0.99n}
 ,,,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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua	2025-02-23 21:11:18 UTC (rev 74227)
@@ -24,8 +24,8 @@
 
 local ProvidesLuaModule = {
     name          = "tagpdf",
-    version       = "0.99m",       --TAGVERSION
-    date          = "2025-02-17", --TAGDATE
+    version       = "0.99n",       --TAGVERSION
+    date          = "2025-02-23", --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	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty	2025-02-23 21:11:18 UTC (rev 74227)
@@ -28,7 +28,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdf} {2025-02-23} {0.99n}
   { LaTeX kernel code for PDF tagging }
 
 \bool_if:nF
@@ -124,6 +124,8 @@
 \bool_new:N \l__tag_active_socket_bool
 \bool_new:N \g__tag_tagunmarked_bool
 \bool_new:N \g__tag_softhyphen_bool
+\int_new:N \g__tag_unique_cnt_int
+
 \prg_generate_conditional_variant:Nnn \pdf_object_if_exist:n {e}{T,F,TF}
 \cs_generate_variant:Nn \pdf_object_ref:n {e}
 \cs_generate_variant:Nn \pdfannot_dict_put:nnn {nne}
@@ -134,6 +136,7 @@
 \cs_generate_variant:Nn \seq_set_split:Nnn{Nne}  %**  unneeded
 \cs_generate_variant:Nn \str_set_convert:Nnnn {Nonn, Noon, Nnon }
 \cs_generate_variant:Nn \clist_map_inline:nn {on}
+\cs_generate_variant:Nn \pdffile_embed_file:nnn {eee}
     \cs_new_protected:Npn \__tag_property_record:nn #1#2
       {
         \@bsphack
@@ -2480,7 +2483,7 @@
              { <\l__tag_tmpa_str>}
           }
       },
-     phoneme .code:n  = % ActualText property
+     phoneme .code:n  = % Phoneme property
       {
         \tl_if_empty:oF{#1}
           {
@@ -2702,6 +2705,23 @@
           }
       },
   }
+\keys_define:nn { __tag / setup }
+  {
+    root-supplemental-file .code:n =
+     {
+       \group_begin:
+       \pdfdict_put:nnn {l_pdffile/Filespec} {AFRelationship}{/Supplement}
+       \int_gincr:N \g__tag_unique_cnt_int
+       \pdffile_embed_file:eee
+        {#1}
+        {#1}
+        {__tag_latex_css_\int_use:N\g__tag_unique_cnt_int}
+       \keys_set:nn
+        {__tag / setup}
+        {root-AF={__tag_latex_css_\int_use:N\g__tag_unique_cnt_int}}
+       \group_end:
+     }
+  }
 \tl_new:N \l__tag_struct_lang_tl
 \cs_set_protected:Npn \tag_struct_begin:n #1 %#1 key-val
   {

Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty	2025-02-23 17:31:19 UTC (rev 74226)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty	2025-02-23 21:11:18 UTC (rev 74227)
@@ -1,5 +1,5 @@
 %\RequirePackage[enable-debug]{expl3}[2018/06/14]
-\ProvidesExplPackage {tagpdfdocu-patches} {2025-02-17} {0.99m}
+\ProvidesExplPackage {tagpdfdocu-patches} {2025-02-23} {0.99n}
  {patches/commands for the tagpdf documentation}
 \RequirePackage{etoolbox,xpatch}
 



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