[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: add pdfmetadate key (db86819)
Ulrike Fischer
fischer at troubleshooting-tex.de
Mon Sep 5 16:37:27 CEST 2022
Repository : https://github.com/latex3/pdfresources
On branch : develop
Link : https://github.com/latex3/pdfresources/commit/db86819d70d5a96a774e7c73e9d31d7998212d2e
>---------------------------------------------------------------
commit db86819d70d5a96a774e7c73e9d31d7998212d2e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Sep 5 16:37:27 2022 +0200
add pdfmetadate key
>---------------------------------------------------------------
db86819d70d5a96a774e7c73e9d31d7998212d2e
hyperref-generic.dtx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 0223458..32df49a 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -3900,7 +3900,7 @@
\@@_setup_info_key:nn {keywords} {Keywords}
% \end{macrocode}
% \end{hypkey}
-% \begin{hypkey}{pdfcreationdate,pdfmoddate}
+% \begin{hypkey}{pdfcreationdate,pdfmoddate,pdfmetadata}
% These keys are not really needed. We store them too in the container.
% CreationDate and ModDate should not use the hex encoding.
% \begin{macrocode}
@@ -3938,6 +3938,10 @@
\@@_setup_info_date_key:nn {creationdate} {CreationDate}
\@@_setup_info_date_key:nn {moddate} {ModDate}
+\keys_define:nn { hyp / setup }
+ {
+ pdfmetadate .code:n = { \@@_store_metadata:nn {pdfmetadate}{#1} }
+ }
% \end{macrocode}
% \end{hypkey}
% \begin{hypkey}{pdftrapped}
More information about the latex3-commits
mailing list.