[latex3-commits] [latex3/latex2e] latexlab/tagging-9: add debug key (c77ba3a2)
github at latex-project.org
github at latex-project.org
Mon Sep 4 14:17:08 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : latexlab/tagging-9
Link : https://github.com/latex3/latex2e/commit/c77ba3a2064173cea4a956cae47d125c6741fe60
>---------------------------------------------------------------
commit c77ba3a2064173cea4a956cae47d125c6741fe60
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Sep 4 14:17:08 2023 +0200
add debug key
>---------------------------------------------------------------
c77ba3a2064173cea4a956cae47d125c6741fe60
required/latex-lab/documentmetadata-support.dtx | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/required/latex-lab/documentmetadata-support.dtx b/required/latex-lab/documentmetadata-support.dtx
index 60d29564..3290cb58 100644
--- a/required/latex-lab/documentmetadata-support.dtx
+++ b/required/latex-lab/documentmetadata-support.dtx
@@ -18,8 +18,8 @@
% for those people who are interested or want to report an issue.
%
% \begin{macrocode}
-\def\documentmetadatasupportversion{1.0e}
-\def\documentmetadatasupportdate{2023-07-19}
+\def\documentmetadatasupportversion{1.0f}
+\def\documentmetadatasupportdate{2023-09-01}
% \end{macrocode}
%
%
@@ -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.