[latex3-commits] [git/LaTeX3-latex3-pdfresources] main: switch to hyperref as label for document properties (2e36199)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Feb 19 18:11:32 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : main
Link       : https://github.com/latex3/pdfresources/commit/2e361994f6d59a7f385f82b0d2d52570c86fab1f

>---------------------------------------------------------------

commit 2e361994f6d59a7f385f82b0d2d52570c86fab1f
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Feb 19 18:11:32 2021 +0100

    switch to hyperref as label for document properties


>---------------------------------------------------------------

2e361994f6d59a7f385f82b0d2d52570c86fab1f
 firstaid/hyperxmp-patches-tmp-ltx.sty | 4 ++--
 hyperref-generic.dtx                  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/firstaid/hyperxmp-patches-tmp-ltx.sty b/firstaid/hyperxmp-patches-tmp-ltx.sty
index 3232a44..4bf9ef3 100644
--- a/firstaid/hyperxmp-patches-tmp-ltx.sty
+++ b/firstaid/hyperxmp-patches-tmp-ltx.sty
@@ -111,12 +111,12 @@
     }
     {
      \tl_if_exist:cF{@##1}{\tl_new:c{@##1}}
-     \tl_set:cx {@##1}{\GetDocumentProperties{hyp/##1}}
+     \tl_set:cx {@##1}{\GetDocumentProperties{hyperref/##1}}
     }
 
     % pdfauthor, this is only a work around for simple author
     % TODO needs improvement
-    \pdfstringdef\@pdfauthor{\GetDocumentProperties{hyp/pdfauthor}}
+    \pdfstringdef\@pdfauthor{\GetDocumentProperties{hyperref/pdfauthor}}
     \cs_set_eq:NN\hyxmp at pdfauthor\@pdfauthor
 
     % pdflang,
diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 6a9873a..8667ad1 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -179,7 +179,7 @@
 %  \cs{GetDocumentProperties}.
 %
 %  \begin{verbatim}
-%  \edef\my at pdfauthor{\GetDocumentProperties{hyp/pdfauthor}}
+%  \edef\my at pdfauthor{\GetDocumentProperties{hyperref/pdfauthor}}
 %  \end{verbatim}
 %  If the key hasn't be set, the result is empty.
 %
@@ -1040,7 +1040,7 @@
 \cs_new_protected:Npn \@@_store_metadata:nn #1 #2 %#1 key, #2 value.
   {
     %\tl_set:cn {@#1}{#2}
-    \AddToDocumentProperties[hyp]{#1}{#2}
+    \AddToDocumentProperties{#1}{#2}
   }
 \cs_generate_variant:Nn \@@_store_metadata:nn {xn,nx,xx}
 %    \end{macrocode}





More information about the latex3-commits mailing list.