Skip to content

Commit

Permalink
add debug key
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrike Fischer committed Sep 4, 2023
1 parent eb24273 commit c77ba3a
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions required/latex-lab/documentmetadata-support.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
%
%
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -234,7 +234,10 @@
% \item[\texttt{xmp-export}] This will export the XMP-metadata to a file \verb+\jobname.xmpi+.
% 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.
% 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}
%
Expand Down Expand Up @@ -460,6 +463,16 @@
\tagpdfsetup{log=#1}
}
}
,debug / tagpdf .code:n =
{
\AddToHook
{
package/tagpdf/after
}
{
\RequirePackage{tagpdf-debug}
}
}
,debug / uncompress .code:n =
{
\pdf_uncompress:
Expand Down

0 comments on commit c77ba3a

Please sign in to comment.