[latex3-commits] [git/LaTeX3-latex3-pdfresources] testxmp: sync pdflang key with lang from \DocumentMetadata (8294724)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Sep 7 11:02:11 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : testxmp
Link       : https://github.com/latex3/pdfresources/commit/8294724f3ca55ac98ff3020e6aebf6855256ba80

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

commit 8294724f3ca55ac98ff3020e6aebf6855256ba80
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Sep 7 11:02:11 2022 +0200

    sync pdflang key with lang from \DocumentMetadata


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

8294724f3ca55ac98ff3020e6aebf6855256ba80
 hyperref-generic.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index bb720ee..9601fff 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -3817,7 +3817,7 @@
               {
                 \pdfmanagement_add:nnx {Catalog} { Lang } { (#1) }
               }
-            \@@_store_metadata:nn {pdflang}{#1}
+            \AddToDocumentProperties[document]{lang}{#1}
           }
    }
 %    \end{macrocode}





More information about the latex3-commits mailing list.