diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tagpdf')
-rw-r--r-- | Master/texmf-dist/doc/latex/tagpdf/README.md | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.pdf | bin | 1195004 -> 1206588 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.tex | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf | bin | 486212 -> 488517 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex | 27 |
5 files changed, 19 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/tagpdf/README.md b/Master/texmf-dist/doc/latex/tagpdf/README.md index f614f459fa4..5f0f5ceccf3 100644 --- a/Master/texmf-dist/doc/latex/tagpdf/README.md +++ b/Master/texmf-dist/doc/latex/tagpdf/README.md @@ -1,6 +1,6 @@ #tagpdf — A package to create tagged pdf -Packageversion: 0.93 -Packagedate: 2022/01/13 +Packageversion: 0.94 +Packagedate: 2022/05/11 Author: Ulrike Fischer ## License diff --git a/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.pdf b/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.pdf Binary files differindex 6f92329af50..6ecb01b35de 100644 --- a/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.pdf +++ b/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.pdf diff --git a/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.tex b/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.tex index d51c2099299..9e71bc1eff9 100644 --- a/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.tex +++ b/Master/texmf-dist/doc/latex/tagpdf/tagpdf-code.tex @@ -23,11 +23,7 @@ for those people who are interested. \fi -\RequirePackage{pdfmanagement-testphase} -\DeclareDocumentMetadata{} -\makeatletter -\declare@file@substitution{doc.sty}{doc-v3beta.sty} -\makeatother +\DocumentMetadata{} \documentclass{l3doc} % The next line is needed so that \GetFileInfo will be able to pick up diff --git a/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf b/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf Binary files differindex 72892e853c1..d031e46f2d8 100644 --- a/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf +++ b/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf diff --git a/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex b/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex index af08d816512..8b1cf9f9b08 100644 --- a/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex +++ b/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex @@ -4,8 +4,8 @@ \DocumentMetadata{pdfversion=2.0,lang=en-UK,testphase=phase-II} \makeatletter -\def\UlrikeFischer@package@version{0.93} -\def\UlrikeFischer@package@date{2022-01-13} +\def\UlrikeFischer@package@version{0.94} +\def\UlrikeFischer@package@date{2022-05-11} \makeatother \documentclass[DIV=12,parskip=half-,bibliography=totoc]{scrartcl} @@ -57,7 +57,7 @@ } \usepackage{hyperxmp} -\usepackage[pdfdisplaydoctitle=true,hyperfootnotes=false, +\usepackage[pdfdisplaydoctitle=true,%hyperfootnotes=false, ]{hyperref} \hypersetup{ @@ -96,9 +96,6 @@ \begin{document} -\tagstructbegin{tag=Document} - - \tagstructbegin{tag=Title} \tagmcbegin{tag=Title} @@ -150,6 +147,14 @@ Issues, comments, suggestions should be added as issues to the github tracker: \tableofcontents +\section{Preface to version 0.94} + +In this version a small package, \pkg{tagpdf-base} has been added. It provides +no-op versions of the main expl3 user commands for packages that want to support +tagging but can't be sure if the \pkg{tagpdf} package has been loaded. + + + \section{Preface to version 0.93} The main change in the package itself in this version is the support for structure destinations. This is a new type of destinations in \PDF~2.0. @@ -189,7 +194,7 @@ Since many year the creation of accessible \PDF{}-files with \LaTeX\ which confo But in my opinion missing are means to \emph{experiment} with tagging and accessibility. Means to try out, how difficult it is to tag some structures, means to try out, how much tagging is really needed (standards and validators don't need to be right \ldots), means to test what else is needed so that a \PDF{} works e.g. with a screen reader. Without such experiments it is imho quite difficult to get a feeling about what has to be done, which kernel changes are needed, how packages should be adapted. This package tries to close this gap by offering \emph{core} commands to tag a \PDF{}% -\tagpdfparaOff\footnote{In case you don't know what this means: there will be some explanations later on.}\tagpdfparaOn. +\footnote{In case you don't know what this means: there will be some explanations later on.}. My hope is that the knowledge gained by the use of this package will at the end allow to decide if and how code to do tagging should be part of the \LaTeX\ kernel. @@ -566,7 +571,7 @@ That's a debug option, it helps in lua mode to see where space glyph will be ins \section{Tagging} -pdf is a page orientated graphic format. It simply puts ink and glyphs at various coordinates on a page. A simple stream of a page can look like this\tagpdfparaOff\footnote{The appendix contains some remarks about the syntax of a \PDF{} file}\tagpdfparaOn: +pdf is a page orientated graphic format. It simply puts ink and glyphs at various coordinates on a page. A simple stream of a page can look like this\footnote{The appendix contains some remarks about the syntax of a \PDF{} file}: \begin{lstlisting}[columns=fixed] stream @@ -711,7 +716,7 @@ They are marked with of a pair of keywords, \texttt{BDC} and \texttt{EMC} which -\item[Content] Content is marked also with of a pair of keywords, \texttt{BDC} and \texttt{EMC}. The first argument of \texttt{BDC} is a tag name which describes the structural type of the text\tagpdfparaOff\footnote{There is quite some redundancy in the specification here. The structural type is also set in the structure tree. One wonders if it isn't enough to use always \texttt{/SPAN} here.}\tagpdfparaOn +\item[Content] Content is marked also with of a pair of keywords, \texttt{BDC} and \texttt{EMC}. The first argument of \texttt{BDC} is a tag name which describes the structural type of the text\footnote{There is quite some redundancy in the specification here. The structural type is also set in the structure tree. One wonders if it isn't enough to use always \texttt{/SPAN} here.} Examples are \texttt{/P} (paragraph), \texttt{/H2} (heading), \texttt{/TD} (table cell). The reference mentions a number of standard types but it is possible to add more or to use different names. In the second argument of \texttt{BDC} -- in the property dictionary -- more data can be stored. \emph{Required} is an \texttt{/MCID}-key which takes an integer as a value: @@ -1436,7 +1441,8 @@ As an example here an attribute that can be attached to tabular header (type TH) One or more such attributes can be attached to a structure element. It is also possible to store such an attribute under a symbolic name in a so-called \enquote{ClassedMap} and then to attach references to such classes to a structure. To use such attributes you must at first declare it in \verb+\tagpdfsetup+ with the key \texttt{newattribute}. This key takes two argument, a name and the content of the attribute. -The name should be a sensible key name, the content a dictionary. +The name should be a sensible key name, it is converted to a pdf name with +\verb+\pdf_name_from_unicode_e:n+, so slashes and spaces are allow. The content should be a dictionary without the braket. @@ -1987,7 +1993,6 @@ This maps 0 to an array and 2 to the object reference \texttt{21 0 R}. Number tr \end{description} -\tagstructend %document \end{document} %http://msf.mathmlcloud.org/file_formats/8 %sample \PDF{} for math |