[latex3-commits] [git/LaTeX3-latex3-pdfresources] testxmp: use hook for default values (dce1e2a)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Sep 9 12:50:22 CEST 2022
Repository : https://github.com/latex3/pdfresources
On branch : testxmp
Link : https://github.com/latex3/pdfresources/commit/dce1e2a5e509f422f202b7f83245b1928ff79c71
>---------------------------------------------------------------
commit dce1e2a5e509f422f202b7f83245b1928ff79c71
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Sep 9 12:50:22 2022 +0200
use hook for default values
>---------------------------------------------------------------
dce1e2a5e509f422f202b7f83245b1928ff79c71
l3pdfmeta.dtx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index 8c7b5d7..77e6f1e 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -1184,8 +1184,11 @@
% \end{variables}
% Preset the two fields to avoid problems with standards.
% \begin{macrocode}
-\pdfmanagement_add:nnx {Info}{Producer}{(\c_sys_engine_exec_str-\c_sys_engine_version_str)}
-\pdfmanagement_add:nnx {Info}{Creator}{(LaTeX)}
+\hook_gput_code:nnn{pdfmanagement/add}{pdfmanagement}
+ {
+ \pdfmanagement_add:nnx {Info}{Producer}{(\c_sys_engine_exec_str-\c_sys_engine_version_str)}
+ \pdfmanagement_add:nnx {Info}{Creator}{(LaTeX)}
+ }
% \end{macrocode}
% \subsection{New document keys}
% \begin{macrocode}
More information about the latex3-commits
mailing list.