Skip to content

Commit

Permalink
step version and build ctan
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Feb 4, 2024
1 parent 2d6d6dc commit ac63086
Show file tree
Hide file tree
Showing 32 changed files with 75 additions and 62 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +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.

## [Unreleased]
## [2024-02-04]
Version 0.98v

### Fixed
- some rolemap entries in the pdf 2.0 fallback were wrong.
- fallback rolemap if a book class is used.
- corrected fallback rolemap if a book class is used.

### Changed
- removed the experimental name space latex-inline. It is unused
- removed the experimental name space latex-inline. It is unused.

## [2024-02-02]
Version 0.98u
Expand Down
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tagpdf

![Version: 0.98u](https://img.shields.io/badge/current_version-0.98u-blue.svg?style=flat-square)
![Date: 2024-02-02](https://img.shields.io/badge/date-2024--02--02-blue.svg?style=flat-square)
![Version: 0.98v](https://img.shields.io/badge/current_version-0.98v-blue.svg?style=flat-square)
![Date: 2024-02-04](https://img.shields.io/badge/date-2024--02--04-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
Expand Down
4 changes: 2 additions & 2 deletions build.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- Build script for tagpdf
packageversion="0.98u"
packagedate="2024-02-02"
packageversion="0.98v"
packagedate="2024-02-04"

module = "tagpdf"
ctanpkg = "tagpdf"
Expand Down
13 changes: 7 additions & 6 deletions ctan.ann
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Version 0.98u [2024-02-02]

## [2024-02-04]
Version 0.98v

### Fixed
- some rolemap entries in the pdf 2.0 fallback were wrong.
- corrected fallback rolemap if a book class is used.

### Changed
- the para/begin and para/end hook now use sockets and properly support the block
code in latex-lab.
- the structure number of the current para-main structure is stored to allow
manipulations of the structure.
- removed the experimental name space latex-inline. It is unused.
4 changes: 2 additions & 2 deletions doc/CTANREADME.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#tagpdf — A package to create tagged pdf
Packageversion: 0.98u
Packagedate: 2024/02/02
Packageversion: 0.98v
Packagedate: 2024/02/04
Author: Ulrike Fischer, LaTeX Project Team

## License
Expand Down
Binary file modified doc/ex-AF-file.pdf
Binary file not shown.
Binary file modified doc/ex-alt-actualtext.pdf
Binary file not shown.
Binary file modified doc/ex-attribute.pdf
Binary file not shown.
Binary file modified doc/ex-formula-problem.pdf
Binary file not shown.
Binary file modified doc/ex-list.pdf
Binary file not shown.
Binary file modified doc/ex-mc-manual-para-split-obsolete.pdf
Binary file not shown.
Binary file modified doc/ex-softhyphen.pdf
Binary file not shown.
Binary file modified doc/ex-spaceglyph-listings.pdf
Binary file not shown.
Binary file modified doc/ex-structure-obsolete.pdf
Binary file not shown.
Binary file modified doc/ex-tagpdf-template.pdf
Binary file not shown.
Binary file modified doc/tagpdf-code.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions doc/tagpdf.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
}
\DebugBlocksOff
\makeatletter
\def\UlrikeFischer@package@version{0.98u}
\def\UlrikeFischer@package@date{2024-02-02}
\def\UlrikeFischer@package@version{0.98v}
\def\UlrikeFischer@package@date{2024-02-04}
\makeatother

\documentclass[bibliography=totoc,a4paper]{article}
Expand Down
2 changes: 1 addition & 1 deletion doc/tagpdfdocu-patches.sty
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%\RequirePackage[enable-debug]{expl3}[2018/06/14]
\ProvidesExplPackage {tagpdfdocu-patches} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdfdocu-patches} {2024-02-04} {0.98v}
{patches/commands for the tagpdf documentation}
\RequirePackage{etoolbox,xpatch}

Expand Down
17 changes: 9 additions & 8 deletions resave.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ REM
REM Failed tests for configuration config-luatex:
REM
REM Check failed with difference files
l3build save -cconfig-luatex -eluatex issue13-mcid-array
l3build save -cconfig-luatex -eluatex issue14-artifact-bool
l3build save -cconfig-luatex -eluatex test-attribute
l3build save -cconfig-luatex -eluatex test-fakespace-box
l3build save -cconfig-luatex -eluatex test-fakespace-fontchange
l3build save -cconfig-luatex -eluatex test-fakespace-tagpdf
l3build save -cconfig-luatex -eluatex test-mc-alt
l3build save -cconfig-luatex -eluatex test-sectioning-koma
l3build save test-add-new-tag-2
l3build save -c config-pdftex test-struct-OBJR test-root-AF test-ref test-AFref show-variables-17 test-beast-1 test-namespace-pdfII-book test-namespace-pdfII-article test-link test-AF-file test-header-footer test-beast-2 parent-child-20-structures show-variables-20
l3build save -c config-luatex parent-child-20-structures test-header-footer test-struct-OBJR test-root-AF test-ref test-link test-AF-file



l3build check --show-saves test-add-new-tag-2
l3build check --show-saves -c config-pdftex test-struct-OBJR test-root-AF test-ref test-AFref show-variables-17 test-beast-1 test-namespace-pdfII-book test-namespace-pdfII-article test-link test-AF-file test-header-footer test-beast-2 parent-child-20-structures show-variables-20
l3build check --show-saves -c config-luatex parent-child-20-structures test-header-footer test-struct-OBJR test-root-AF test-ref test-link test-AF-file
8 changes: 4 additions & 4 deletions tagpdf-backend.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{implementation}
% \begin{macrocode}
%<@@=tag>
%<*luatex>
\ProvidesExplFile {tagpdf-luatex.def} {2024-02-02} {0.98u}
\ProvidesExplFile {tagpdf-luatex.def} {2024-02-04} {0.98v}
{tagpdf~driver~for~luatex}
% \end{macrocode}
% \section{Loading the lua}
Expand Down Expand Up @@ -158,8 +158,8 @@

local ProvidesLuaModule = {
name = "tagpdf",
version = "0.98u", --TAGVERSION
date = "2024-02-02", --TAGDATE
version = "0.98v", --TAGVERSION
date = "2024-02-04", --TAGDATE
description = "tagpdf lua code",
license = "The LATEX Project Public License 1.3c"
}
Expand Down
4 changes: 2 additions & 2 deletions tagpdf-checks.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{documentation}
% \section{Commands}
Expand Down Expand Up @@ -327,7 +327,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
\ProvidesExplPackage {tagpdf-checks-code} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-checks-code} {2024-02-04} {0.98v}
{part of tagpdf - code related to checks, conditionals, debugging and messages}
%</header>
% \end{macrocode}
Expand Down
16 changes: 8 additions & 8 deletions tagpdf-data.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{documentation}
% This files contains a various data files which are read in
Expand All @@ -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} {2024-02-02} {0.98u}
%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-02-04} {0.98v}
%% {latex} {https://www.latex-project.org/ns/dflt/2022}{}
title, Title, pdf2,
part, Title, pdf2,
Expand Down Expand Up @@ -92,7 +92,7 @@ text, P, pdf2,
% It is bound to change
% \begin{macrocode}
%<*ns-latex-book>
%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-02-02} {0.98u}
%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-02-04} {0.98v}
%% {latex-book} {https://www.latex-project.org/ns/book/2022}{}
chapter, H1,pdf2,
section, H2,pdf2,
Expand All @@ -106,7 +106,7 @@ subparagraph, H6,pdf2,
% \section{The pdf namespace data}
% \begin{macrocode}
%<*ns-pdf>
%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-02-02} {0.98u}
%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-02-04} {0.98v}
%% {pdf} {http://iso.org/pdf/ssn}{}
StructTreeRoot,StructTreeRoot,pdf,D,
Document,Document,pdf,D,
Expand Down Expand Up @@ -174,7 +174,7 @@ Strong,Span,pdf,I,
% \section{The pdf 2.0 namespace data}
% \begin{macrocode}
%<*ns-pdf2>
%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-02-02} {0.98u}
%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-02-04} {0.98v}
%% {pdf2} {http://iso.org/pdf2/ssn}{}
StructTreeRoot,StructTreeRoot,pdf2,D,
Document,Document,pdf2,D,
Expand Down Expand Up @@ -231,7 +231,7 @@ Strong,Strong,pdf2,I,
% \section{The mathml namespace data}
% \begin{macrocode}
%<*ns-mathml>
%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-02-02} {0.98u}
%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-02-04} {0.98v}
% {mathml}{http://www.w3.org/1998/Math/MathML}{}
abs,abs,mathml,
and,and,mathml,
Expand Down Expand Up @@ -466,7 +466,7 @@ xor,xor,mathml,
% This will perhaps change in future.
% \begin{macrocode}
%<*parent-child>
%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-02-02} {0.98u}
%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-02-04} {0.98v}
,,,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,∅,∅
Expand Down Expand Up @@ -521,7 +521,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-02} {0.98u}
%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-02-04} {0.98v}
,,,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,∅
Expand Down
6 changes: 3 additions & 3 deletions tagpdf-mc-generic.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{documentation}
% \end{documentation}
Expand All @@ -55,11 +55,11 @@
% \begin{macrocode}
%<@@=tag>
%<*generic>
\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-02-04} {0.98v}
{part of tagpdf - code related to marking chunks - generic mode}
%</generic>
%<*debug>
\ProvidesExplPackage {tagpdf-debug-generic} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-debug-generic} {2024-02-04} {0.98v}
{part of tagpdf - debugging code related to marking chunks - generic mode}
%</debug>
% \end{macrocode}
Expand Down
6 changes: 3 additions & 3 deletions tagpdf-mc-luacode.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{implementation}
% The code is splitted into three parts: code shared by all engines,
Expand Down Expand Up @@ -86,11 +86,11 @@
% \begin{macrocode}
%<@@=tag>
%<*luamode>
\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-02-04} {0.98v}
{tagpdf - mc code only for the luamode }
%</luamode>
%<*debug>
\ProvidesExplPackage {tagpdf-debug-lua} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-debug-lua} {2024-02-04} {0.98v}
{part of tagpdf - debugging code related to marking chunks - lua mode}
%</debug>
% \end{macrocode}
Expand Down
4 changes: 2 additions & 2 deletions tagpdf-mc-shared.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{documentation}
% \section{Public Commands}
Expand Down Expand Up @@ -181,7 +181,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-02-04} {0.98v}
{part of tagpdf - code related to marking chunks -
code shared by generic and luamode }
%</header>
Expand Down
4 changes: 2 additions & 2 deletions tagpdf-roles.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{documentation}
% \begin{function}
Expand Down Expand Up @@ -98,7 +98,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
\ProvidesExplPackage {tagpdf-roles-code} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-roles-code} {2024-02-04} {0.98v}
{part of tagpdf - code related to roles and structure names}
%</header>
% \end{macrocode}
Expand Down
4 changes: 2 additions & 2 deletions tagpdf-space.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{documentation}
% \begin{function}{interwordspace (setup-key)}
Expand All @@ -64,7 +64,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
\ProvidesExplPackage {tagpdf-space-code} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-space-code} {2024-02-04} {0.98v}
{part of tagpdf - code related to real space chars}
%</header>
% \end{macrocode}
Expand Down
6 changes: 3 additions & 3 deletions tagpdf-struct.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{documentation}
% \section{Public Commands}
Expand Down Expand Up @@ -285,7 +285,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
\ProvidesExplPackage {tagpdf-struct-code} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-struct-code} {2024-02-04} {0.98v}
{part of tagpdf - code related to storing structure}
%</header>
% \end{macrocode}
Expand Down Expand Up @@ -1905,7 +1905,7 @@
% \section{Attributes and attribute classes}
% \begin{macrocode}
%<*header>
\ProvidesExplPackage {tagpdf-attr-code} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-attr-code} {2024-02-04} {0.98v}
{part of tagpdf - code related to attributes and attribute classes}
%</header>
% \end{macrocode}
Expand Down
4 changes: 2 additions & 2 deletions tagpdf-tree.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{implementation}
% \begin{macrocode}
%<@@=tag>
%<*header>
\ProvidesExplPackage {tagpdf-tree-code} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-tree-code} {2024-02-04} {0.98v}
{part of tagpdf - code related to writing trees and dictionaries to the pdf}
%</header>
% \end{macrocode}
Expand Down
4 changes: 2 additions & 2 deletions tagpdf-user.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
% }^^A
% }
%
% \date{Version 0.98u, released 2024-02-02}
% \date{Version 0.98v, released 2024-02-04}
% \maketitle
% \begin{documentation}
% \section{Setup commands}
Expand Down Expand Up @@ -303,7 +303,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
\ProvidesExplPackage {tagpdf-user} {2024-02-02} {0.98u}
\ProvidesExplPackage {tagpdf-user} {2024-02-04} {0.98v}
{tagpdf - user commands}
%</header>
% \end{macrocode}
Expand Down
Loading

0 comments on commit ac63086

Please sign in to comment.