summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-30 20:02:48 +0000
committerKarl Berry <karl@freefriends.org>2024-04-30 20:02:48 +0000
commit93ae2978eea5bd5c39e8e0ac208a658c4c0c2e05 (patch)
tree9a31a5a2bcf42fa4bdf1d566d0ece85c8746f8e0 /Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
parentd3186416281e569168a45d7c80f7b87da4f63d8d (diff)
l3backend (30apr24)
git-svn-id: svn://tug.org/texlive/trunk@71139 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def')
-rw-r--r--Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def49
1 files changed, 23 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def b/Master/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
index aaa8312d5d8..cdd871cceda 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}{2024-03-14}{}
+ {l3backend-luatex.def}{2024-04-11}{}
{L3 backend support: PDF output (LuaTeX)}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
{
@@ -726,41 +726,38 @@
{ / #1 ~ #2 }
}
\prop_new:N \g__pdf_backend_object_prop
-\cs_new_protected:Npn \__pdf_backend_object_new:n #1
+\cs_new_protected:Npn \__pdf_backend_object_new:
{
\tex_pdfextension:D obj ~
reserveobjnum ~
- \int_const:cn
- { c__pdf_object_ \tl_to_str:n {#1} _int }
- { \tex_pdffeedback:D lastobj }
+ \int_gset:Nn \g__pdf_backend_object_int
+ { \tex_pdffeedback:D lastobj }
}
-\cs_new:Npn \__pdf_backend_object_ref:n #1
- { \int_use:c { c__pdf_object_ \tl_to_str:n {#1} _int } ~ 0 ~ R }
+\cs_new:Npn \__pdf_backend_object_ref:n #1 { #1 ~ 0 ~ R }
+\cs_new:Npn \__pdf_backend_object_id:n #1 {#1}
\cs_new_protected:Npn \__pdf_backend_object_write:nnn #1#2#3
{
\tex_immediate:D \tex_pdfextension:D obj ~
- useobjnum ~
- \int_use:c
- { c__pdf_object_ \tl_to_str:n {#1} _int }
- \__pdf_backend_object_write:nn {#2} {#3}
+ useobjnum ~ #1
+ \__pdf_backend_object_write:nn {#2} {#3}
}
\cs_new:Npn \__pdf_backend_object_write:nn #1#2
{
- \str_case:nn {#1}
- {
- { array } { { [ ~ \exp_not:n {#2} ~ ] } }
- { dict } { { << ~ \exp_not:n {#2} ~ >> } }
- { fstream }
- {
- stream ~ attr ~ { \__pdf_exp_not_i:nn #2 } ~
- file ~ { \__pdf_exp_not_ii:nn #2 }
- }
- { stream }
- {
- stream ~ attr ~ { \__pdf_exp_not_i:nn #2 } ~
- { \__pdf_exp_not_ii:nn #2 }
- }
- }
+ \str_case:nn {#1}
+ {
+ { array } { { [ ~ \exp_not:n {#2} ~ ] } }
+ { dict } { { << ~ \exp_not:n {#2} ~ >> } }
+ { fstream }
+ {
+ stream ~ attr ~ { \__pdf_exp_not_i:nn #2 } ~
+ file ~ { \__pdf_exp_not_ii:nn #2 }
+ }
+ { stream }
+ {
+ stream ~ attr ~ { \__pdf_exp_not_i:nn #2 } ~
+ { \__pdf_exp_not_ii:nn #2 }
+ }
+ }
}
\cs_generate_variant:Nn \__pdf_backend_object_write:nnn { nne }
\cs_new:Npn \__pdf_exp_not_i:nn #1#2 { \exp_not:n {#1} }