[latex3-commits] [git/LaTeX3-latex3-pdfresources] testmetadata: cleaning up keys (471f368)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Dec 30 00:51:55 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : testmetadata
Link       : https://github.com/latex3/pdfresources/commit/471f3683b44fe87f9ec790432606c04c301e7f51

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

commit 471f3683b44fe87f9ec790432606c04c301e7f51
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Dec 30 00:51:55 2021 +0100

    cleaning up keys


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

471f3683b44fe87f9ec790432606c04c301e7f51
 ltdocinit.dtx | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/ltdocinit.dtx b/ltdocinit.dtx
index c244458..bf156c2 100644
--- a/ltdocinit.dtx
+++ b/ltdocinit.dtx
@@ -378,6 +378,10 @@
           {
             \RequirePackage{tagpdf}
             \AddToDocumentProperties [document]{testphase/tagpdf}{loaded}
+            \tagpdfsetup{activate,paratagging,interwordspace}
+            \AddToDocumentProperties [document]{tagging}{active}
+            \AddToDocumentProperties [document]{tagging/para}{active}
+            \AddToDocumentProperties [document]{tagging/interwordspace}{active}
           }
       }
     ,testphase / unknown .code:n =
@@ -394,16 +398,9 @@
     ,activate .multichoice:
     ,activate / tagging .code:n =
       {
-        \AddToHook
-          {
-            package/tagpdf/after
-          }
-          {
-            \tagpdfsetup{activate,paratagging,interwordspace}
-            \AddToDocumentProperties [document]{tagging}{active}
-            \AddToDocumentProperties [document]{tagging/para}{active}
-            \AddToDocumentProperties [document]{tagging/interwordspace}{active}
-          }
+        \PackageWarning{pdfmanagement-testphase}
+         {The~activate~key~is~deprecated.\MessageBreak
+          Tagging~is~activated~with~'testphase=tagpdf'~directly}{}
       }
     ,debug .code:n =
       {





More information about the latex3-commits mailing list.