[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: adapt package, filehooks to new latex (e11b3b2)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Nov 22 00:52:24 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/e11b3b278368526de3a453f90818013602d4de2b

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

commit e11b3b278368526de3a453f90818013602d4de2b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Nov 22 00:52:24 2021 +0100

    adapt package, filehooks to new latex


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

e11b3b278368526de3a453f90818013602d4de2b
 firstaid/output-patches-tmp-ltx.dtx |  6 ++----
 hyperref-generic.dtx                |  2 +-
 ltdocinit.dtx                       | 12 +++---------
 pdfmanagement-firstaid.dtx          | 12 +++---------
 4 files changed, 9 insertions(+), 23 deletions(-)

diff --git a/firstaid/output-patches-tmp-ltx.dtx b/firstaid/output-patches-tmp-ltx.dtx
index cc0acb7..f084030 100644
--- a/firstaid/output-patches-tmp-ltx.dtx
+++ b/firstaid/output-patches-tmp-ltx.dtx
@@ -119,10 +119,8 @@
 %    \end{itemize}
 %
 %    \begin{macrocode}
-\AddToHook{%
-  \IfFormatAtLeastTF{2021-11-15}
-    {package/multicol/after}
-    {package/after/multicl}}{% multicol needs later loading
+\AddToHook{package/multicol/after}
+    {% multicol needs later loading
 %    \end{macrocode}
 %
 %    \begin{macrocode}
diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 24f129b..ea0e286 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -1493,7 +1493,7 @@
 % TODO We overwrite the color key here for now, but this should be moved to bookmark
 %
 %    \begin{macrocode}
-\AddToHook { package / after / bookmark}
+\AddToHook { package/bookmark/after}
  {
    \define at key{BKM}{color}
      {
diff --git a/ltdocinit.dtx b/ltdocinit.dtx
index 10ba973..4ad3640 100644
--- a/ltdocinit.dtx
+++ b/ltdocinit.dtx
@@ -414,9 +414,7 @@
       {
         \AddToHook
           {
-           \IfFormatAtLeastTF{2021-11-15}
-             {package/tagpdf/after}
-             {package/after/tagpdf}
+            package/tagpdf/after
           }
           {
             \tagpdfsetup{activate,paratagging,interwordspace}
@@ -433,9 +431,7 @@
       {
         \AddToHook
           {
-            \IfFormatAtLeastTF{2021-11-15}
-             {package/tagpdf/after}
-             {package/after/tagpdf}
+            package/tagpdf/after
           }
           {
              \tagpdfsetup{paratagging-show}
@@ -445,9 +441,7 @@
       {
         \AddToHook
           {
-            \IfFormatAtLeastTF{2021-11-15}
-             {package/tagpdf/after}
-             {package/after/tagpdf}
+           package/tagpdf/after
           }
           {
              \tagpdfsetup{log=#1}
diff --git a/pdfmanagement-firstaid.dtx b/pdfmanagement-firstaid.dtx
index 4858735..95665b9 100644
--- a/pdfmanagement-firstaid.dtx
+++ b/pdfmanagement-firstaid.dtx
@@ -139,9 +139,7 @@
   {
     \AddToHook
        {
-         \IfFormatAtLeastTF{2021-11-15}
-           {package/xcolor/after}
-           {package/after/xcolor}
+         package/xcolor/after
        }
        {\RequirePackage{xcolor-patches-tmp-ltx}\XC@@@@names}
   }
@@ -177,9 +175,7 @@
     \msg_info:nnn{pdfmanagement }{firstaid}{pgf}
     \AddToHook
       {
-        \IfFormatAtLeastTF{2021-11-15}
-          {file/pgfrcs.sty/after}
-          {file/after/pgfrcs.sty}
+        file/pgfrcs.sty/after
       }
       {
         \cs_set_eq:NN
@@ -285,9 +281,7 @@
  {
     \AddToHook
       {
-        \IfFormatAtLeastTF{2021-11-15}
-         {file/hyperxmp.sty/after}
-         {file/after/hyperxmp.sty}
+       file/hyperxmp.sty/after
       }
       {\RequirePackage{hyperxmp-patches-tmp-ltx}}
  }





More information about the latex3-commits mailing list.