texlive[74747] Master/texmf-dist: tagpdf (26mar25)
commits+karl at tug.org
commits+karl at tug.org
Wed Mar 26 21:01:09 CET 2025
Revision: 74747
https://tug.org/svn/texlive?view=revision&revision=74747
Author: karl
Date: 2025-03-26 21:01:09 +0100 (Wed, 26 Mar 2025)
Log Message:
-----------
tagpdf (26mar25)
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/latex-align-css.html
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
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/tagpdf/verbatim-alt-latex-lab-testphase.ltx
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/README.md 2025-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/README.md 2025-03-26 20:01:09 UTC (rev 74747)
@@ -1,6 +1,6 @@
#tagpdf — A package to create tagged pdf
-Packageversion: 0.99o
-Packagedate: 2025/03/05
+Packageversion: 0.99p
+Packagedate: 2025/03/26
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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex 2025-03-26 20:01:09 UTC (rev 74747)
@@ -16,8 +16,8 @@
}
\DebugBlocksOff
\makeatletter
-\def\UlrikeFischer at package@version{0.99o}
-\def\UlrikeFischer at package@date{2025-03-05}
+\def\UlrikeFischer at package@version{0.99p}
+\def\UlrikeFischer at package@date{2025-03-26}
\makeatother
\documentclass[bibliography=totoc,a4paper]{article}
@@ -1870,26 +1870,25 @@
currently active structure. A structure should be used only once, if the
structure already has a parent you will get a warning.
-\subsubsection{Updating the \texttt{Ref} key in structures}\label{sec:Refkey}
+\subsubsection{Updating structure keys}\label{sec:Refkey}
-Structures that cross reference other structures, e.g. citation commands, table of
-content entries, footnote require often a \texttt{Ref} key. \texttt{Ref}
-can be added with the |ref| key of \cs{tagstructbegin} described above
-but as it is a task that often has to be done automatically in code
-there exist also a command that allows to extend the \texttt{Ref} key (and perhaps in future also other keys) later.
-This command allows to add the value, the target structure of the \texttt{Ref} key,
-with four methods: directly as object reference, through a label name set with the |label| key, through a destination name if a \cs{MakeLinkTarget} has been used in
-the target structure---this also works if hyperref has not been loaded---and through
-the structure number, which has been stored e.g. in a label.
-
+In a number of cases structures must be updated later. Such updates often can not simply replace values but must extend them in special ways. For this a generic commands exists. Currently it supports updating the \texttt{/A} key (attributes) and the \texttt{Ref} key.
+
\begin{docCommands}
{
{doc name=tag_struct_gput:nnn,doc parameter=\marg{structurenumber}\marg{keyword}\marg{value}},
}\end{docCommands}
-The allowed \meta{keywords} are \texttt{ref}, \texttt{ref\_label} \texttt{ref\_dest}
-and \texttt{ref\_num}.
+The allowed \meta{keywords} are \texttt{ref}, \texttt{ref\_label} \texttt{ref\_dest}, \texttt{ref\_num} and \texttt{attribute}.
+
+This command allows to add the value, the target structure of the \texttt{Ref} key, with four methods: directly as object reference, through a label name set with the |label| key, through a destination name if a \cs{MakeLinkTarget} has been used in
+the target structure---this also works if hyperref has not been loaded---and through
+the structure number, which has been stored e.g. in a label.
+
+With the keyword \texttt{attribute} the attribute of the structure is
+extended. The value is the content of one attribute dictionary, so for example \texttt{/O /Layout /BBox [10 10 50 50]}.
+
\subsubsection{Root structure}
A document should have at least one structure which contains the whole
Added: trunk/Master/texmf-dist/doc/latex/tagpdf/verbatim-alt-latex-lab-testphase.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/verbatim-alt-latex-lab-testphase.ltx (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/verbatim-alt-latex-lab-testphase.ltx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -0,0 +1,51 @@
+% verbatim-alt testphase Module
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Highly experimental module for tagging characters in verbatim
+% LaTeX Project March 2025
+% Licence https://www.latex-project.org/lppl.txt
+\ProvidesFile{verbatim-alt-latex-lab-testphase.ltx}
+ [2025-03-26 v 0.1 Highly experimental module for tagging characters in verbatim]
+\makeatletter
+\begingroup \catcode `|=0 \catcode `[= 1
+\catcode`]=2 \catcode `\{=13 \catcode `\}=13
+\catcode`\\=12
+|gdef|@xxverbatim#1\end{verbatim}[#1|end[verbatim]]
+|gdef|@sxverbatim#1\end{verbatim*}[#1|end[verbatim*]]
+|endgroup
+\def\@xverbatim{\activechars\everypar{\tagobeyedline}\@xxverbatim}
+\makeatother
+
+\def\defactive#1#2\relax{%
+ \def#1{\tagmcend\tagstructbegin{tag=Span,alt={ #2 }}\tagmcbegin{}\detokenize{#1}\tagmcend\tagstructend\tagmcbegin{}}%
+ }
+\protected\gdef\tagobeyedline{\tagmcend\tagstructbegin{tag=Span,alt={ new line }}\tagmcbegin{}\tagmcend\tagstructend\tagmcbegin{}}
+
+\begingroup
+\catcode`\B=1
+\catcode`\E=2
+\catcode`\(\active
+\catcode`\)\active
+\catcode`\{\active
+\catcode`\}\active
+\catcode`\;\active
+\catcode`\,\active
+\catcode`\"\active
+
+\gdef\activecharsB%
+\catcode`\(\active
+\catcode`\)\active
+\catcode`\{\active
+\catcode`\}\active
+\catcode`\;\active
+\catcode`\,\active
+\catcode`\"\active
+ \defactive(open paren\relax
+ \defactive)close paren\relax
+ \defactive{open brace\relax
+ \defactive}close brace\relax
+ \defactive;semicolon\relax
+ \defactive,comma\relax
+ \defactive"quote\relax
+ E
+\endgroup
Property changes on: trunk/Master/texmf-dist/doc/latex/tagpdf/verbatim-alt-latex-lab-testphase.ltx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx 2025-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -47,13 +47,13 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle
% \begin{implementation}
% \begin{macrocode}
%<@@=tag>
%<*luatex>
-\ProvidesExplFile {tagpdf-luatex.def} {2025-03-05} {0.99o}
+\ProvidesExplFile {tagpdf-luatex.def} {2025-03-26} {0.99p}
{tagpdf~driver~for~luatex}
% \end{macrocode}
% \section{Loading the lua}
@@ -174,8 +174,8 @@
local ProvidesLuaModule = {
name = "tagpdf",
- version = "0.99o", --TAGVERSION
- date = "2025-03-05", --TAGDATE
+ version = "0.99p", --TAGVERSION
+ date = "2025-03-26", --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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -48,7 +48,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle
% \begin{documentation}
% \section{Commands}
@@ -331,7 +331,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-checks-code} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-checks-code} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \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-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2025-03-26} {0.99p}
%% {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-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2025-03-26} {0.99p}
%% {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-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2025-03-26} {0.99p}
%% {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-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2025-03-26} {0.99p}
%% {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-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2025-03-26} {0.99p}
% {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-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2025-03-26} {0.99p}
,,,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-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2025-03-26} {0.99p}
,,,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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle
% \begin{documentation}
% \end{documentation}
@@ -55,11 +55,11 @@
% \begin{macrocode}
%<@@=tag>
%<*generic>
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-03-26} {0.99p}
{part of tagpdf - code related to marking chunks - generic mode}
%</generic>
%<*debug>
-\ProvidesExplPackage {tagpdf-debug-generic} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-debug-generic} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \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-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2025-03-26} {0.99p}
{tagpdf - mc code only for the luamode }
%</luamode>
%<*debug>
-\ProvidesExplPackage {tagpdf-debug-lua} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-debug-lua} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle
% \begin{documentation}
% \section{Public Commands}
@@ -207,7 +207,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-mc-code-shared} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-mc-code-shared} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle
% \begin{documentation}
% \begin{function}
@@ -98,7 +98,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-roles-code} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-roles-code} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle
% \begin{documentation}
% \begin{function}{activate/space (setup-key),interwordspace (deprecated)}
@@ -66,7 +66,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-space-code} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-space-code} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle
% \begin{documentation}
% \section{Public Commands}
@@ -308,7 +308,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-struct-code} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-struct-code} {2025-03-26} {0.99p}
{part of tagpdf - code related to storing structure}
%</header>
% \end{macrocode}
@@ -2053,14 +2053,19 @@
% adjusted to the key in question.
% The first argument is the number of the structure,
% the second a keyword referring to a function,
-% the third the value. Currently the existing keywords are all related
+% the third the value. Currently the existing keywords are mostly related
% to the \texttt{Ref} key (an array).
% The keyword \texttt{ref} takes as value an explicit object reference to
% a structure. The keyword \texttt{ref_label} expects as value a label name (from
% a label set in a \cs{tagstructbegin} command). The keyword \texttt{ref_dest}
% expects a destination name set with \cs{MakeLinkTarget}. It then will refer to
-% the structure in which this \cs{MakeLinkTarget} was used. At last
-% the keyword \texttt{ref_num} expects a structure number.
+% the structure in which this \cs{MakeLinkTarget} was used. The
+% keyword \texttt{ref_num} expects a structure number.
+% At last there is the keyword \texttt{attribute} which allows to add or extend the \texttt{/A}
+% key of the structure. The value is the content of one attribute dictionary, so for example
+% \texttt{/O /Layout /BBox [10 10 50 50]}. The content is stored in an object and the object
+% reference is than added to the \texttt{/A}.
+%
% \begin{macrocode}
%<base>\cs_new_protected:Npn \tag_struct_gput:nnn #1 #2 #3{}
%<*package>
@@ -2120,6 +2125,30 @@
\cs_generate_variant:Nn \@@_struct_gput_data_ref:nn {ee,no}
% \end{macrocode}
% \end{macro}
+%
+% \begin{macro}{\@@_struct_gput_data_attribute:nn}
+% \begin{macrocode}
+\cs_new_protected:Npn \@@_struct_gput_data_attribute:nn #1 #2
+ {
+ \pdf_object_unnamed_write:nn {dict} {#2}
+ \prop_get:cnNTF { g_@@_struct_#1_prop }{A} \l_@@_tmpa_tl
+ {
+ \tl_remove_once:Nn\l_@@_tmpa_tl{[}
+ \tl_remove_once:Nn\l_@@_tmpa_tl{]}
+ \@@_prop_gput:cne { g_@@_struct_#1_prop }
+ { A }
+ {
+ [ \l_@@_tmpa_tl \c_space_tl \pdf_object_ref_last: ]
+ }
+ }
+ {
+ \@@_prop_gput:cne { g_@@_struct_#1_prop }
+ { A }
+ { \pdf_object_ref_last: }
+ }
+ }
+% \end{macrocode}
+% \end{macro}
% \begin{macro}
% {
% \tag_struct_insert_annot:nn,
@@ -2159,7 +2188,7 @@
% \section{Attributes and attribute classes}
% \begin{macrocode}
%<*header>
-\ProvidesExplPackage {tagpdf-attr-code} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-attr-code} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -47,13 +47,13 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle
% \begin{implementation}
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-tree-code} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-tree-code} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle
% \begin{documentation}
% \section{Setup commands}
@@ -322,7 +322,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-user} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-user} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx 2025-03-26 20:01:09 UTC (rev 74747)
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Version 0.99o, released 2025-03-05}
+% \date{Version 0.99p, released 2025-03-26}
% \maketitle%
%
% \begin{documentation}
@@ -153,7 +153,7 @@
% \begin{macrocode}
%<@@=tag>
%<*package>
-\ProvidesExplPackage {tagpdf} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf} {2025-03-26} {0.99p}
{ LaTeX kernel code for PDF tagging }
\bool_if:nF
@@ -179,7 +179,7 @@
% \end{macrocode}
%<*debug>
% \begin{macrocode}
-\ProvidesExplPackage {tagpdf-debug} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-debug} {2025-03-26} {0.99p}
{ 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-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-base} {2025-03-26} {0.99p}
{part of tagpdf - provide base, no-op versions of the user commands }
%</base>
% \end{macrocode}
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/latex-align-css.html
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/latex-align-css.html 2025-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/latex-align-css.html 2025-03-26 20:01:09 UTC (rev 74747)
@@ -36,11 +36,11 @@
mtable.align > mtr > mtd:nth-child(2n)
{border margin-left:1em;
padding-left:1em; }
-
+
mtable.alignat > mtr > mtd
{ margin-left:0em; margin-right:0em;
padding-left:0em; padding-right:0em;}
-
+
mtable.flalign {width:100%}
@@ -48,5 +48,3 @@
position:relative; left:-2em;
}
</style>
-
-
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty 2025-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty 2025-03-26 20:01:09 UTC (rev 74747)
@@ -25,7 +25,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-base} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-base} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty 2025-03-26 20:01:09 UTC (rev 74747)
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf-mc-generic.dtx
-\ProvidesExplPackage {tagpdf-debug-generic} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-debug-generic} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-lua.sty 2025-03-26 20:01:09 UTC (rev 74747)
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf-mc-luacode.dtx
-\ProvidesExplPackage {tagpdf-debug-lua} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-debug-lua} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug.sty 2025-03-26 20:01:09 UTC (rev 74747)
@@ -26,7 +26,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-debug} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-debug} {2025-03-26} {0.99p}
{ 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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def 2025-03-26 20:01:09 UTC (rev 74747)
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf-backend.dtx
-\ProvidesExplFile {tagpdf-luatex.def} {2025-03-05} {0.99o}
+\ProvidesExplFile {tagpdf-luatex.def} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty 2025-03-26 20:01:09 UTC (rev 74747)
@@ -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-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty 2025-03-26 20:01:09 UTC (rev 74747)
@@ -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-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2025-03-26} {0.99p}
{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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-book.def 2025-03-26 20:01:09 UTC (rev 74747)
@@ -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-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2025-03-26} {0.99p}
%% {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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def 2025-03-26 20:01:09 UTC (rev 74747)
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-latex.def} {2025-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2025-03-26} {0.99p}
%% {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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-mathml.def 2025-03-26 20:01:09 UTC (rev 74747)
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2025-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2025-03-26} {0.99p}
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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf.def 2025-03-26 20:01:09 UTC (rev 74747)
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2025-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2025-03-26} {0.99p}
%% {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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf2.def 2025-03-26 20:01:09 UTC (rev 74747)
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2025-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2025-03-26} {0.99p}
%% {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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child-2.csv 2025-03-26 20:01:09 UTC (rev 74747)
@@ -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-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2025-03-26} {0.99p}
,,,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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child.csv 2025-03-26 20:01:09 UTC (rev 74747)
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-parent-child.csv} {2025-03-05} {0.99o}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2025-03-26} {0.99p}
,,,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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua 2025-03-26 20:01:09 UTC (rev 74747)
@@ -24,8 +24,8 @@
local ProvidesLuaModule = {
name = "tagpdf",
- version = "0.99o", --TAGVERSION
- date = "2025-03-05", --TAGDATE
+ version = "0.99p", --TAGVERSION
+ date = "2025-03-26", --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-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty 2025-03-26 20:01:09 UTC (rev 74747)
@@ -28,7 +28,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdf} {2025-03-26} {0.99p}
{ LaTeX kernel code for PDF tagging }
\bool_if:nF
@@ -3057,6 +3057,25 @@
}
\cs_generate_variant:Nn \__tag_struct_gput_data_ref:nn {ee,no}
+\cs_new_protected:Npn \__tag_struct_gput_data_attribute:nn #1 #2
+ {
+ \pdf_object_unnamed_write:nn {dict} {#2}
+ \prop_get:cnNTF { g__tag_struct_#1_prop }{A} \l__tag_tmpa_tl
+ {
+ \tl_remove_once:Nn\l__tag_tmpa_tl{[}
+ \tl_remove_once:Nn\l__tag_tmpa_tl{]}
+ \__tag_prop_gput:cne { g__tag_struct_#1_prop }
+ { A }
+ {
+ [ \l__tag_tmpa_tl \c_space_tl \pdf_object_ref_last: ]
+ }
+ }
+ {
+ \__tag_prop_gput:cne { g__tag_struct_#1_prop }
+ { A }
+ { \pdf_object_ref_last: }
+ }
+ }
\cs_new_protected:Npn \tag_struct_insert_annot:nn #1 #2 %#1 should be an object reference
%#2 struct parent num
{
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty 2025-03-26 00:42:10 UTC (rev 74746)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty 2025-03-26 20:01:09 UTC (rev 74747)
@@ -1,5 +1,5 @@
%\RequirePackage[enable-debug]{expl3}[2018/06/14]
-\ProvidesExplPackage {tagpdfdocu-patches} {2025-03-05} {0.99o}
+\ProvidesExplPackage {tagpdfdocu-patches} {2025-03-26} {0.99p}
{patches/commands for the tagpdf documentation}
\RequirePackage{etoolbox,xpatch}
More information about the tex-live-commits
mailing list.