[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: wrong test order ... (324e282)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jun 14 16:04:56 CEST 2022


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

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

commit 324e2823776b1583171c09099f666aea126b54d5
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jun 14 16:04:56 2022 +0200

    wrong test order ...


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

324e2823776b1583171c09099f666aea126b54d5
 pdfmanagement-firstaid.dtx | 49 +++++++++++++++++++++++-----------------------
 1 file changed, 25 insertions(+), 24 deletions(-)

diff --git a/pdfmanagement-firstaid.dtx b/pdfmanagement-firstaid.dtx
index 500ca8e..dcbb715 100644
--- a/pdfmanagement-firstaid.dtx
+++ b/pdfmanagement-firstaid.dtx
@@ -94,30 +94,31 @@
 % slightly change the way how the Opacity and Color key are handled.
 % The patch is only executed if luaotfload is new enough.
 %    \begin{macrocode}
-\lua_now:n
-  {
-   if~not~luaotfload.set_transparent_colorstack~
-   then~
-     tex.print("\\bool_set_false:N\\g_@@_firstaid_fontspec_bool")~
-   end
-  }
-\bool_if:NT \g_@@_firstaid_fontspec_bool
-  {
-    \sys_if_engine_luatex:T
-     {
-       \msg_info:nnn{pdfmanagement}{firstaid}{fontspec}
-       \file_if_exist:nT { luaotfload-l3color-tmp.lua }
-         {
-           \lua_load_module:n { luaotfload-l3color-tmp.lua }
-         }
-     }
-    \declare at file@substitution{fontspec-luatex.sty}{fontspec-luatex-tmp-ltx.sty}
-    \AddToHook{package/fontspec/after}
-     {
-       \str_if_eq:vnF{ver at fontspec.sty}{2022/01/15~v2.8a~Font~selection~for~XeLaTeX~and~LuaLaTeX}
-        {\msg_warn:nnn{pdfmanagement}{firstaid-changed}{fontspec}}
-     }
-  }
+\sys_if_engine_luatex:T
+   {
+     \lua_now:n
+       {
+        if~not~luaotfload.set_transparent_colorstack~
+        then~
+          tex.print("\\bool_set_false:N\\g_@@_firstaid_fontspec_bool")~
+        end
+       }
+     \bool_if:NT \g_@@_firstaid_fontspec_bool
+       {
+            \msg_info:nnn{pdfmanagement}{firstaid}{fontspec}
+            \file_if_exist:nT { luaotfload-l3color-tmp.lua }
+              {
+                \lua_load_module:n { luaotfload-l3color-tmp.lua }
+              }
+
+         \declare at file@substitution{fontspec-luatex.sty}{fontspec-luatex-tmp-ltx.sty}
+         \AddToHook{package/fontspec/after}
+          {
+            \str_if_eq:vnF{ver at fontspec.sty}{2022/01/15~v2.8a~Font~selection~for~XeLaTeX~and~LuaLaTeX}
+             {\msg_warn:nnn{pdfmanagement}{firstaid-changed}{fontspec}}
+          }
+       }
+   }
 %    \end{macrocode}
 % \subsection{Output routine}
 % This load as few patches for the LaTeX output routine commands. They add





More information about the latex3-commits mailing list.