texlive[74458] Master/texmf-dist: tagpdf (5mar25)
commits+karl at tug.org
commits+karl at tug.org
Wed Mar 5 22:31:45 CET 2025
Revision: 74458
https://tug.org/svn/texlive?view=revision&revision=74458
Author: karl
Date: 2025-03-05 22:31:45 +0100 (Wed, 05 Mar 2025)
Log Message:
-----------
tagpdf (5mar25)
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.bib
trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex
trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdfsetup-keys.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
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/tagpdf/latex-align-css.html
trunk/Master/texmf-dist/doc/latex/tagpdf/latex-list-css.html
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/README.md 2025-03-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/README.md 2025-03-05 21:31:45 UTC (rev 74458)
@@ -1,6 +1,6 @@
#tagpdf — A package to create tagged pdf
-Packageversion: 0.99n
-Packagedate: 2025/02/23
+Packageversion: 0.99o
+Packagedate: 2025/03/05
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)
Added: trunk/Master/texmf-dist/doc/latex/tagpdf/latex-align-css.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/latex-align-css.html (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/latex-align-css.html 2025-03-05 21:31:45 UTC (rev 74458)
@@ -0,0 +1,52 @@
+ <style>
+ mtable.align > mtr > mtd:nth-child(2n),
+ mtable.flalign > mtr > mtd:nth-child(2n),
+ mtable.alignat > mtr > mtd:nth-child(2n),
+ mtable.aligned > mtr > mtd:nth-child(2n+1),
+ mtable.alignedat > mtr > mtd:nth-child(2n+1),
+ mtable.split > mtr > mtd:nth-child(2n+1)
+ {
+padding-right:0;text-align:right;text-align:-moz-right;text-align:-webkit-right;
+}
+ mtable.align > mtr > mtd:nth-child(2n+3),
+ mtable.flalign > mtr > mtd:nth-child(2n+3),
+ mtable.alignat > mtr > mtd:nth-child(2n+3),
+ mtable.aligned > mtr > mtd:nth-child(2n),
+ mtable.alignedat > mtr > mtd:nth-child(2n),
+ mtable.split > mtr > mtd:nth-child(2n)
+ {
+padding-left:0;text-align:left;text-align:-moz-left;text-align:-webkit-left;
+ }
+
+/* use float right for safari */
+
+ at supports (-webkit-appearance:none) and (stroke-color:transparent) {
+ mtable.align > mtr > mtd:nth-child(2n),
+ mtable.flalign > mtr > mtd:nth-child(2n),
+ mtable.alignat > mtr > mtd:nth-child(2n),
+ mtable.aligned > mtr > mtd:nth-child(2n+1),
+ mtable.alignedat > mtr > mtd:nth-child(2n+1),
+ mtable.split > mtr > mtd:nth-child(2n+1)
+ {
+ padding-right:0;text-align:right;float:right:display:math;
+}
+}
+
+
+ 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%}
+
+
+mtd[intent=":no-equation-label"], mtd[intent=":equation-label"] {
+position:relative; left:-2em;
+}
+</style>
+
+
Property changes on: trunk/Master/texmf-dist/doc/latex/tagpdf/latex-align-css.html
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tagpdf/latex-list-css.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/latex-list-css.html (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/latex-list-css.html 2025-03-05 21:31:45 UTC (rev 74458)
@@ -0,0 +1,8 @@
+<style>
+li > span[data-pdf-se-type=Lbl] {
+ font-style: bold;margin-right:.5em;display:inline-block;vertical-align:top;}
+div[data-pdf-se-type=LBody] > div {
+ vertical-align:top;}
+div[data-pdf-se-type=LBody] > div:first-child > p:first-child {
+ margin-top:0}
+</style>
Property changes on: trunk/Master/texmf-dist/doc/latex/tagpdf/latex-list-css.html
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.bib 2025-03-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.bib 2025-03-05 21:31:45 UTC (rev 74458)
@@ -1,3 +1,12 @@
+ at online{derivation,
+title= {Deriving HTML from PDF},
+author={{PDF Association}},
+url = {https://pdfa.org/wp-content/uploads/2019/06/Deriving_HTML_from_PDF.pdf},
+year = {2019},
+urldate={2025-03-05},
+note= {An update is in development.}
+ }
+
@online{pdfreference,
title= {PDF Reference, sixth edition},
author={{Adobe Systems Incorporated}},
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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex 2025-03-05 21:31:45 UTC (rev 74458)
@@ -16,8 +16,8 @@
}
\DebugBlocksOff
\makeatletter
-\def\UlrikeFischer at package@version{0.99n}
-\def\UlrikeFischer at package@date{2025-02-23}
+\def\UlrikeFischer at package@version{0.99o}
+\def\UlrikeFischer at package@date{2025-03-05}
\makeatother
\documentclass[bibliography=totoc,a4paper]{article}
@@ -461,6 +461,7 @@
The key-val list understands at least the following keys. More keys are defined in some of the latex-lab module, see table~\ref{tab:setupkey} for an overview which also includes older, now deprecated names.
\begin{table}
+\makeatletter \bookmark[dest=\@currentHref]{List of keys}\makeatother
\caption{Overview over keys for \cs{tagpdfsetup}}\label{tab:setupkey}
\input{tagpdfsetup-keys}
\end{table}
@@ -2697,7 +2698,50 @@
documentation of \texttt{l3pdfmeta} for details.
\end{itemize}
+ \section{CSS style definition for derivation to html}
+
+ Derivation to html (\cite{derivation}
+ implemented by, e.g., ngpdf) can be improved by attaching CSS style definitions
+ in associated files with relationship supplement to the StructTreeRoot.
+
+ Such CSS style definitions can be given in two ways:
+ \begin{itemize}
+ \item In files with the extension \texttt{.css}. Such files should contain only
+ CSS style definitions. A derivation processor like ngpdf will store these files and include them with an
+ \verb+<link rel=stylesheet href=...>+ in the head of the html.
+ \item In files with the extension \texttt{.html}. Such files should contain CSS style
+ definitions inside one (or more) \verb+<style>...</style>+ html tags. The content of these
+ files are copied directly into the head of the derived html.
+ \end{itemize}
+
+ By default (if tagging is active) tagpdf embeds now such CSS style definitions.
+ Currently the list of files is rather short and consists of two files (with extension
+ .html and \verb+<style>...</style>+ html tags) which are provided by the tagpdf package:
+ \begin{itemize}
+ \item \texttt{latex-align-css.html} which improves the styling of amsmath alignments tagged with MathML.
+ \item \texttt{latex-list-css.html} which improves the style of list environments.
+ \end{itemize}
+
+ A number of configuration keys for \cs{tagpdfsetup} are provided
+\begin{description}
+\item[\PrintKeyName{attach-css}] Boolean, initially true.
+ It is possible to suppress the embedding of these files by setting this key
+ to \texttt{false}, \texttt{attach-css=true} or \texttt{attach-css} reverts this again.
+\item[\PrintKeyName{css-list}] With this key developers can overwrite the list, e.g. with \verb+css-list={file1,file2}+ (where all files should have either the extension \texttt{html} or \texttt{css}. \verb+css-list=+ clears
+ the list (and so suppresses the embedding too).
+\item[\PrintKeyName{css-list-remove}] This key allows to remove a file from
+the list, e.g. \verb+css-list-remove=latex-list-css.html+.
+\item[\PrintKeyName{css-list-add}] this keys allows to add more files to the
+list, e.g., \verb+css-list-add=my-fancy-align-css.html+.
+ It is also possible to attach a .css-file in this way.
+\end{description}
+ These keys do not affect files added directly with \PrintKeyName{root-supplemental-file}.
+
+ The files in this list are attached at the end of the compilation (and so normally after the files attached with root-supplemental-file)
+ but you shouldn't rely on this or on a specific order of the embedding in the html.
+
+
\section{Debugging}
While developing commands and tagging a document, it can be useful to get
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdfsetup-keys.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdfsetup-keys.tex 2025-03-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdfsetup-keys.tex 2025-03-05 21:31:45 UTC (rev 74458)
@@ -4,7 +4,13 @@
\begin{tabular}{lllll}
\toprule
new key name & old key name & value &type & defined in \\\midrule
- ??? & root-AF & string &code &tagpdf-struct\\[4pt]\midrule
+ ??? & root-AF & string &code &tagpdf-struct\\
+root-supplemental-file & & string &code &tagpdf-struct\\
+attach-css & & string &bool &tagpdf-user\\
+css-list & & string &code &tagpdf-user\\
+css-list-remove & & string &code &tagpdf-user\\
+css-list-add & & string &code &tagpdf-user\\
+ \\[4pt]\midrule
%% activate key path
%% activate` is used for keys that enable
%% general, typically document wide tagging options
@@ -70,6 +76,6 @@
table/tagging & table-tagging &choice &code &latex-lab-table\\
table/header-rows & table-header-rows& clist &clist &latex-lab-table\\[4pt]\midrule
% change for text
-text/lang & --- & string & code &tagpdf-user \\
-\bottomrule
+text/lang & --- & string & code &tagpdf-user
+\\\bottomrule
\end{tabular}
Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx 2025-03-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -47,13 +47,13 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \maketitle
% \begin{implementation}
% \begin{macrocode}
%<@@=tag>
%<*luatex>
-\ProvidesExplFile {tagpdf-luatex.def} {2025-02-23} {0.99n}
+\ProvidesExplFile {tagpdf-luatex.def} {2025-03-05} {0.99o}
{tagpdf~driver~for~luatex}
% \end{macrocode}
% \section{Loading the lua}
@@ -174,8 +174,8 @@
local ProvidesLuaModule = {
name = "tagpdf",
- version = "0.99n", --TAGVERSION
- date = "2025-02-23", --TAGDATE
+ version = "0.99o", --TAGVERSION
+ date = "2025-03-05", --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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -48,7 +48,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \maketitle
% \begin{documentation}
% \section{Commands}
@@ -331,7 +331,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-checks-code} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-checks-code} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2025-03-05} {0.99o}
%% {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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2025-03-05} {0.99o}
%% {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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2025-03-05} {0.99o}
%% {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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2025-03-05} {0.99o}
%% {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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2025-03-05} {0.99o}
% {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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2025-03-05} {0.99o}
,,,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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2025-03-05} {0.99o}
,,,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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \maketitle
% \begin{documentation}
% \end{documentation}
@@ -55,11 +55,11 @@
% \begin{macrocode}
%<@@=tag>
%<*generic>
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-03-05} {0.99o}
{part of tagpdf - code related to marking chunks - generic mode}
%</generic>
%<*debug>
-\ProvidesExplPackage {tagpdf-debug-generic} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-debug-generic} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \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-23} {0.99n}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2025-03-05} {0.99o}
{tagpdf - mc code only for the luamode }
%</luamode>
%<*debug>
-\ProvidesExplPackage {tagpdf-debug-lua} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-debug-lua} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \maketitle
% \begin{documentation}
% \section{Public Commands}
@@ -207,7 +207,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-mc-code-shared} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-mc-code-shared} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \maketitle
% \begin{documentation}
% \begin{function}
@@ -98,7 +98,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-roles-code} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-roles-code} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \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-23} {0.99n}
+\ProvidesExplPackage {tagpdf-space-code} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \maketitle
% \begin{documentation}
% \section{Public Commands}
@@ -308,7 +308,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-struct-code} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-struct-code} {2025-03-05} {0.99o}
{part of tagpdf - code related to storing structure}
%</header>
% \end{macrocode}
@@ -2159,7 +2159,7 @@
% \section{Attributes and attribute classes}
% \begin{macrocode}
%<*header>
-\ProvidesExplPackage {tagpdf-attr-code} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-attr-code} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -47,13 +47,13 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \maketitle
% \begin{implementation}
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-tree-code} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-tree-code} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \maketitle
% \begin{documentation}
% \section{Setup commands}
@@ -322,7 +322,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-user} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-user} {2025-03-05} {0.99o}
{tagpdf - user commands}
%</header>
% \end{macrocode}
@@ -1463,6 +1463,84 @@
{ (ref) }
% \end{macrocode}
+%
+% \subsection{Attaching css-files for derivation}
+%
+% Derivation to html (https://pdfa.org/wp-content/uploads/2019/06/Deriving_HTML_from_PDF.pdf,
+% implemented by, e.g., ngpdf) can be improved by attaching CSS style definitions
+% in associated files with relationship supplement to the StructTreeRoot.
+%
+% Such CSS style definitions can be given in two ways:
+% \begin{itemize}
+% \item In files with the extension \texttt{.css}. Such files should contain only
+% CSS style definitions. ngpdf will store these files and include them with an
+% \verb+<link rel=stylesheet href=...>+ in the head of the html.
+% \item In files with the extension \texttt{.html}. Such files should contain CSS style
+% definitions inside one (or more) \verb+<style>...</style>+ html tags. The content of these
+% files are copied by ngpdf directly into the head of the derived html.
+% \end{itemize}
+%
+% By default (if tagging is active) tagpdf embeds now such CSS style definitions.
+% Currently the list of files is rather short and consists of two files (with extension
+% .html and \verb+<style>...</style>+ html tags) which are provided by the tagpdf package:
+% \begin{itemize}
+% \item latex-align-css.html which improves the styling of amsmath alignments tagged with MathML.
+% \item latex-list-css.html which improves the style of list environments.
+% \end{itemize}
+%
+% It is possible to suppress the embedding of these files by setting the \cs{tagpdfsetup} key
+% \texttt{attach-css} to \texttt{false}, \texttt{attach-css=true} or \texttt{attach-css} reverts this again.
+%
+% For developers, \cs{tagpdfsetup} some keys to manipulate the list exist:
+% With \verb+css-list={file1,file2}+ the list can be overwritten. \verb+css-list=+ clears
+% the list (and so suppresses the embedding too).
+% To remove a file from the list, use \verb+css-list-remove=file+, e.g.
+% \verb+css-list-remove=latex-list-css.html+. To add your
+% own file use \verb+css-list-add=my-fancy-align-css.html+.
+% It is also possible to attach a .css-file in this way.
+%
+% These keys do not affect files added directly with root-supplemental-file.
+%
+% The files in this list are attached at the end of the compilation (and so normally after the files attached with root-supplemental-file)
+% but you shouldn't rely on this or on a specific order of the embedding in the html.
+%
+% We want to avoid to embed files twice, so we use a prop.
+% \begin{macrocode}
+\prop_new:N \g_@@_css_prop
+\prop_gset_from_keyval:Nn \g_@@_css_prop
+ {
+ latex-list-css.html=true,
+ latex-align-css.html=true
+ }
+
+
+\bool_new:N \g_@@_css_bool
+\bool_gset_true:N \g_@@_css_bool
+
+\hook_gput_code:nnn{tagpdf/finish/before}{tagpdf/css}
+ {
+ \bool_lazy_and:nnT { \g_@@_css_bool }{ \tag_if_active_p: }
+ {
+ \prop_map_inline:Nn \g_@@_css_prop
+ {
+ \keys_set:nn { @@ / setup }{ root-supplemental-file= {#1} }
+ }
+ }
+ }
+
+\keys_define:nn { @@ / setup }
+ {
+ attach-css .bool_gset:N = \g_@@_css_bool,
+ css-list .code:n =
+ {
+ \tl_if_empty:nTF{#1}
+ {\prop_gclear:N \g_@@_css_prop }
+ {\prop_gput:Nnn \g_@@_css_prop { #1 }{true}}
+ },
+ css-list-add .code:n = { \prop_gput:Nnn \g_@@_css_prop { #1 }{true} },
+ css-list-remove .code:n = { \prop_gremove:Nn \g_@@_css_prop { #1 } },
+ }
+% \end{macrocode}
%</package>
% \end{implementation}
% \PrintIndex
Modified: trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx 2025-03-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx 2025-03-05 21:31:45 UTC (rev 74458)
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Version 0.99n, released 2025-02-23}
+% \date{Version 0.99o, released 2025-03-05}
% \maketitle%
%
% \begin{documentation}
@@ -153,7 +153,7 @@
% \begin{macrocode}
%<@@=tag>
%<*package>
-\ProvidesExplPackage {tagpdf} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf} {2025-03-05} {0.99o}
{ LaTeX kernel code for PDF tagging }
\bool_if:nF
@@ -179,7 +179,7 @@
% \end{macrocode}
%<*debug>
% \begin{macrocode}
-\ProvidesExplPackage {tagpdf-debug} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-debug} {2025-03-05} {0.99o}
{ 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-23} {0.99n}
+\ProvidesExplPackage {tagpdf-base} {2025-03-05} {0.99o}
{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 2025-03-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-base.sty 2025-03-05 21:31:45 UTC (rev 74458)
@@ -25,7 +25,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-base} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-base} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-generic.sty 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+\ProvidesExplPackage {tagpdf-debug-generic} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug-lua.sty 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+\ProvidesExplPackage {tagpdf-debug-lua} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-debug.sty 2025-03-05 21:31:45 UTC (rev 74458)
@@ -26,7 +26,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf-debug} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf-debug} {2025-03-05} {0.99o}
{ 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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def 2025-03-05 21:31:45 UTC (rev 74458)
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf-backend.dtx
-\ProvidesExplFile {tagpdf-luatex.def} {2025-02-23} {0.99n}
+\ProvidesExplFile {tagpdf-luatex.def} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2025-03-05} {0.99o}
{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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex-book.def 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2025-03-05} {0.99o}
%% {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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-latex.def 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2025-03-05} {0.99o}
%% {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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-mathml.def 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2025-03-05} {0.99o}
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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf.def 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2025-03-05} {0.99o}
%% {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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-ns-pdf2.def 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2025-03-05} {0.99o}
%% {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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child-2.csv 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2025-03-05} {0.99o}
,,,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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-parent-child.csv 2025-03-05 21:31:45 UTC (rev 74458)
@@ -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-23} {0.99n}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2025-03-05} {0.99o}
,,,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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua 2025-03-05 21:31:45 UTC (rev 74458)
@@ -24,8 +24,8 @@
local ProvidesLuaModule = {
name = "tagpdf",
- version = "0.99n", --TAGVERSION
- date = "2025-02-23", --TAGDATE
+ version = "0.99o", --TAGVERSION
+ date = "2025-03-05", --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-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty 2025-03-05 21:31:45 UTC (rev 74458)
@@ -28,7 +28,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdf} {2025-03-05} {0.99o}
{ LaTeX kernel code for PDF tagging }
\bool_if:nF
@@ -3989,6 +3989,39 @@
{ Contents }
{ (ref) }
+\prop_new:N \g__tag_css_prop
+\prop_gset_from_keyval:Nn \g__tag_css_prop
+ {
+ latex-list-css.html=true,
+ latex-align-css.html=true
+ }
+
+\bool_new:N \g__tag_css_bool
+\bool_gset_true:N \g__tag_css_bool
+
+\hook_gput_code:nnn{tagpdf/finish/before}{tagpdf/css}
+ {
+ \bool_lazy_and:nnT { \g__tag_css_bool }{ \tag_if_active_p: }
+ {
+ \prop_map_inline:Nn \g__tag_css_prop
+ {
+ \keys_set:nn { __tag / setup }{ root-supplemental-file= {#1} }
+ }
+ }
+ }
+
+\keys_define:nn { __tag / setup }
+ {
+ attach-css .bool_gset:N = \g__tag_css_bool,
+ css-list .code:n =
+ {
+ \tl_if_empty:nTF{#1}
+ {\prop_gclear:N \g__tag_css_prop }
+ {\prop_gput:Nnn \g__tag_css_prop { #1 }{true}}
+ },
+ css-list-add .code:n = { \prop_gput:Nnn \g__tag_css_prop { #1 }{true} },
+ css-list-remove .code:n = { \prop_gremove:Nn \g__tag_css_prop { #1 } },
+ }
%%
%%
%% End of file `tagpdf.sty'.
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty 2025-03-05 21:31:22 UTC (rev 74457)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty 2025-03-05 21:31:45 UTC (rev 74458)
@@ -1,5 +1,5 @@
%\RequirePackage[enable-debug]{expl3}[2018/06/14]
-\ProvidesExplPackage {tagpdfdocu-patches} {2025-02-23} {0.99n}
+\ProvidesExplPackage {tagpdfdocu-patches} {2025-03-05} {0.99o}
{patches/commands for the tagpdf documentation}
\RequirePackage{etoolbox,xpatch}
More information about the tex-live-commits
mailing list.