summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def')
-rw-r--r--Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def37
1 files changed, 5 insertions, 32 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def
index d8563623fe5..ecf670257fe 100644
--- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def
+++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def
@@ -20,7 +20,7 @@
%%
%% File: l3backend-testphase.dtx
\ProvidesExplFile
- {l3backend-testphase-pdftex.def}{2021-07-21}{}
+ {l3backend-testphase-pdftex.def}{2021-07-31}{}
{LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (pdfTeX)}
\RequirePackage{l3ref-tmp}
\cs_generate_variant:Nn \ref_label:nn {en}
@@ -280,40 +280,13 @@
}
}
-\cs_new_protected:Npn \__pdf_backend_NamesEmbeddedFiles_gpush:n #1 %array content
+\cs_new_protected:Npn \__pdf_backend_Names_gpush:nn #1 #2 %#1 name of name tree, #2 array content
{
- \pdf_object_unnamed_write:nn {dict} {/Names [#1] }
- \tex_pdfnames:D {/EmbeddedFiles~\pdf_object_ref_last:}
+ \pdf_object_unnamed_write:nn {dict} {/Names [#2] }
+ \tex_pdfnames:D {/#1~\pdf_object_ref_last:}
}
-
-\int_new:N \g__pdf_backend_EmbeddedFiles_int
-\cs_new:Npn \__pdf_backend_EmbeddedFiles_name:
- {
- (
- l3ef
- \int_compare:nNnT {\g__pdf_backend_EmbeddedFiles_int} < {10}
- {0}
- \int_compare:nNnT {\g__pdf_backend_EmbeddedFiles_int} < {100}
- {0}
- \int_compare:nNnT {\g__pdf_backend_EmbeddedFiles_int} < {1000}
- {0}
- \int_use:N \g__pdf_backend_EmbeddedFiles_int
- )
- }
-\seq_new:N \g__pdf_backend_EmbeddedFiles_seq
-\prop_new:N \g__pdf_backend_EmbeddedFiles_named_prop
-\cs_new_protected:Npn \__pdf_backend_NamesEmbeddedFiles_add:n #1
- %#1 object ref
- {
- \int_gincr:N \g__pdf_backend_EmbeddedFiles_int
- \prop_gput:Nnx \g__pdf_backend_EmbeddedFiles_named_prop
- { #1 }
- { \__pdf_backend_EmbeddedFiles_name: }
- \seq_gput_right:Nx \g__pdf_backend_EmbeddedFiles_seq
- { \__pdf_backend_EmbeddedFiles_name: \c_space_tl #1 }
- }
-
+\cs_new_protected:Npn \__pdf_backend_NamesEmbeddedFiles_add:nn #1 #2 {}
\cs_new_protected:Npn \__pdf_backend_xform_new:nnnn #1 #2 #3 #4
{
\hbox_set:Nn \l__pdf_backend_tmpa_box