From 23e90dcf6bd2e39bebc2cc8cb12ba0c204ee55a6 Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Thu, 29 Feb 2024 14:50:57 +0100 Subject: [PATCH] step version --- CHANGELOG.md | 4 ++-- Readme.md | 4 ++-- build.lua | 4 ++-- ctan.ann | 17 ++++++----------- doc/CTANREADME.md | 4 ++-- doc/tagpdf.tex | 4 ++-- doc/tagpdfdocu-patches.sty | 2 +- tagpdf-backend.dtx | 8 ++++---- tagpdf-checks.dtx | 4 ++-- tagpdf-data.dtx | 16 ++++++++-------- tagpdf-mc-generic.dtx | 6 +++--- tagpdf-mc-luacode.dtx | 6 +++--- tagpdf-mc-shared.dtx | 4 ++-- tagpdf-roles.dtx | 4 ++-- tagpdf-space.dtx | 4 ++-- tagpdf-struct.dtx | 6 +++--- tagpdf-tree.dtx | 4 ++-- tagpdf-user.dtx | 4 ++-- tagpdf.dtx | 6 +++--- 19 files changed, 53 insertions(+), 58 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 166ce806..9c637dbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,11 @@ 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. -## [Unreleased] +## [2024-02-29] ### Added - structure destination is added OpenAction if present - - viewer/startstructure key to setup the OpenAction structure. + - new `viewer/startstructure` key to setup the OpenAction structure. ### Fixed - missing structparent value if page is empty in lua-mode diff --git a/Readme.md b/Readme.md index 4425ecec..ca1024e8 100644 --- a/Readme.md +++ b/Readme.md @@ -1,7 +1,7 @@ # tagpdf -![Version: 0.98w](https://img.shields.io/badge/current_version-0.98w-blue.svg?style=flat-square) -![Date: 2024-02-22](https://img.shields.io/badge/date-2024--02--22-blue.svg?style=flat-square) +![Version: 0.98x](https://img.shields.io/badge/current_version-0.98x-blue.svg?style=flat-square) +![Date: 2024-02-29](https://img.shields.io/badge/date-2024--02--29-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 cba0bf9b..0304e867 100644 --- a/build.lua +++ b/build.lua @@ -1,6 +1,6 @@ -- Build script for tagpdf -packageversion="0.98w" -packagedate="2024-02-22" +packageversion="0.98x" +packagedate="2024-02-29" module = "tagpdf" ctanpkg = "tagpdf" diff --git a/ctan.ann b/ctan.ann index 69dc346e..2e55fd4e 100644 --- a/ctan.ann +++ b/ctan.ann @@ -1,14 +1,9 @@ -## [2024-02-22] -Version 0.98w +## [2024-02-29] +Version 0.98x -### Changed - - various keys have been renamed and the old keys deprecated. A full list can be found in the documentation. - - speed gain for large documents by using linked properties +### Added + - structure destination is added OpenAction if present + - new `viewer/startstructure` key to setup the OpenAction structure. ### Fixed - - missing slashes in dvilualatex backend, issue #96 - - lua error with large object numbers, issue #97 - - existence tests for unknown props (issue latex3/latex3#1455) - -### Added - - role/map-tags key + - missing structparent value if page is empty in lua-mode diff --git a/doc/CTANREADME.md b/doc/CTANREADME.md index 63cec984..9f79f162 100644 --- a/doc/CTANREADME.md +++ b/doc/CTANREADME.md @@ -1,6 +1,6 @@ #tagpdf — A package to create tagged pdf -Packageversion: 0.98w -Packagedate: 2024/02/22 +Packageversion: 0.98x +Packagedate: 2024/02/29 Author: Ulrike Fischer, LaTeX Project Team ## License diff --git a/doc/tagpdf.tex b/doc/tagpdf.tex index cc3f570c..59eacee0 100644 --- a/doc/tagpdf.tex +++ b/doc/tagpdf.tex @@ -16,8 +16,8 @@ } \DebugBlocksOff \makeatletter -\def\UlrikeFischer@package@version{0.98w} -\def\UlrikeFischer@package@date{2024-02-22} +\def\UlrikeFischer@package@version{0.98x} +\def\UlrikeFischer@package@date{2024-02-29} \makeatother \documentclass[bibliography=totoc,a4paper]{article} diff --git a/doc/tagpdfdocu-patches.sty b/doc/tagpdfdocu-patches.sty index c294994d..17baec22 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} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdfdocu-patches} {2024-02-29} {0.98x} {patches/commands for the tagpdf documentation} \RequirePackage{etoolbox,xpatch} diff --git a/tagpdf-backend.dtx b/tagpdf-backend.dtx index 2e931a78..76402518 100644 --- a/tagpdf-backend.dtx +++ b/tagpdf-backend.dtx @@ -47,13 +47,13 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{implementation} % \begin{macrocode} %<@@=tag> %<*luatex> -\ProvidesExplFile {tagpdf-luatex.def} {2024-02-22} {0.98w} +\ProvidesExplFile {tagpdf-luatex.def} {2024-02-29} {0.98x} {tagpdf~driver~for~luatex} % \end{macrocode} % \section{Loading the lua} @@ -164,8 +164,8 @@ local ProvidesLuaModule = { name = "tagpdf", - version = "0.98w", --TAGVERSION - date = "2024-02-22", --TAGDATE + version = "0.98x", --TAGVERSION + date = "2024-02-29", --TAGDATE description = "tagpdf lua code", license = "The LATEX Project Public License 1.3c" } diff --git a/tagpdf-checks.dtx b/tagpdf-checks.dtx index 9dfa7f35..d92c8b36 100644 --- a/tagpdf-checks.dtx +++ b/tagpdf-checks.dtx @@ -48,7 +48,7 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{documentation} % \section{Commands} @@ -327,7 +327,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-checks-code} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-checks-code} {2024-02-29} {0.98x} {part of tagpdf - code related to checks, conditionals, debugging and messages} % % \end{macrocode} diff --git a/tagpdf-data.dtx b/tagpdf-data.dtx index 9addb595..70d71e4c 100644 --- a/tagpdf-data.dtx +++ b/tagpdf-data.dtx @@ -47,7 +47,7 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \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 precendence! % \begin{macrocode} %<*ns-latex> -%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-02-22} {0.98w} +%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-02-29} {0.98x} %% {latex} {https://www.latex-project.org/ns/dflt/2022}{} title, Title, pdf2, part, Title, pdf2, @@ -93,7 +93,7 @@ text, P, pdf2, % It is bound to change % \begin{macrocode} %<*ns-latex-book> -%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-02-22} {0.98w} +%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-02-29} {0.98x} %% {latex-book} {https://www.latex-project.org/ns/book/2022}{} chapter, H1,pdf2, section, H2,pdf2, @@ -107,7 +107,7 @@ subparagraph, H6,pdf2, % \section{The pdf namespace data} % \begin{macrocode} %<*ns-pdf> -%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-02-22} {0.98w} +%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-02-29} {0.98x} %% {pdf} {http://iso.org/pdf/ssn}{} StructTreeRoot,StructTreeRoot,pdf,D, Document,Document,pdf,D, @@ -175,7 +175,7 @@ Strong,Span,pdf,I, % \section{The pdf 2.0 namespace data} % \begin{macrocode} %<*ns-pdf2> -%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-02-22} {0.98w} +%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-02-29} {0.98x} %% {pdf2} {http://iso.org/pdf2/ssn}{} StructTreeRoot,StructTreeRoot,pdf2,D, Document,Document,pdf2,D, @@ -232,7 +232,7 @@ Strong,Strong,pdf2,I, % \section{The mathml namespace data} % \begin{macrocode} %<*ns-mathml> -%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-02-22} {0.98w} +%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-02-29} {0.98x} % {mathml}{http://www.w3.org/1998/Math/MathML}{} abs,abs,mathml, and,and,mathml, @@ -467,7 +467,7 @@ xor,xor,mathml, % This will perhaps change in future. % \begin{macrocode} %<*parent-child> -%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-02-22} {0.98w} +%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-02-29} {0.98x} ,,,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 @@ 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} {2024-02-22} {0.98w} +%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-02-29} {0.98x} ,,,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 0d86e3e3..6254c52b 100644 --- a/tagpdf-mc-generic.dtx +++ b/tagpdf-mc-generic.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{documentation} % \end{documentation} @@ -55,11 +55,11 @@ % \begin{macrocode} %<@@=tag> %<*generic> -\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-02-29} {0.98x} {part of tagpdf - code related to marking chunks - generic mode} % %<*debug> -\ProvidesExplPackage {tagpdf-debug-generic} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-debug-generic} {2024-02-29} {0.98x} {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 3ea053fc..14872c42 100644 --- a/tagpdf-mc-luacode.dtx +++ b/tagpdf-mc-luacode.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{implementation} % The code is splitted into three parts: code shared by all engines, @@ -86,11 +86,11 @@ % \begin{macrocode} %<@@=tag> %<*luamode> -\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-02-29} {0.98x} {tagpdf - mc code only for the luamode } % %<*debug> -\ProvidesExplPackage {tagpdf-debug-lua} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-debug-lua} {2024-02-29} {0.98x} {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 17027222..4f9d059c 100644 --- a/tagpdf-mc-shared.dtx +++ b/tagpdf-mc-shared.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{documentation} % \section{Public Commands} @@ -181,7 +181,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-02-29} {0.98x} {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 052b8051..6f48db87 100644 --- a/tagpdf-roles.dtx +++ b/tagpdf-roles.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{documentation} % \begin{function} @@ -98,7 +98,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-roles-code} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-roles-code} {2024-02-29} {0.98x} {part of tagpdf - code related to roles and structure names} % % \end{macrocode} diff --git a/tagpdf-space.dtx b/tagpdf-space.dtx index 9555e435..fc0cdd8c 100644 --- a/tagpdf-space.dtx +++ b/tagpdf-space.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{documentation} % \begin{function}{activate/space (setup-key),interwordspace (deprecated)} @@ -66,7 +66,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-space-code} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-space-code} {2024-02-29} {0.98x} {part of tagpdf - code related to real space chars} % % \end{macrocode} diff --git a/tagpdf-struct.dtx b/tagpdf-struct.dtx index 3cdced94..64bd8f4c 100644 --- a/tagpdf-struct.dtx +++ b/tagpdf-struct.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{documentation} % \section{Public Commands} @@ -285,7 +285,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-struct-code} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-struct-code} {2024-02-29} {0.98x} {part of tagpdf - code related to storing structure} % % \end{macrocode} @@ -1928,7 +1928,7 @@ % \section{Attributes and attribute classes} % \begin{macrocode} %<*header> -\ProvidesExplPackage {tagpdf-attr-code} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-attr-code} {2024-02-29} {0.98x} {part of tagpdf - code related to attributes and attribute classes} % % \end{macrocode} diff --git a/tagpdf-tree.dtx b/tagpdf-tree.dtx index 392d80c5..36d9e74c 100644 --- a/tagpdf-tree.dtx +++ b/tagpdf-tree.dtx @@ -47,13 +47,13 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{implementation} % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-tree-code} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-tree-code} {2024-02-29} {0.98x} {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 65a0811c..e51bb9d3 100644 --- a/tagpdf-user.dtx +++ b/tagpdf-user.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98w, released 2024-02-22} +% \date{Version 0.98x, released 2024-02-29} % \maketitle % \begin{documentation} % \section{Setup commands} @@ -309,7 +309,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-user} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-user} {2024-02-29} {0.98x} {tagpdf - user commands} % % \end{macrocode} diff --git a/tagpdf.dtx b/tagpdf.dtx index 15b5548d..a14273f8 100644 --- a/tagpdf.dtx +++ b/tagpdf.dtx @@ -87,7 +87,7 @@ % \begin{macrocode} %<@@=tag> %<*package> -\ProvidesExplPackage {tagpdf} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf} {2024-02-29} {0.98x} { A package to experiment with pdf tagging } \bool_if:nF @@ -113,7 +113,7 @@ % \end{macrocode} %<*debug> % \begin{macrocode} -\ProvidesExplPackage {tagpdf-debug} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-debug} {2024-02-29} {0.98x} { debug code for tagpdf } \@ifpackageloaded{tagpdf}{}{\PackageWarning{tagpdf-debug}{tagpdf~not~loaded,~quitting}\endinput} % \end{macrocode} @@ -136,7 +136,7 @@ % we define a base package with dummy functions % \begin{macrocode} %<*base> -\ProvidesExplPackage {tagpdf-base} {2024-02-22} {0.98w} +\ProvidesExplPackage {tagpdf-base} {2024-02-29} {0.98x} {part of tagpdf - provide base, no-op versions of the user commands } % % \end{macrocode}