From d9784b9287b55be1161c5d383c2a7ebde45671ee Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 8 Mar 2021 03:00:59 +0000 Subject: CTAN sync 202103080300 --- .../contrib/pdfmanagement-testphase/l3pdffile.dtx | 64 +++++++++++----------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'macros/latex/contrib/pdfmanagement-testphase/l3pdffile.dtx') diff --git a/macros/latex/contrib/pdfmanagement-testphase/l3pdffile.dtx b/macros/latex/contrib/pdfmanagement-testphase/l3pdffile.dtx index c1a2a25591..4a65e09fd6 100644 --- a/macros/latex/contrib/pdfmanagement-testphase/l3pdffile.dtx +++ b/macros/latex/contrib/pdfmanagement-testphase/l3pdffile.dtx @@ -53,7 +53,7 @@ % }^^A % } % -% \date{Version 0.95a, released 2021-02-22} +% \date{Version 0.95b, released 2021-03-07} % % \maketitle % \begin{documentation} @@ -70,7 +70,7 @@ % Case 1 (Links) are created with the \cs{pdfannot} commands. % This module handles the two other cases. Actually from the view % of the PDF format they are quite similar: Case 2 is case 3 without the stream -% object and without the /EF entry in the /FileSpec dictionary (this points to the +% object and without the /EF entry in the /Filespec dictionary (this points to the % stream object of the file). Not embedding the file makes the PDF smaller. But it is % also less portable: the files can only be found if they are in the right location % relative to the PDF. The normal case is to embed the file. @@ -78,7 +78,7 @@ % The tasks to embed and reference such a file are % \begin{enumerate} % \item Embed the file in a stream. -% \item Create a FileSpec dictionary which references the stream object in the /EF +% \item Create a Filespec dictionary which references the stream object in the /EF % dictionary: % \begin{verbatim} % << @@ -94,7 +94,7 @@ % and name it \texttt{blub.tex}. The second name is then what the user will see % in the attachment list or in the properties of an annotation. % -%\item Reference the FileSpec dictionary so that the user can access the file. +%\item Reference the Filespec dictionary so that the user can access the file. % This can be done in various way: % \begin{enumerate} % \item With an annotation (/Subtype/FileAttachment). This is done by @@ -104,7 +104,7 @@ % \medskip % \begin{tabular}{lll} % key & value type & notes\\\hline -% /FS & object reference &(FileSpec dictionary)\\ +% /FS & object reference &(Filespec dictionary)\\ % /Name & name & /Graph, /PushPin, /Paperclip, /Tag\\ % /Contents & text string & optional but recommended\\ % /F & integer & Flags\\ @@ -137,7 +137,7 @@ % /AF /NamedAF BDC % /Properties < -\ProvidesExplPackage {l3pdffile} {2021-02-22} {0.95a} +\ProvidesExplPackage {l3pdffile} {2021-03-07} {0.95b} {embedding and referencing files in PDF---LaTeX PDF management testphase bundle} \RequirePackage{l3pdftools} %temporarly!! % @@ -402,7 +402,7 @@ \msg_new:nnn { pdffile } { target-name-missing } { - a~target~name~for~the~/FileSpec~dictionary~is~missing. + a~target~name~for~the~/Filespec~dictionary~is~missing. } \msg_new:nnn { pdffile } { object-exists } @@ -492,10 +492,10 @@ \int_use:N\c_sys_day_int ) } -\pdfdict_new:n { l_pdffile/FileSpec } -\pdfdict_put:nnn { l_pdffile/FileSpec } - {Type} { /FileSpec } -\pdfdict_put:nnn { l_pdffile/FileSpec } +\pdfdict_new:n { l_pdffile/Filespec } +\pdfdict_put:nnn { l_pdffile/Filespec } + {Type} { /Filespec } +\pdfdict_put:nnn { l_pdffile/Filespec } {AFRelationship} { /Unspecified } % \end{macrocode} @@ -621,11 +621,11 @@ \pdf_object_new:nn { #1 } {dict} \group_begin: \@@_filename_convert_to_print:nN { #2 } \l_@@_tmpa_str - \pdfdict_put:nnx {l_pdffile/FileSpec}{F} { \l_@@_tmpa_str } - \pdfdict_put:nnx {l_pdffile/FileSpec}{UF}{ \l_@@_tmpa_str } + \pdfdict_put:nnx {l_pdffile/Filespec}{F} { \l_@@_tmpa_str } + \pdfdict_put:nnx {l_pdffile/Filespec}{UF}{ \l_@@_tmpa_str } \pdf_object_write:nx { #1 } { - \pdfdict_use:n { l_pdffile/FileSpec} + \pdfdict_use:n { l_pdffile/Filespec} \tl_if_empty:nF { #3 } { /EF <> -- cgit v1.2.3