[latex3-commits] [git/LaTeX3-latex3-latex3] master: Get spot colors working in dvips (ca23f18df)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Aug 27 00:39:36 CEST 2020


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

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

commit ca23f18dff7229ad5978a43ffe7bcf425c27b0ef
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Aug 26 23:39:36 2020 +0100

    Get spot colors working in dvips


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

ca23f18dff7229ad5978a43ffe7bcf425c27b0ef
 l3backend/l3backend-color.dtx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3backend/l3backend-color.dtx b/l3backend/l3backend-color.dtx
index 3dd3b3d66..795bc52b7 100644
--- a/l3backend/l3backend-color.dtx
+++ b/l3backend/l3backend-color.dtx
@@ -281,7 +281,7 @@
 % \begin{macro}{\@@_backend_select_separation:nn}
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_backend_select_separation:nn #1#2
-  { \@@_backend_select:n {#1} }
+  { \@@_backend_select:n { setspotcolor ~ #1 ~ #2 } }
 %    \end{macrocode}
 % \end{macro}
 %
@@ -304,9 +304,8 @@
           { \AtBeginDvi }
           { \use:n }
             {
-              \exp_not:N \exp_args:Nx
                 \exp_not:N \@@_backend_separation_init:nnn
-                  { \exp_not:N \str_convert_pdfname:n {#1} } {#2} {#5}
+                  {#1} {#2} {#5}
             }
       }
   }
@@ -316,7 +315,8 @@
       {
         !
         TeXDict ~ begin ~
-        / #1 ~ [#3] ~ aload ~ pop ~ (#1) ~ 
+        /color \int_use:N \g_@@_separation_int \c_space_tl
+        [#3] ~ aload ~ pop ~ ( \str_convert_pdfname:n {#1} ) ~ 
         find \@@_backend_separation_init:n {#2} customcolor ~ def ~
         end
       }





More information about the latex3-commits mailing list.