diff --git a/CHANGELOG.md b/CHANGELOG.md index 248069bd..cc15ba99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to the `tagpdf` package since the The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), this project uses date-based 'snapshot' version identifiers. +## [2023-11-10] +Version: 0.98n + +### Changed + - all commands use now e-types + +### Fixed + - deprecation error from \seq_set_map_x: + ## [2023-10-27] Version: 0.98m diff --git a/Readme.md b/Readme.md index e9fa7b2a..8e526d64 100644 --- a/Readme.md +++ b/Readme.md @@ -1,7 +1,7 @@ # tagpdf -![Version: 0.98m](https://img.shields.io/badge/current_version-0.98m-blue.svg?style=flat-square) -![Date: 2023-10-27](https://img.shields.io/badge/date-2023--10--27-blue.svg?style=flat-square) +![Version: 0.98n](https://img.shields.io/badge/current_version-0.98n-blue.svg?style=flat-square) +![Date: 2023-11-10](https://img.shields.io/badge/date-2023--11--10-blue.svg?style=flat-square) [![License: LPPL1.3c ](https://img.shields.io/badge/license-LPPL1.3c-blue.svg?style=flat-square)](https://ctan.org/license/lppl1.3c) A package to experiment with tagging and other requirements of accessible pdfs with pdflatex and lualatex diff --git a/build.lua b/build.lua index 2b90c66f..7311863a 100644 --- a/build.lua +++ b/build.lua @@ -1,6 +1,6 @@ -- Build script for tagpdf -packageversion="0.98m" -packagedate="2023-10-27" +packageversion="0.98n" +packagedate="2023-11-10" module = "tagpdf" ctanpkg = "tagpdf" diff --git a/ctan.ann b/ctan.ann index fab42d68..608f26da 100644 --- a/ctan.ann +++ b/ctan.ann @@ -1,10 +1,7 @@ -Version 0.98m [2023-10-27] +Version 0.98n [2023-11-10] ### Changed - - use new LaTeX properties if available - - change name of label to avoid problems with active underscore. - - start to move x-type functions to e-type functions - -### Fixed - - debugging code for structures didn't correctly reflect later changes + - all commands use now e-types +### Fixed + - deprecation error from \seq_set_map_x: diff --git a/doc/CTANREADME.md b/doc/CTANREADME.md index b5a8a983..b9a7b500 100644 --- a/doc/CTANREADME.md +++ b/doc/CTANREADME.md @@ -1,6 +1,6 @@ #tagpdf — A package to create tagged pdf -Packageversion: 0.98m -Packagedate: 2023/10/27 +Packageversion: 0.98n +Packagedate: 2023/11/10 Author: Ulrike Fischer ## License diff --git a/doc/ex-AF-file.pdf b/doc/ex-AF-file.pdf index ad143617..01005b4e 100644 Binary files a/doc/ex-AF-file.pdf and b/doc/ex-AF-file.pdf differ diff --git a/doc/ex-alt-actualtext.pdf b/doc/ex-alt-actualtext.pdf index 99066ad2..d006c4e7 100644 Binary files a/doc/ex-alt-actualtext.pdf and b/doc/ex-alt-actualtext.pdf differ diff --git a/doc/ex-attribute.pdf b/doc/ex-attribute.pdf index 67a1a336..3e56bd0c 100644 Binary files a/doc/ex-attribute.pdf and b/doc/ex-attribute.pdf differ diff --git a/doc/ex-formula-problem.pdf b/doc/ex-formula-problem.pdf index cc1671d7..9c1eb396 100644 Binary files a/doc/ex-formula-problem.pdf and b/doc/ex-formula-problem.pdf differ diff --git a/doc/ex-list.pdf b/doc/ex-list.pdf index 8b8c5280..4adf5f26 100644 Binary files a/doc/ex-list.pdf and b/doc/ex-list.pdf differ diff --git a/doc/ex-mc-manual-para-split-obsolete.pdf b/doc/ex-mc-manual-para-split-obsolete.pdf index 03d9baa2..a0a8da7c 100644 Binary files a/doc/ex-mc-manual-para-split-obsolete.pdf and b/doc/ex-mc-manual-para-split-obsolete.pdf differ diff --git a/doc/ex-softhyphen.pdf b/doc/ex-softhyphen.pdf index 75ac71bb..647091c0 100644 Binary files a/doc/ex-softhyphen.pdf and b/doc/ex-softhyphen.pdf differ diff --git a/doc/ex-spaceglyph-listings.pdf b/doc/ex-spaceglyph-listings.pdf index 54163da4..59c708ea 100644 Binary files a/doc/ex-spaceglyph-listings.pdf and b/doc/ex-spaceglyph-listings.pdf differ diff --git a/doc/ex-structure-obsolete.pdf b/doc/ex-structure-obsolete.pdf index dd921f6c..569172f2 100644 Binary files a/doc/ex-structure-obsolete.pdf and b/doc/ex-structure-obsolete.pdf differ diff --git a/doc/ex-tagpdf-template.pdf b/doc/ex-tagpdf-template.pdf index 2a6e5ac7..314850be 100644 Binary files a/doc/ex-tagpdf-template.pdf and b/doc/ex-tagpdf-template.pdf differ diff --git a/doc/tagpdf-code.pdf b/doc/tagpdf-code.pdf index f39263a0..8ad5a96e 100644 Binary files a/doc/tagpdf-code.pdf and b/doc/tagpdf-code.pdf differ diff --git a/doc/tagpdf.tex b/doc/tagpdf.tex index 213d6cc0..421244be 100644 --- a/doc/tagpdf.tex +++ b/doc/tagpdf.tex @@ -16,8 +16,8 @@ } \DebugBlocksOff \makeatletter -\def\UlrikeFischer@package@version{0.98m} -\def\UlrikeFischer@package@date{2023-10-27} +\def\UlrikeFischer@package@version{0.98n} +\def\UlrikeFischer@package@date{2023-11-10} \makeatother \documentclass[bibliography=totoc,a4paper]{article} @@ -117,27 +117,31 @@ \tagstructbegin{tag=Div} \begin{tcolorbox}[colframe=red,before upper=\tagpdfparaOn] -This package is not meant for normal document production. It is mainly a tool to \emph{research} -tagging. +This package is not meant for normal use in a document. It is on one mainly a tool to \emph{research} +tagging. On the other side it is the base of the code developed in the \texttt{latex-lab} bundle for the +Tagged PDF project \url{https://www.latex-project.org/publications/indexbytopic/pdf/}. -You need a very current \LaTeX{} format. -You need a very current L3 programming layer. -You need the new \LaTeX{} PDF management bundle. +The package develops together with the code in the \texttt{latex-lab} bundle, in the +\LaTeX{} format, in the \texttt{pdfmanagement-testphase} package (the \LaTeX{} PDF management bundle) +and the L3 programming layer. +That means you should ensure that all these components are up-to-date and in sync which each +other. -This package is incomplete, experimental and quite probably contains bugs. It is in parts -quite slow as the code prefers readability over speed. +This package quite probably contains bugs. It is in parts +quite slow as the code currently prefers readability over speed. At some time it will disappear when the code has been integrated into the \LaTeX{} format. -This package can change in an incompatible way. +This package can still change in an incompatible way. You need some knowledge about \TeX, \PDF{} and perhaps even lua to use it. \medskip -Issues, comments, suggestions should be added as issues to the github tracker: +Issues, comments, suggestions can be added as issues to these two github tracker: \medskip \centering +\url{https://github.com/latex3/tagging-project}\par \url{https://github.com/u-fischer/tagpdf} \end{tcolorbox} diff --git a/doc/tagpdfdocu-patches.sty b/doc/tagpdfdocu-patches.sty index dd08c7e2..c3a5d0bd 100644 --- a/doc/tagpdfdocu-patches.sty +++ b/doc/tagpdfdocu-patches.sty @@ -1,5 +1,5 @@ %\RequirePackage[enable-debug]{expl3}[2018/06/14] -\ProvidesExplPackage {tagpdfdocu-patches} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdfdocu-patches} {2023-11-10} {0.98n} {patches/commands for the tagpdf documentation} \RequirePackage{etoolbox,xpatch} diff --git a/tagpdf-backend.dtx b/tagpdf-backend.dtx index d6fcd70f..bad8cbe1 100644 --- a/tagpdf-backend.dtx +++ b/tagpdf-backend.dtx @@ -47,13 +47,13 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{implementation} % \begin{macrocode} %<@@=tag> %<*luatex> -\ProvidesExplFile {tagpdf-luatex.def} {2023-10-27} {0.98m} +\ProvidesExplFile {tagpdf-luatex.def} {2023-11-10} {0.98n} {tagpdf~driver~for~luatex} % \end{macrocode} % \section{Loading the lua} @@ -158,8 +158,8 @@ local ProvidesLuaModule = { name = "tagpdf", - version = "0.98m", --TAGVERSION - date = "2023-10-27", --TAGDATE + version = "0.98n", --TAGVERSION + date = "2023-11-10", --TAGDATE description = "tagpdf lua code", license = "The LATEX Project Public License 1.3c" } diff --git a/tagpdf-checks.dtx b/tagpdf-checks.dtx index a258f059..faad17d6 100644 --- a/tagpdf-checks.dtx +++ b/tagpdf-checks.dtx @@ -48,7 +48,7 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{documentation} % \section{Commands} @@ -313,7 +313,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-checks-code} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-checks-code} {2023-11-10} {0.98n} {part of tagpdf - code related to checks, conditionals, debugging and messages} % % \end{macrocode} diff --git a/tagpdf-ctan.zip b/tagpdf-ctan.zip index 63cac349..1399a27f 100644 Binary files a/tagpdf-ctan.zip and b/tagpdf-ctan.zip differ diff --git a/tagpdf-data.dtx b/tagpdf-data.dtx index 7ad2a3f3..db8d475c 100644 --- a/tagpdf-data.dtx +++ b/tagpdf-data.dtx @@ -47,7 +47,7 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{documentation} % This files contains a various data files which are read in @@ -60,7 +60,7 @@ % It lists the new tag, the rolemap and the namespace of the rolemap. % \begin{macrocode} %<*ns-latex> -%% \ProvidesExplFile {tagpdf-ns-latex.def} {2023-10-27} {0.98m} +%% \ProvidesExplFile {tagpdf-ns-latex.def} {2023-11-10} {0.98n} %% {latex} {https://www.latex-project.org/ns/dflt/2022}{} title, Title, pdf2, part, Title, pdf2, @@ -92,7 +92,7 @@ text, P, pdf2, % It is bound to change % \begin{macrocode} %<*ns-latex-book> -%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2023-10-27} {0.98m} +%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2023-11-10} {0.98n} %% {latex-book} {https://www.latex-project.org/ns/book/2022}{} chapter, H1,pdf2, section, H2,pdf2, @@ -108,7 +108,7 @@ subparagraph, H6,pdf2, % loaded. % \begin{macrocode} %<*ns-latex-inline> -%% \ProvidesExplFile {tagpdf-ns-latex-inline.def} {2023-10-27} {0.98m} +%% \ProvidesExplFile {tagpdf-ns-latex-inline.def} {2023-11-10} {0.98n} %% {latex-inline} {https://www.latex-project.org/ns/inline/2022}{} chapter, Span, pdf2, section, Span, pdf2, @@ -122,7 +122,7 @@ P, Span, pdf2, % \section{The pdf namespace data} % \begin{macrocode} %<*ns-pdf> -%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2023-10-27} {0.98m} +%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2023-11-10} {0.98n} %% {pdf} {http://iso.org/pdf/ssn}{} StructTreeRoot,StructTreeRoot,pdf,D, Document,Document,pdf,D, @@ -190,7 +190,7 @@ Strong,Span,pdf,I, % \section{The pdf 2.0 namespace data} % \begin{macrocode} %<*ns-pdf2> -%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2023-10-27} {0.98m} +%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2023-11-10} {0.98n} %% {pdf2} {http://iso.org/pdf2/ssn}{} Document,Document,pdf2,D, Part,Part,pdf2,G, @@ -246,7 +246,7 @@ Strong,Strong,pdf2,I, % \section{The mathml namespace data} % \begin{macrocode} %<*ns-mathml> -%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2023-10-27} {0.98m} +%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2023-11-10} {0.98n} % {mathml}{http://www.w3.org/1998/Math/MathML}{} abs,abs,mathml, and,and,mathml, @@ -481,7 +481,7 @@ xor,xor,mathml, % This will perhaps change in future. % \begin{macrocode} %<*parent-child> -%% \ProvidesExplFile {tagpdf-parent-child.csv} {2023-10-27} {0.98m} +%% \ProvidesExplFile {tagpdf-parent-child.csv} {2023-11-10} {0.98n} ,,,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,∅,∅ @@ -536,7 +536,7 @@ MC,both,---,∅,∅,∅,∅,∅,∅,0..n,‡,∅,∅,∅,0..n,0..n,0..n,0..n,0.. % This will perhaps change in future. % \begin{macrocode} %<*parent-child-2> -%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2023-10-27} {0.98m} +%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2023-11-10} {0.98n} ,,,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,∅ diff --git a/tagpdf-mc-generic.dtx b/tagpdf-mc-generic.dtx index fddc5fc9..16512290 100644 --- a/tagpdf-mc-generic.dtx +++ b/tagpdf-mc-generic.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{documentation} % \end{documentation} @@ -55,11 +55,11 @@ % \begin{macrocode} %<@@=tag> %<*generic> -\ProvidesExplPackage {tagpdf-mc-code-generic} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-mc-code-generic} {2023-11-10} {0.98n} {part of tagpdf - code related to marking chunks - generic mode} % %<*debug> -\ProvidesExplPackage {tagpdf-debug-generic} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-debug-generic} {2023-11-10} {0.98n} {part of tagpdf - debugging code related to marking chunks - generic mode} % % \end{macrocode} diff --git a/tagpdf-mc-luacode.dtx b/tagpdf-mc-luacode.dtx index df71e21b..43d8c782 100644 --- a/tagpdf-mc-luacode.dtx +++ b/tagpdf-mc-luacode.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{implementation} % The code is splitted into three parts: code shared by all engines, @@ -86,11 +86,11 @@ % \begin{macrocode} %<@@=tag> %<*luamode> -\ProvidesExplPackage {tagpdf-mc-code-lua} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-mc-code-lua} {2023-11-10} {0.98n} {tagpdf - mc code only for the luamode } % %<*debug> -\ProvidesExplPackage {tagpdf-debug-lua} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-debug-lua} {2023-11-10} {0.98n} {part of tagpdf - debugging code related to marking chunks - lua mode} % % \end{macrocode} diff --git a/tagpdf-mc-shared.dtx b/tagpdf-mc-shared.dtx index 023987c8..11b5f362 100644 --- a/tagpdf-mc-shared.dtx +++ b/tagpdf-mc-shared.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{documentation} % \section{Public Commands} @@ -181,7 +181,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-mc-code-shared} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-mc-code-shared} {2023-11-10} {0.98n} {part of tagpdf - code related to marking chunks - code shared by generic and luamode } % diff --git a/tagpdf-roles.dtx b/tagpdf-roles.dtx index 9fb54fae..3cec0cda 100644 --- a/tagpdf-roles.dtx +++ b/tagpdf-roles.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{documentation} % \begin{function} @@ -98,7 +98,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-roles-code} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-roles-code} {2023-11-10} {0.98n} {part of tagpdf - code related to roles and structure names} % % \end{macrocode} diff --git a/tagpdf-space.dtx b/tagpdf-space.dtx index e81586e7..0798ffa9 100644 --- a/tagpdf-space.dtx +++ b/tagpdf-space.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{documentation} % \begin{function}{interwordspace (setup-key)} @@ -64,7 +64,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-space-code} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-space-code} {2023-11-10} {0.98n} {part of tagpdf - code related to real space chars} % % \end{macrocode} diff --git a/tagpdf-struct.dtx b/tagpdf-struct.dtx index c5c71f82..6aeb54c3 100644 --- a/tagpdf-struct.dtx +++ b/tagpdf-struct.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{documentation} % \section{Public Commands} @@ -247,7 +247,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-struct-code} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-struct-code} {2023-11-10} {0.98n} {part of tagpdf - code related to storing structure} % % \end{macrocode} @@ -1848,7 +1848,7 @@ % \section{Attributes and attribute classes} % \begin{macrocode} %<*header> -\ProvidesExplPackage {tagpdf-attr-code} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-attr-code} {2023-11-10} {0.98n} {part of tagpdf - code related to attributes and attribute classes} % % \end{macrocode} @@ -1882,6 +1882,9 @@ % two brace group, the name and the content. The content typically % needs an |/O| key for the owner. An example look like % this. +% +% TODO: consider to put them directly in the ClassMap, that is perhaps +% more effective. % \begin{verbatim} % \tagpdfsetup % { diff --git a/tagpdf-tree.dtx b/tagpdf-tree.dtx index 5cdfd658..af7b1d08 100644 --- a/tagpdf-tree.dtx +++ b/tagpdf-tree.dtx @@ -47,13 +47,13 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{implementation} % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-tree-code} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-tree-code} {2023-11-10} {0.98n} {part of tagpdf - code related to writing trees and dictionaries to the pdf} % % \end{macrocode} diff --git a/tagpdf-user.dtx b/tagpdf-user.dtx index fa614913..25625e78 100644 --- a/tagpdf-user.dtx +++ b/tagpdf-user.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98m, released 2023-10-27} +% \date{Version 0.98n, released 2023-11-10} % \maketitle % \begin{documentation} % \section{Setup commands} @@ -250,7 +250,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-user} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-user} {2023-11-10} {0.98n} {tagpdf - user commands} % % \end{macrocode} diff --git a/tagpdf.dtx b/tagpdf.dtx index c03d1f0b..ed001717 100644 --- a/tagpdf.dtx +++ b/tagpdf.dtx @@ -93,7 +93,7 @@ % \begin{macrocode} %<@@=tag> %<*package> -\ProvidesExplPackage {tagpdf} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf} {2023-11-10} {0.98n} { A package to experiment with pdf tagging } \bool_if:nF @@ -119,7 +119,7 @@ % \end{macrocode} %<*debug> % \begin{macrocode} -\ProvidesExplPackage {tagpdf-debug} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-debug} {2023-11-10} {0.98n} { debug code for tagpdf } \@ifpackageloaded{tagpdf}{}{\PackageWarning{tagpdf-debug}{tagpdf~not~loaded,~quitting}\endinput} % \end{macrocode} @@ -142,7 +142,7 @@ % we define a base package with dummy functions % \begin{macrocode} %<*base> -\ProvidesExplPackage {tagpdf-base} {2023-10-27} {0.98m} +\ProvidesExplPackage {tagpdf-base} {2023-11-10} {0.98n} {part of tagpdf - provide base, no-op versions of the user commands } % % \end{macrocode} diff --git a/testfiles-pdftex/ptagging-003.tlg b/testfiles-pdftex/ptagging-003.tlg index 85696144..a2dce9a2 100644 --- a/testfiles-pdftex/ptagging-003.tlg +++ b/testfiles-pdftex/ptagging-003.tlg @@ -80,12 +80,12 @@ Socket tagsupport/fnmark: number of inputs = 1 available plugs = noop, identity, FEMark current plug = FEMark - definition = \protected\long macro:#1->\tag_mc_end_push: \tag_struct_begin:n {tag=footnotemark}\bool_if:NTF \l__fnote_autodetect_bool {\fnote_mark_gput:oo {\@thefnmark }{\l_fnote_type_tl }\tl_set:Nx \l__fnote_linktarget_tl {footnote*.\tag_get:n {struct_num}}}{\hook_gput_code:nne {tagpdf/finish/before}{tagpdf/footnote}{\exp_not:N \fnote_gput_refs:ee {\tag_get:n {struct_num}}{\ref_value:Vn \l__fnote_currentlabel_tl {fnote/struct}}}\tl_set:Nx \l__fnote_linktarget_tl {footnote*.\ref_value:Vn \l__fnote_currentlabel_tl {fnote/struct}}}\tag_mc_begin:n {tag=Lbl}\bool_if:NTF \l_fnote_link_bool {\exp_args:No \hyper@linkstart {\l_fnote_link_type_tl }{\l__fnote_linktarget_tl }#1\hyper@linkend }{#1}\tag_mc_end: \tag_struct_end: \tag_mc_begin_pop:n {} + definition = \protected\long macro:#1->\tag_mc_end_push: \tag_struct_begin:n {tag=footnotemark}\bool_if:NTF \l__fnote_autodetect_bool {\fnote_mark_gput:oo {\@thefnmark }{\l_fnote_type_tl }\tl_set:Ne \l__fnote_linktarget_tl {footnote*.\tag_get:n {struct_num}}}{\hook_gput_code:nne {tagpdf/finish/before}{tagpdf/footnote}{\exp_not:N \fnote_gput_refs:ee {\tag_get:n {struct_num}}{\property_ref:ee {__fnote/\l__fnote_currentlabel_tl }{fnote/struct}}}\tl_set:Ne \l__fnote_linktarget_tl {footnote*.\property_ref:ee {__fnote/\l__fnote_currentlabel_tl }{fnote/struct}}}\tag_mc_begin:n {tag=Lbl}\bool_if:NTF \l_fnote_link_bool {\exp_args:No \hyper@linkstart {\l_fnote_link_type_tl }{\l__fnote_linktarget_tl }#1\hyper@linkend }{#1}\tag_mc_end: \tag_struct_end: \tag_mc_begin_pop:n {} Socket tagsupport/fntext/begin: number of inputs = 0 available plugs = noop, FENote current plug = FENote - definition = \protected\long macro:->\tag_mc_end_push: \tag_check_child:nnTF {FENote}{pdf2}{\tag_struct_begin:n {tag=footnote}}{\tag_struct_begin:n {tag=footnote,parent=\l__fnote_dflt_struct_tl }}\tl_set:Nx \l__fnote_currentstruct_tl {\tag_get:n {struct_num}}\tag_struct_begin:n {tag=footnotelabel}\tag_struct_end: \bool_if:NTF \l__fnote_autodetect_bool {\fnote_mark_gpop_all:ooN {\@thefnmark }{\l_fnote_type_tl }\l__fnote_currentrefs_seq \seq_map_inline:Nn \l__fnote_currentrefs_seq {\fnote_gput_refs:ee {##1}{\l__fnote_currentstruct_tl }}}{} + definition = \protected\long macro:->\tag_mc_end_push: \tag_check_child:nnTF {FENote}{pdf2}{\tag_struct_begin:n {tag=footnote}}{\tag_struct_begin:n {tag=footnote,parent=\l__fnote_dflt_struct_tl }}\tl_set:Ne \l__fnote_currentstruct_tl {\tag_get:n {struct_num}}\tag_struct_begin:n {tag=footnotelabel}\tag_struct_end: \bool_if:NTF \l__fnote_autodetect_bool {\fnote_mark_gpop_all:ooN {\@thefnmark }{\l_fnote_type_tl }\l__fnote_currentrefs_seq \seq_map_inline:Nn \l__fnote_currentrefs_seq {\fnote_gput_refs:ee {##1}{\l__fnote_currentstruct_tl }}}{} Socket tagsupport/fntext/end: number of inputs = 0 available plugs = noop, FENote @@ -109,7 +109,7 @@ Socket tagsupport/fntext/text: > The hook is empty. -> The hook 'fntext/begin': > Code chunks: -> latex-lab-testphase-new-or-2 -> \cs_set_protected:Npn \__fnote_label_hook:n ##1{\ref_label:nn {##1}{fnote/struct}} +> latex-lab-testphase-new-or-2 -> \cs_set_protected:Npn \__fnote_label_hook:e ##1{\property_record:ee {__fnote/##1}{fnote/struct}} > Document-level (top-level) code (executed last): > --- > Extra code for next invocation: