[latex3-commits] [latex3/pdfresources] etype-switch: use variant (e74d782)
github at latex-project.org
github at latex-project.org
Tue Oct 31 22:10:23 CET 2023
Repository : https://github.com/latex3/pdfresources
On branch : etype-switch
Link : https://github.com/latex3/pdfresources/commit/e74d7823922c4479e6f3da0b259ed46f55d343eb
>---------------------------------------------------------------
commit e74d7823922c4479e6f3da0b259ed46f55d343eb
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Oct 31 22:10:23 2023 +0100
use variant
>---------------------------------------------------------------
e74d7823922c4479e6f3da0b259ed46f55d343eb
hyperref-generic.dtx | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index e455792..427f835 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -2292,7 +2292,7 @@
\pdfdict_put:nnn {l_hyp/annot/A/GoToR}{Type}{/Action}
\pdfdict_put:nnn {l_hyp/annot/A/GoToR}{S}{/GoToR}
-
+\cs_generate_variant:Nn \pdffile_embed_file:nnn {noe}
\cs_new_protected:Npn \hyper at linkfile #1 #2 #3 % link text, filename, destname
{
\bool_if:NTF \l_@@_annot_GoToR_bool
@@ -2303,8 +2303,7 @@
\pdf_object_if_exist:nF { @@_file_\tl_to_str:N \l_@@_filename_tmpa_tl }
{
\pdfdict_put:nne { l_pdffile/Filespec}{Subtype}{\pdf_name_from_unicode_e:n {application/pdf}}
- \exp_args:Nnoe
- \pdffile_embed_file:nnn
+ \pdffile_embed_file:noe
{}
{\l_@@_filename_tmpa_tl }
{@@_file_\tl_to_str:N \l_@@_filename_tmpa_tl }
@@ -2416,7 +2415,7 @@
% \begin{macrocode}
\use:e
{ % filename, anchor text, linkname
- \cs_set_protected:Npn \exp_not:N \@hyper at launch run \c_colon_str ##1 \exp_not:N \\ ##2 ##3
+ \cs_set_protected:Npn \exp_not:N \@hyper at launch run \c_colon_str #1 \exp_not:N \\ #2 #3
}
{
\hyper at linklaunch {#1}{#2}{#3}
More information about the latex3-commits
mailing list.