[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: move boolean for backend/l3color (7017101)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Feb 27 23:35:10 CET 2021


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

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

commit 70171012e7eb879d02d2d5ef1256239fbe95d3d3
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Feb 27 23:35:10 2021 +0100

    move boolean for backend/l3color


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

70171012e7eb879d02d2d5ef1256239fbe95d3d3
 ltdocinit.dtx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ltdocinit.dtx b/ltdocinit.dtx
index d548efc..68cea0b 100644
--- a/ltdocinit.dtx
+++ b/ltdocinit.dtx
@@ -189,18 +189,19 @@
 %    \end{macrocode}
 % The wanted backend must be detected first, we read the init key and then
 % force the loading by either loading l3pdf (+ expl3) or only expl3.
+% The backend contains now management command, so the boolean should true first.
 %    \begin{macrocode}
         \keys_set_groups:nnn { document / metadata} {init}{ #1 }
         %should be loaded after the backend is set, and only if not in the kernel
+        \bool_gset_true:N \g_@@_active_bool
         \cs_if_free:NTF \pdf_uncompress:
          {\RequirePackage{l3pdf}}{\RequirePackage{expl3}}
 %    \end{macrocode}
-% Now we load the extra backend code and set the boolean to true
+% Now we load the extra backend code
 %    \begin{macrocode}
         \ExplSyntaxOn\makeatletter
           \file_input:n {l3backend-testphase-\c_sys_backend_str.def}
         \ExplSyntaxOff\makeatother
-        \bool_gset_true:N \g_@@_active_bool
 %    \end{macrocode}
 % set the default language, process the rest of the keys,
 % and setup the generic driver





More information about the latex3-commits mailing list.