[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop, test-new-or-change: repair doclicense firstaid (ac2e947)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Oct 29 12:48:28 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branches: develop,test-new-or-change
Link       : https://github.com/latex3/pdfresources/commit/ac2e947de5e10dd9875fd2d5d8c0140a8c20e9fe

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

commit ac2e947de5e10dd9875fd2d5d8c0140a8c20e9fe
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Oct 29 12:48:28 2022 +0200

    repair doclicense firstaid


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

ac2e947de5e10dd9875fd2d5d8c0140a8c20e9fe
 pdfmanagement-firstaid.dtx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pdfmanagement-firstaid.dtx b/pdfmanagement-firstaid.dtx
index 2599378..4182b32 100644
--- a/pdfmanagement-firstaid.dtx
+++ b/pdfmanagement-firstaid.dtx
@@ -338,6 +338,17 @@
  {
    \disable at package@load{hyperxmp}{\msg_warning:nnn{pdfmanagement}{firstaid-disabled}{hyperxmp}}
    \disable at package@load{pdfx}    {\msg_warning:nnn{pdfmanagement}{firstaid-disabled}{pdfx}}
+   \AddToHook{package/doclicense/after}
+    {
+      \AtBeginDocument
+        {
+          \hypersetup
+            {
+              pdfcopyright  = {\doclicenseLongTextForHyperref},
+              pdflicenseurl = {\doclicenseURL},
+            }
+        }
+    }
  }
 %</package>
 %    \end{macrocode}





More information about the latex3-commits mailing list.