[latex3-commits] [latex3/latex2e] latexlab/rcb-updtagpdf: add debug key for tagpdf-debug (41e7a954)
github at latex-project.org
github at latex-project.org
Fri Sep 1 20:50:35 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : latexlab/rcb-updtagpdf
Link : https://github.com/latex3/latex2e/commit/41e7a95469f4718315cec1b1fa4565648cb05fc2
>---------------------------------------------------------------
commit 41e7a95469f4718315cec1b1fa4565648cb05fc2
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Sep 1 20:50:35 2023 +0200
add debug key for tagpdf-debug
>---------------------------------------------------------------
41e7a95469f4718315cec1b1fa4565648cb05fc2
required/latex-lab/documentmetadata-support.dtx | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/required/latex-lab/documentmetadata-support.dtx b/required/latex-lab/documentmetadata-support.dtx
index 60d29564..37348ca6 100644
--- a/required/latex-lab/documentmetadata-support.dtx
+++ b/required/latex-lab/documentmetadata-support.dtx
@@ -139,7 +139,7 @@
% |pdfstandard| can be used more than once to set overlapping standards, e.g:\\
% |pdfstandard=A-2b,pdfstandard=X-4,pdfstandard=UA-1|
%
-% If XMP-metadata are added (see the following key \texttt{xmp}
+% If XMP-metadata are added (see the following key \texttt{xmp})
% the needed conformance marker for the standards are set.
%
% More information can be found in the documentation
@@ -180,7 +180,7 @@
% \end{description}
%
% The various testphase modules can also be loaded individually (and least in theory,
-% they can be hidden dependencies). If loaded like this, the tagpdf package is not
+% there can be hidden dependencies). If loaded like this, the tagpdf package is not
% loaded and tagging is not activated! The list of modules will change over time.
% \begin{description}
% \item[\texttt{new-or-1}] This patches a few commands related
@@ -235,6 +235,9 @@
% with \texttt{debug=\{xmp-export=filename\}} the file name can be changed.
% More information can be found in the documentation of \pkg{l3pdfmeta} of the \pkg{pdfmanagement-testphase}
% bundle.
+% \item[\texttt{tagpdf}] This loads the \package{tagpdf-debug} which enhances
+% various commands from tagpdf with additional debugging options. This can slow down
+% the compilation!
% \end{description}
% \end{description}
%
@@ -460,6 +463,16 @@
\tagpdfsetup{log=#1}
}
}
+ ,debug / tagpdf .code:n =
+ {
+ \AddToHook
+ {
+ package/tagpdf/after
+ }
+ {
+ \RequirePackage{tagpdf-debug}
+ }
+ }
,debug / uncompress .code:n =
{
\pdf_uncompress:
More information about the latex3-commits
mailing list.