[latex3-commits] [git/LaTeX3-latex3-latex3] master: Ints should be backend-specfifc (239666f08)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jan 12 15:37:28 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/239666f086144e0a422b6401229f30b328e8cf8e

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

commit 239666f086144e0a422b6401229f30b328e8cf8e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jan 12 14:28:45 2021 +0000

    Ints should be backend-specfifc


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

239666f086144e0a422b6401229f30b328e8cf8e
 l3backend/l3backend-color.dtx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/l3backend/l3backend-color.dtx b/l3backend/l3backend-color.dtx
index f84f9f881..f37dd14d0 100644
--- a/l3backend/l3backend-color.dtx
+++ b/l3backend/l3backend-color.dtx
@@ -180,17 +180,17 @@
 %    \end{macrocode}
 %
 % \begin{macro}{\__kernel_color_stack_init:Nnn}
-% \begin{variable}{\g_@@_stack_int, \c_@@_main_stack_int}
+% \begin{variable}{\g_@@_backend_stack_int, \c_@@_backend_main_stack_int}
 %   In \texttt{(x)dvipdfmx}, the base color stack is not set up, so we have to
 %   force that, as well as providing a mechanism more generally.
 %    \begin{macrocode}
 \int_compare:nNnF \c__kernel_sys_dvipdfmx_version_int < { 20201111 }
   {
-    \int_new:N \g_@@_stack_int
+    \int_new:N \g_@@_backend_stack_int
     \cs_new_protected:Npx \__kernel_color_stack_init:Nnn #1#2#3
       {
-        \int_gincr:N \exp_not:N \g_@@_stack_int
-        \int_const:Nn #1 { \exp_not:N \g_@@_stack_int }
+        \int_gincr:N \exp_not:N \g_@@_backend_stack_int
+        \int_const:Nn #1 { \exp_not:N \g_@@_backend_stack_int }
         \cs_if_exist:NTF \AtBeginDvi
           { \exp_not:N \AtBeginDvi }
           { \exp_not:N \use:n }
@@ -198,7 +198,7 @@
             \__kernel_backend_literal:x
               {
                 pdfcolorstackinit ~
-                \exp_not:N \int_use:N \exp_not:N \g_@@_stack_int
+                \exp_not:N \int_use:N \exp_not:N \g_@@_backend_stack_int
                 \c_space_tl
                 \exp_not:N \tl_if_blank:nF {#2} { #2 ~ }
                 (#3)
@@ -211,10 +211,10 @@
           { \int_use:c { main at pdfcolorstack } }
       }
       {
-        \__kernel_color_stack_init:Nnn \c_@@_main_stack_int
+        \__kernel_color_stack_init:Nnn \c_@@_backend_main_stack_int
           { page ~ direct } { 0 ~ g ~ 0 ~ G }
         \int_set_eq:NN \l__kernel_color_stack_int
-          \c_@@_main_stack_int
+          \c_@@_backend_main_stack_int
       }
     
   }





More information about the latex3-commits mailing list.