[latex3-commits] [git/LaTeX3-latex3-pdfresources] name-trees: remove special backend code for embeddedfiles (aa44f90)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Jul 22 18:48:50 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : name-trees
Link       : https://github.com/latex3/pdfresources/commit/aa44f90bdc0d5852c6e212613922bdef9b1d58f7

>---------------------------------------------------------------

commit aa44f90bdc0d5852c6e212613922bdef9b1d58f7
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Jul 22 18:48:50 2021 +0200

    remove special backend code for embeddedfiles


>---------------------------------------------------------------

aa44f90bdc0d5852c6e212613922bdef9b1d58f7
 l3backend-testphase.dtx | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/l3backend-testphase.dtx b/l3backend-testphase.dtx
index 78bcbdb..02423f7 100644
--- a/l3backend-testphase.dtx
+++ b/l3backend-testphase.dtx
@@ -1094,11 +1094,6 @@
 %    \begin{macrocode}
 % pdflatex
 %<*pdftex>
-\cs_new_protected:Npn \@@_backend_NamesEmbeddedFiles_gpush:n #1 %array content
-  {
-     \pdf_object_unnamed_write:nn {dict} {/Names [#1] }
-     \tex_pdfnames:D {/EmbeddedFiles~\pdf_object_ref_last:}
-  }
 \cs_new_protected:Npn \@@_backend_Names_gpush:nn #1 #2 %#1 name of name tree, #2 array content
   {
      \pdf_object_unnamed_write:nn {dict} {/Names [#2] }
@@ -1106,11 +1101,6 @@
   }
 %</pdftex>
 %<*luatex>
-\cs_new_protected:Npn \@@_backend_NamesEmbeddedFiles_gpush:n #1 %array content
-  {
-    \pdf_object_unnamed_write:nn {dict} {/Names [#1] }
-    \tex_pdfextension:D~names~{/EmbeddedFiles~\pdf_object_ref_last: }
-  }
 \cs_new_protected:Npn \@@_backend_Names_gpush:nn #1 #2 %#1 name of name tree, #2 array content
   {
      \pdf_object_unnamed_write:nn {dict} {/Names [#2] }
@@ -1118,12 +1108,6 @@
   }
 %</luatex>
 %<*dvipdfmx|xdvipdfmx>
-\cs_new_protected:Npn \@@_backend_NamesEmbeddedFiles_gpush:n #1 %array content
-  {
-    \pdf_object_unnamed_write:nn {dict} { /Names [#1] }
-    %n or x?
-    \@@_backend:x {put~@names~<</EmbeddedFiles~\pdf_object_ref_last: >>}
-  }
 \cs_new_protected:Npn \@@_backend_Names_gpush:nn #1 #2 %#1 name of name tree, #2 array content
   {
      \pdf_object_unnamed_write:nn {dict} {/Names [#2] }
@@ -1133,12 +1117,10 @@
 
 %dvips: noop
 %<*dvips>
-\cs_new_protected:Npn \@@_backend_NamesEmbeddedFiles_gpush:n #1 {}
 \cs_new_protected:Npn \@@_backend_Names_gpush:nn #1 #2  {}
 %</dvips>
 %dvisvgm: noop
 %<*dvisvgm>
-\cs_new_protected:Npn \@@_backend_NamesEmbeddedFiles_gpush:n #1 {}
 \cs_new_protected:Npn \@@_backend_Names_gpush:nn #1 #2 {}
 %</dvisvgm>
 





More information about the latex3-commits mailing list.