[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: attach commands removed (7ccdb0f)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Jul 2 17:28:30 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : splitting
Link       : https://github.com/latex3/pdfresources/commit/7ccdb0f09bf1be105a5e4153aa35337919a29c4a

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

commit 7ccdb0f09bf1be105a5e4153aa35337919a29c4a
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Jul 2 17:28:30 2020 +0200

    attach commands removed


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

7ccdb0f09bf1be105a5e4153aa35337919a29c4a
 l3pdffile.dtx | 72 -----------------------------------------------------------
 1 file changed, 72 deletions(-)

diff --git a/l3pdffile.dtx b/l3pdffile.dtx
index 2a00001..4514fc4 100644
--- a/l3pdffile.dtx
+++ b/l3pdffile.dtx
@@ -672,78 +672,6 @@
 %    \end{macrocode}
 % \end{macro}
 
-% \subsection{backend commands to add the file to the /EmbeddedFiles name tree}
-% For pdflatex, lualatex and xelatex, the name and object reference is stored in a sequence.
-% The pdfresources code for the catalog output this and add a reference to /Names,
-% if the sequence is not empty.
-% dvips wants code for every file and then sorts this itself.
-%    \begin{macrocode}
-%    \end{macrocode}
-% \begin{function}[added = 2020-04-24]
-%   {\pdffile_attach:n, \pdffile_attach:nN,}
-%   \begin{syntax}
-%     \cs{pdffile_attach:n}  \Arg{name} \\
-%     \cs{pdffile_attach:nN}  \Arg{name} \meta{tl var}
-%   \end{syntax}
-%   This attaches the file with name \Arg{name} which has been embedded
-%   with \cs{pdffile_embed:nnn} to the attachments panel
-%   of the pdf reader. \meta{tl var} stores the name used in the name tree, in
-%   case it is needed to setup up for example a collection.
-%\end{function}
-%    \begin{macrocode}
-%\cs_new_protected:Npn \@@_check_attach_aux:n #1
-%  {
-%    \prop_get:NnNTF \g_@@_embed_sources_prop { #1 } \l_tmpa_str
-%      {
-%        \exp_args:Nx
-%          \__pdf_backend_NamesEmbeddedFiles_add:n {\pdf_object_ref:n{#1}}
-%      }
-%      {
-%        \msg_warning:nnn { pdffile } { no-file-embedded } { #1 }
-%      }
-%  }
-
-%\cs_new_protected:Npn \pdffile_attach:n #1% #1 name of filespec object, #2 in case the name must be retourned
-% {
-%   \@@_backend_object_if_exist:nTF { #1 }
-%     {
-%       \@@_check_attach_aux:n { #1 }
-%     }
-%     {
-%       \msg_error:nnn { pdffile } { file-object-no-found } { #1 }
-%     }
-% }
-
-%\cs_new_protected:Npn \pdffile_attach:n #1 % name of filespec object
-% {
-%   \@@_backend_object_if_exist:nTF { #1}
-%     {
-%       \@@_check_attach_aux:nN { #1 } \l_@@_tmpa_tl
-%     }
-%     {
-%       \msg_error:nnn { pdffile } { file-object-no-found } { #1 }
-%     }
-% }
-
-% for anonymous objects. This allows to use the interface with objects not
-% created with l3 commands / naming. Testing if there is a file is not possible here
-%\cs_new_protected:Npn \pdffile_attach_last:N #1 % #1 in case the name must be retourned
-% {
-%   \tl_set:Nx \l_@@_tmpa_tl {\pdf_object_last:}
-%   \exp_args:Nx
-%     \@@_backend_NamesEmbeddedFiles_add:n { \l_@@_tmpa_tl }
-% }
-%
-%\cs_new_protected:Npn \pdffile_attach_last:
-% {
-%   \tl_set:Nx \l_@@_tmpa_tl {\pdf_object_last:}
-%   \exp_args:Nx
-%     \@@_backend_NamesEmbeddedFiles_add:nN { \l_@@_tmpa_tl } \l_@@_tmpa_tl
-% }
-
-
-%    \end{macrocode}
-%
 %    \begin{macrocode}
 %</package>
 %    \end{macrocode}





More information about the latex3-commits mailing list.