diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def b/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def index e5b6258642b..6ca51746e32 100644 --- a/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def +++ b/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def @@ -26,7 +26,7 @@ %% %% File: l3backend-basics.dtx \ProvidesExplFile - {l3backend-luatex.def}{2023-01-16}{} + {l3backend-luatex.def}{2023-03-30}{} {L3 backend support: PDF output (LuaTeX)} \cs_if_exist:NTF \__kernel_dependency_version_check:nn { @@ -82,30 +82,6 @@ } \cs_generate_variant:Nn \__kernel_backend_matrix:n { x } %% File: l3backend-color.dtx -\cs_new_protected:Npn \__color_backend_pickup:N #1 - { - \exp_last_unbraced:Nx \__color_backend_pickup:w - { \current@color } ~ 0 ~ 0 ~ 0 \s__color_stop #1 - } -\cs_new_protected:Npn \__color_backend_pickup:w - #1 ~ #2 ~ #3 ~ #4 ~ #5 ~ #6 \s__color_stop #7 - { - \str_if_eq:nnTF {#2} { g } - { \tl_set:Nn #7 { { gray } {#1} } } - { - \str_if_eq:nnTF {#4} { rg } - { \tl_set:Nn #7 { { rgb } { #1 ~ #2 ~ #3 } } } - { - \str_if_eq:nnTF {#5} { k } - { \tl_set:Nn #7 { { cmyk } { #1 ~ #2 ~ #3 ~ #4 } } } - { - \tl_set:Nn #1 { { gray } { 0 } } - \msg_warning:nnx { color } { unhandled } - { \current@color } - } - } - } - } \int_new:N \l__color_backend_stack_int \cs_new_protected:Npn \__kernel_color_backend_stack_init:Nnn #1#2#3 { @@ -128,6 +104,8 @@ } \tl_new:N \l__color_backend_fill_tl \tl_new:N \l__color_backend_stroke_tl +\tl_set:Nn \l__color_backend_fill_tl { 0 ~ g } +\tl_set:Nn \l__color_backend_stroke_tl { 0 ~ G } \cs_new_protected:Npn \__color_backend_select_cmyk:n #1 { \__color_backend_select:nn { #1 ~ k } { #1 ~ K } } \cs_new_protected:Npn \__color_backend_select_gray:n #1 @@ -343,6 +321,7 @@ \cs_new_eq:NN \__color_backend_stroke_devicen:nn \__color_backend_stroke_separation:nn \cs_new_eq:NN \__color_backend_fill_reset: \__color_backend_reset: \cs_new_eq:NN \__color_backend_stroke_reset: \__color_backend_reset: +\lua_load_module:n {l3backend-luatex} %% File: l3backend-box.dtx \cs_new_protected:Npn \__box_backend_clip:N #1 { |