[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: add unknown key handling for testphase (49cea09)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jul 20 16:07:17 CEST 2021


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

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

commit 49cea093c840ec8527ff7b896403a9a6c6cae68d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jul 20 16:07:17 2021 +0200

    add unknown key handling for testphase


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

49cea093c840ec8527ff7b896403a9a6c6cae68d
 ltdocinit.dtx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/ltdocinit.dtx b/ltdocinit.dtx
index b66bd56..b2c493f 100644
--- a/ltdocinit.dtx
+++ b/ltdocinit.dtx
@@ -397,6 +397,17 @@
               }
           }
       }
+    ,testphase / unknown .code:n =
+      {
+        \tl_gput_right:Nn\g_@@_testphase_tl
+           {
+             \AddToHook{class/after}
+               {
+                 \RequirePackage{#1-testphase}
+                 \AddToDocumentProperties [document]{testphase/#1}{loaded}
+               }
+           }
+      }
     ,activate .multichoice:
     ,activate / tagging .code:n =
       {





More information about the latex3-commits mailing list.