From 86feaa3690b21bee3d33c9fcfd429f53aee2b476 Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Fri, 12 Apr 2024 20:34:56 +0200 Subject: [PATCH] step version --- CHANGELOG.md | 5 ++++- Readme.md | 4 ++-- build.lua | 4 ++-- ctan.ann | 13 ++++++++++--- doc/CTANREADME.md | 4 ++-- doc/tagpdf.tex | 8 ++++---- 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, 61 insertions(+), 51 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 672ba6f4..ac3aa6bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,16 @@ 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-04-12] ### Added - \tag_spacechar_on:, \tag_spacechar_off: to locally switch off the real space chars. ### Fixed - spacechar in floats on the first page + +### Changed + - object handling if new l3kernel is detected ## [2024-03-27] Version 0.99a diff --git a/Readme.md b/Readme.md index 79e14c10..8d96dc4a 100644 --- a/Readme.md +++ b/Readme.md @@ -1,7 +1,7 @@ # tagpdf -![Version: 0.99a](https://img.shields.io/badge/current_version-0.99a-blue.svg?style=flat-square) -![Date: 2024-03-27](https://img.shields.io/badge/date-2024--03--27-blue.svg?style=flat-square) +![Version: 0.99b](https://img.shields.io/badge/current_version-0.99b-blue.svg?style=flat-square) +![Date: 2024-04-12](https://img.shields.io/badge/date-2024--04--12-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 e5d0945e..d0b46d81 100644 --- a/build.lua +++ b/build.lua @@ -1,6 +1,6 @@ -- Build script for tagpdf -packageversion="0.99a" -packagedate="2024-03-27" +packageversion="0.99b" +packagedate="2024-04-12" module = "tagpdf" ctanpkg = "tagpdf" diff --git a/ctan.ann b/ctan.ann index 418e2476..6edbdfb5 100644 --- a/ctan.ann +++ b/ctan.ann @@ -1,5 +1,12 @@ -## [2024-03-27] -Version 0.99a +## [2024-04-12] +Version 0.99b + +### Added + - \tag_spacechar_on:, \tag_spacechar_off: to locally switch off + the real space chars. ### Fixed - - correct backend command name + - spacechar in floats on the first page + +### Changed + - object handling if new l3kernel is detected diff --git a/doc/CTANREADME.md b/doc/CTANREADME.md index 2dd2455f..d5ec6a60 100644 --- a/doc/CTANREADME.md +++ b/doc/CTANREADME.md @@ -1,6 +1,6 @@ #tagpdf — A package to create tagged pdf -Packageversion: 0.99a -Packagedate: 2024/03/27 +Packageversion: 0.99b +Packagedate: 2024/04/12 Author: Ulrike Fischer, LaTeX Project Team ## License diff --git a/doc/tagpdf.tex b/doc/tagpdf.tex index d53a6d34..e023ba6d 100644 --- a/doc/tagpdf.tex +++ b/doc/tagpdf.tex @@ -16,8 +16,8 @@ } \DebugBlocksOff \makeatletter -\def\UlrikeFischer@package@version{0.99a} -\def\UlrikeFischer@package@date{2024-03-27} +\def\UlrikeFischer@package@version{0.99b} +\def\UlrikeFischer@package@date{2024-04-12} \makeatother \documentclass[bibliography=totoc,a4paper]{article} @@ -2436,10 +2436,10 @@ \section{\enquote{Real} space glyphs}\label{sec:spacechars} \begin{docCommands} { - {doc name=tag_space_off:} + {doc name=tag_space_off:}, {doc name=tag_space_on:} } -\end{docCommand} +\end{docCommands} The commands allow to switch on and off the insertion of space chars. With pdftex they map to primitive \cs{pdfinterwordspaceoff} and diff --git a/doc/tagpdfdocu-patches.sty b/doc/tagpdfdocu-patches.sty index c3e663ce..38a5f019 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-03-27} {0.99a} +\ProvidesExplPackage {tagpdfdocu-patches} {2024-04-12} {0.99b} {patches/commands for the tagpdf documentation} \RequirePackage{etoolbox,xpatch} diff --git a/tagpdf-backend.dtx b/tagpdf-backend.dtx index feb08304..0f388b25 100644 --- a/tagpdf-backend.dtx +++ b/tagpdf-backend.dtx @@ -47,13 +47,13 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \maketitle % \begin{implementation} % \begin{macrocode} %<@@=tag> %<*luatex> -\ProvidesExplFile {tagpdf-luatex.def} {2024-03-27} {0.99a} +\ProvidesExplFile {tagpdf-luatex.def} {2024-04-12} {0.99b} {tagpdf~driver~for~luatex} % \end{macrocode} % \section{Loading the lua} @@ -164,8 +164,8 @@ local ProvidesLuaModule = { name = "tagpdf", - version = "0.99a", --TAGVERSION - date = "2024-03-27", --TAGDATE + version = "0.99b", --TAGVERSION + date = "2024-04-12", --TAGDATE description = "tagpdf lua code", license = "The LATEX Project Public License 1.3c" } diff --git a/tagpdf-checks.dtx b/tagpdf-checks.dtx index 63b0185c..f786ede6 100644 --- a/tagpdf-checks.dtx +++ b/tagpdf-checks.dtx @@ -48,7 +48,7 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \maketitle % \begin{documentation} % \section{Commands} @@ -331,7 +331,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-checks-code} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-checks-code} {2024-04-12} {0.99b} {part of tagpdf - code related to checks, conditionals, debugging and messages} % % \end{macrocode} diff --git a/tagpdf-data.dtx b/tagpdf-data.dtx index fd99bcfd..d8cba421 100644 --- a/tagpdf-data.dtx +++ b/tagpdf-data.dtx @@ -47,7 +47,7 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \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-03-27} {0.99a} +%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-04-12} {0.99b} %% {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-03-27} {0.99a} +%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-04-12} {0.99b} %% {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-03-27} {0.99a} +%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-04-12} {0.99b} %% {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-03-27} {0.99a} +%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-04-12} {0.99b} %% {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-03-27} {0.99a} +%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-04-12} {0.99b} % {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-03-27} {0.99a} +%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-04-12} {0.99b} ,,,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-03-27} {0.99a} +%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-04-12} {0.99b} ,,,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 e5477fe1..b1ce874d 100644 --- a/tagpdf-mc-generic.dtx +++ b/tagpdf-mc-generic.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \maketitle % \begin{documentation} % \end{documentation} @@ -55,11 +55,11 @@ % \begin{macrocode} %<@@=tag> %<*generic> -\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-04-12} {0.99b} {part of tagpdf - code related to marking chunks - generic mode} % %<*debug> -\ProvidesExplPackage {tagpdf-debug-generic} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-debug-generic} {2024-04-12} {0.99b} {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 c3789356..9db6cc95 100644 --- a/tagpdf-mc-luacode.dtx +++ b/tagpdf-mc-luacode.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \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-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-04-12} {0.99b} {tagpdf - mc code only for the luamode } % %<*debug> -\ProvidesExplPackage {tagpdf-debug-lua} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-debug-lua} {2024-04-12} {0.99b} {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 54f5f2dc..aeadb889 100644 --- a/tagpdf-mc-shared.dtx +++ b/tagpdf-mc-shared.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \maketitle % \begin{documentation} % \section{Public Commands} @@ -181,7 +181,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-04-12} {0.99b} {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 77379192..de239c2d 100644 --- a/tagpdf-roles.dtx +++ b/tagpdf-roles.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \maketitle % \begin{documentation} % \begin{function} @@ -98,7 +98,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-roles-code} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-roles-code} {2024-04-12} {0.99b} {part of tagpdf - code related to roles and structure names} % % \end{macrocode} diff --git a/tagpdf-space.dtx b/tagpdf-space.dtx index 94d2c462..62c9fd1e 100644 --- a/tagpdf-space.dtx +++ b/tagpdf-space.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \maketitle % \begin{documentation} % \begin{function}{activate/space (setup-key),interwordspace (deprecated)} @@ -66,7 +66,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-space-code} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-space-code} {2024-04-12} {0.99b} {part of tagpdf - code related to real space chars} % % \end{macrocode} diff --git a/tagpdf-struct.dtx b/tagpdf-struct.dtx index e4f6030e..04ffa900 100644 --- a/tagpdf-struct.dtx +++ b/tagpdf-struct.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \maketitle % \begin{documentation} % \section{Public Commands} @@ -285,7 +285,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-struct-code} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-struct-code} {2024-04-12} {0.99b} {part of tagpdf - code related to storing structure} % % \end{macrocode} @@ -1936,7 +1936,7 @@ % \section{Attributes and attribute classes} % \begin{macrocode} %<*header> -\ProvidesExplPackage {tagpdf-attr-code} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-attr-code} {2024-04-12} {0.99b} {part of tagpdf - code related to attributes and attribute classes} % % \end{macrocode} diff --git a/tagpdf-tree.dtx b/tagpdf-tree.dtx index 7c5ff557..63192505 100644 --- a/tagpdf-tree.dtx +++ b/tagpdf-tree.dtx @@ -47,13 +47,13 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \maketitle % \begin{implementation} % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-tree-code} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-tree-code} {2024-04-12} {0.99b} {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 cb3a85b7..099cd952 100644 --- a/tagpdf-user.dtx +++ b/tagpdf-user.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.99a, released 2024-03-27} +% \date{Version 0.99b, released 2024-04-12} % \maketitle % \begin{documentation} % \section{Setup commands} @@ -309,7 +309,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-user} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-user} {2024-04-12} {0.99b} {tagpdf - user commands} % % \end{macrocode} diff --git a/tagpdf.dtx b/tagpdf.dtx index 295c7072..064490c2 100644 --- a/tagpdf.dtx +++ b/tagpdf.dtx @@ -87,7 +87,7 @@ % \begin{macrocode} %<@@=tag> %<*package> -\ProvidesExplPackage {tagpdf} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf} {2024-04-12} {0.99b} { A package to experiment with pdf tagging } \bool_if:nF @@ -113,7 +113,7 @@ % \end{macrocode} %<*debug> % \begin{macrocode} -\ProvidesExplPackage {tagpdf-debug} {2024-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-debug} {2024-04-12} {0.99b} { 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-03-27} {0.99a} +\ProvidesExplPackage {tagpdf-base} {2024-04-12} {0.99b} {part of tagpdf - provide base, no-op versions of the user commands } % % \end{macrocode}