summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def')
-rw-r--r--Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def40
1 files changed, 17 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def b/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def
index 7146ee10cdc..67f92072dcd 100644
--- a/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def
+++ b/Master/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def
@@ -26,7 +26,7 @@
%%
%% File: l3backend-basics.dtx
\ProvidesExplFile
- {l3backend-dvipdfmx.def}{2022-08-23}{}
+ {l3backend-dvipdfmx.def}{2022-08-30}{}
{L3 backend support: dvipdfmx}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
@@ -147,8 +147,8 @@
{
\use:x
{
- \pdf_object_new:nn { color \int_use:N \g__color_model_int } { array }
- \pdf_object_write:nn { color \int_use:N \g__color_model_int }
+ \pdf_object_new:n { color \int_use:N \g__color_model_int }
+ \pdf_object_write:nnn { color \int_use:N \g__color_model_int } { array }
{ /Separation /#1 ~ #2 ~ \pdf_object_ref_last: }
}
\prop_gput:Nnx \g__color_backend_colorant_prop { /#1 }
@@ -158,8 +158,8 @@
{
\pdf_object_if_exist:nF { __color_illuminant_CIELAB_ #1 }
{
- \pdf_object_new:nn { __color_illuminant_CIELAB_ #1 } { array }
- \pdf_object_write:nx { __color_illuminant_CIELAB_ #1 }
+ \pdf_object_new:n { __color_illuminant_CIELAB_ #1 }
+ \pdf_object_write:nnx { __color_illuminant_CIELAB_ #1 } { array }
{
/Lab ~
<<
@@ -202,8 +202,8 @@
}
\use:x
{
- \pdf_object_new:nn { color \int_use:N \g__color_model_int } { array }
- \pdf_object_write:nn { color \int_use:N \g__color_model_int }
+ \pdf_object_new:n { color \int_use:N \g__color_model_int }
+ \pdf_object_write:nnn { color \int_use:N \g__color_model_int } { array }
{
/DeviceN ~
[ ~ #1 ~ ] ~
@@ -224,8 +224,8 @@
{
\pdf_object_if_exist:nF { __color_icc_ #1 }
{
- \pdf_object_new:nn { __color_icc_ #1 } { fstream }
- \pdf_object_write:nx { __color_icc_ #1 }
+ \pdf_object_new:n { __color_icc_ #1 }
+ \pdf_object_write:nnx { __color_icc_ #1 } { fstream }
{
{
/N ~ \exp_not:n { #2 } ~
@@ -242,8 +242,8 @@
{
\pdf_object_if_exist:nF { __color_icc_ #1 }
{
- \pdf_object_new:nn { __color_icc_ #1 } { fstream }
- \pdf_object_write:nn { __color_icc_ #1 }
+ \pdf_object_new:n { __color_icc_ #1 }
+ \pdf_object_write:nnn { __color_icc_ #1 } { fstream }
{
{ /N ~ #3 }
{#1}
@@ -625,27 +625,21 @@
{ \__pdf_backend:n { docinfo << /#1 ~ #2 >> } }
\int_new:N \g__pdf_backend_object_int
\prop_new:N \g__pdf_backend_object_prop
-\cs_new_protected:Npn \__pdf_backend_object_new:nn #1#2
+\cs_new_protected:Npn \__pdf_backend_object_new:n #1
{
\int_gincr:N \g__pdf_backend_object_int
\int_const:cn
- { c__pdf_backend_object_ \tl_to_str:n {#1} _int }
+ { c__pdf_object_ \tl_to_str:n {#1} _int }
{ \g__pdf_backend_object_int }
- \prop_gput:Nnn \g__pdf_backend_object_prop {#1} {#2}
}
\cs_new:Npn \__pdf_backend_object_ref:n #1
- { @pdf.obj \int_use:c { c__pdf_backend_object_ \tl_to_str:n {#1} _int } }
-\cs_new_protected:Npn \__pdf_backend_object_write:nn #1#2
- {
- \exp_args:Nx \__pdf_backend_object_write:nnn
- { \prop_item:Nn \g__pdf_backend_object_prop {#1} } {#1} {#2}
- }
-\cs_generate_variant:Nn \__pdf_backend_object_write:nn { nx }
+ { @pdf.obj \int_use:c { c__pdf_object_ \tl_to_str:n {#1} _int } }
\cs_new_protected:Npn \__pdf_backend_object_write:nnn #1#2#3
{
- \use:c { __pdf_backend_object_write_ #1 :nn }
- { \__pdf_backend_object_ref:n {#2} } {#3}
+ \use:c { __pdf_backend_object_write_ #2 :nn }
+ { \__pdf_backend_object_ref:n {#1} } {#3}
}
+\cs_generate_variant:Nn \__pdf_backend_object_write:nnn { nnx }
\cs_new_protected:Npn \__pdf_backend_object_write_array:nn #1#2
{
\__pdf_backend:x