diff options
author | Karl Berry <karl@freefriends.org> | 2023-06-14 20:14:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-06-14 20:14:39 +0000 |
commit | 7e2af6eaaed92aa41c00d6b9e6d3c12c92a821f4 (patch) | |
tree | 28dbbcfe650ce999f6b6b1bd40f8bfa1b89da3de /Master/texmf-dist/doc | |
parent | dee2ee7d27450ffe7825d33a38f47d9945b8fbf9 (diff) |
tagpdf (14jun23)
git-svn-id: svn://tug.org/texlive/trunk@67368 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-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 | 1564470 -> 1593565 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf | bin | 1012495 -> 1021749 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex | 39 |
4 files changed, 27 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/tagpdf/README.md b/Master/texmf-dist/doc/latex/tagpdf/README.md index 5b4a1b211fb..bb0353de513 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.98h -Packagedate: 2023/06/06 +Packageversion: 0.98i +Packagedate: 2023/06/14 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 8fd8bc75419..5784294ea4d 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.pdf b/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf Binary files differindex a75c6a78dbd..329b97b8a5e 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 27cd1d128d2..1ee0abb1818 100644 --- a/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex +++ b/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex @@ -16,8 +16,8 @@ } \DebugBlocksOff \makeatletter -\def\UlrikeFischer@package@version{0.98h} -\def\UlrikeFischer@package@date{2023-06-06} +\def\UlrikeFischer@package@version{0.98i} +\def\UlrikeFischer@package@date{2023-06-14} \makeatother \documentclass[bibliography=totoc,a4paper]{article} @@ -298,6 +298,9 @@ structures can be inspected and be compared by the l3build checks.% \section{Changes} + +This section lists only important changes. More can be found in the \texttt{CHANGELOG.MD} and by checking the git commits. + \subsection{Changes in 0.3} @@ -509,12 +512,6 @@ added. The ID of a structure can be retrieved with |\tag_get:n| see~\ref{sec:retrieve}. -\subsection{Changes in version 0.98d} -The main change is from now on every structure has an ID and an IDtree is -added. The ID of a structure can be retrieved with |\tag_get:n| -see~\ref{sec:retrieve}. - - \subsection{Changes in version 0.98e} \begin{itemize} @@ -1211,16 +1208,30 @@ In \emph{generic mode}, where marked content command shouldn't be nested, it wor In \emph{lua mode} it tests if the mc-attribute is currently unset. You can't test the nesting level with it! + + +\begin{docCommand}{tag_mc_reset_box:N}{\marg{box}}\end{docCommand} + +In lua mode this command will process the given box and reset all mc related attributes in the box to the current values. +This means that if the box is used all its contents will be a kid of the current structure. +This should (probably) only be used on boxes which don't contain tagging commands. +See below section~\ref{sec:savebox} for more details. + + \subsubsection{Retrieving data} \label{sec:retrieve} With more elaborate tagging the need arise to retrieve and store current data. \begin{docCommand}{tag_get:n}{\marg{key word}}\end{docCommand} -This (expandable) command give back some variables. Currently the working key words are \verb+mc_tag+, \verb+struct_tag+, -\verb+struct_id+ and \verb+struct_num+. The ID is a string and returned including parentheses. -\verb+struct_num+ returns a number and works also if only \pkg{tagpdf-base} has been loaded, but then doesn't give the same output: if \pkg{tagpdf} is loaded and tagging is active, \verb+struct_num+ gives the number of currently -active structure, so it reverts to the parent number if a structure is closed. If only \pkg{tagpdf-base} is loaded -nesting of structure is not tracked and so the command gives back the number of the last structure that has been created. +This (expandable) command give back some variables. Currently the working key words are +\begin{itemize} +\item \verb+mc_tag+: the tag name of the current mc-chunk +\item \verb+struct_tag+: the tag name of the current structure +\item \verb+struct_id+: The ID of the current structure. This is a string and is returned including parentheses. +\item \verb+struct_num+: This returns a number and works also if only \pkg{tagpdf-base} has been loaded, but then doesn't give the same output: if \pkg{tagpdf} is loaded and tagging is active, \verb+struct_num+ gives the number of currently active structure, so it reverts to the parent number if a structure is closed. If only \pkg{tagpdf-base} is loaded nesting of structure is not tracked and so the command gives back the number of the last structure that has been created. +\item \verb+struct_counter+: This returns a number and works also if only \pkg{tagpdf-base} has been loaded. It gives back the state of the absolute structure counter and so number of the last structure that has been created. This can be used to detect if in a piece of code there are structure commands. Be aware that this is a \LaTeX{} counter and so reset in some places. +\item \verb+mc_counter+: This returns a number and works also if only \pkg{tagpdf-base} has been loaded. It gives back the state of the absolute mc-counter and so number of the last mc-chunk that has been created. This can be used to detect if in a piece of code there are mc-commands. +\end{itemize} \subsubsection{Luamode: global or not global -- that is the question}\label{sec:global-local} @@ -2209,7 +2220,7 @@ This is in pdftex a primitive. It inserts the dummy space glyph. \pkg{tagpdf} de necessary to surround destinations with a dummy structure (a Span or an Artifact) to get the right page number. - +\section{Storing and reusing boxes}\label{sec:savebox} \section{Accessibility is not only tagging} |