summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-07-31 20:56:25 +0000
committerKarl Berry <karl@freefriends.org>2021-07-31 20:56:25 +0000
commit0f16883734671b9de034bb28b54771c4e509783f (patch)
treed9a699c3a7ab83e6203b18fa618693b922dc9ab9 /Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
parent908d657f38d20fce93644b10ae715d8512f44215 (diff)
pdfmanagement-testphase (31jul21)
git-svn-id: svn://tug.org/texlive/trunk@60127 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def')
-rw-r--r--Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def38
1 files changed, 5 insertions, 33 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
index cdbb435a46e..42ee1e7fdf3 100644
--- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
+++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
@@ -20,7 +20,7 @@
%%
%% File: l3backend-testphase.dtx
\ProvidesExplFile
- {l3backend-testphase-xetex.def}{2021-07-21}{}
+ {l3backend-testphase-xetex.def}{2021-07-31}{}
{LaTeX~PDF~management~testphase~bundle~backend~support: XeTeX}
\RequirePackage{l3ref-tmp}
\cs_generate_variant:Nn \ref_label:nn {en}
@@ -224,41 +224,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] }
- %n or x?
- \__pdf_backend:x {put~@names~<</EmbeddedFiles~\pdf_object_ref_last: >>}
+ \pdf_object_unnamed_write:nn {dict} {/Names [#2] }
+ \__pdf_backend:x {put~@names~<</#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 {}
% it needs a bit testing if it really works to set the box to 0 before the special ...
% does it disturb viewing the xobject?
% what happens with the resources (bdc)? (should work as they are specials too)