summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tagpdf/tagpdf-checks.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tagpdf/tagpdf-checks.dtx')
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-checks.dtx18
1 files changed, 10 insertions, 8 deletions
diff --git a/macros/latex/contrib/tagpdf/tagpdf-checks.dtx b/macros/latex/contrib/tagpdf/tagpdf-checks.dtx
index 53f97383f8..add77ce81f 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-checks.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-checks.dtx
@@ -24,11 +24,7 @@
%
%
%<*driver>
-\RequirePackage{pdfmanagement-testphase}
-\DeclareDocumentMetadata{}
-\makeatletter
-\declare@file@substitution{doc.sty}{doc-v3beta.sty}
-\makeatother
+\DocumentMetadata{}
\documentclass{l3doc}
\usepackage{array,booktabs,caption}
\hypersetup{pdfauthor=Ulrike Fischer,
@@ -52,7 +48,7 @@
% }^^A
% }
%
-% \date{Version 0.93, released 2022-01-13}
+% \date{Version 0.94, released 2022-05-11}
% \maketitle
% \begin{documentation}
% \section{Commands}
@@ -298,7 +294,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-checks-code} {2022-01-13} {0.93}
+\ProvidesExplPackage {tagpdf-checks-code} {2022-05-11} {0.94}
{part of tagpdf - code related to checks, conditionals, debugging and messages}
%</header>
% \end{macrocode}
@@ -468,6 +464,7 @@
% the only sensible values for the argument are |mc_tag| and |struct_tag|.
% \begin{macrocode}
\cs_new:Npn \tag_get:n #1 { \use:c {@@_get_data_#1: } }
+%</package>
% \end{macrocode}
% \end{macro}
%
@@ -478,7 +475,12 @@
% The test is true if all booleans, the global and the two local one are true.
%
% \begin{macrocode}
+%<*base>
\prg_new_conditional:Npnn \tag_if_active: { p , T , TF, F }
+ { \prg_return_false: }
+%</base>
+%<*package>
+\prg_set_conditional:Npnn \tag_if_active: { p , T , TF, F }
{
\bool_lazy_all:nTF
{
@@ -528,7 +530,7 @@
}
% \end{macrocode}
% \end{macro}
-% \subsection{Checks related to stuctures}
+% \subsection{Checks related to structures}
% \begin{macro}{\@@_check_structure_has_tag:n}
% Structures must have a tag, so we check if the S entry is in the property.
% It is an error if this is missing. The argument is a number.