diff options
author | Norbert Preining <norbert@preining.info> | 2021-03-03 03:01:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-03-03 03:01:26 +0000 |
commit | 6a1383661dd7817761345a9d4ddfd9db6ba2dd1e (patch) | |
tree | dec33644ee8df10255c235853ff6ef809b223a90 /macros/latex/contrib/l3backend/l3backend-color.dtx | |
parent | 4763ec8ceefaf2b038d591b8c15d88d081aec6c9 (diff) |
CTAN sync 202103030301
Diffstat (limited to 'macros/latex/contrib/l3backend/l3backend-color.dtx')
-rw-r--r-- | macros/latex/contrib/l3backend/l3backend-color.dtx | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/macros/latex/contrib/l3backend/l3backend-color.dtx b/macros/latex/contrib/l3backend/l3backend-color.dtx index 451a0039a5..50271f57b3 100644 --- a/macros/latex/contrib/l3backend/l3backend-color.dtx +++ b/macros/latex/contrib/l3backend/l3backend-color.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-02-18} +% \date{Released 2021-03-02} % % \maketitle % @@ -211,17 +211,20 @@ { \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 } + \use:x { - \__kernel_backend_literal:x + \cs_if_exist:NTF \AtBeginDvi + { \exp_not:N \AtBeginDvi } + { \exp_not:N \use:n } { - pdfcolorstackinit ~ - \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) + \__kernel_backend_literal:n + { + pdfcolorstackinit ~ + \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) + } } } } @@ -235,6 +238,7 @@ { page ~ direct } { 0 ~ g ~ 0 ~ G } \int_set_eq:NN \l_@@_backend_stack_int \c_@@_backend_main_stack_int + \int_const:cn { main@pdfcolorstack } { \c_@@_backend_main_stack_int } } } % \end{macrocode} @@ -768,7 +772,6 @@ % \end{macrocode} % % \begin{macro}{\@@_backend_select_separation:nn, \@@_backend_select_devicen:nn} -% \begin{macro}{\@@_backend_select:n} % Although \texttt{(x)dvipdfmx} has a built-in approach to color spaces, that % can't be used with the generic color stacks. So we take an approach in which % we share the same code as for \pdfTeX{}. @@ -778,7 +781,6 @@ \cs_new_eq:NN \@@_backend_select_devicen:nn \@@_backend_select_separation:nn % \end{macrocode} % \end{macro} -% \end{macro} % % \begin{macro}{\@@_backend_separation_init:nnnnn} % \begin{macro}{\@@_backend_separation_init:n} |