[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: correct action dictionaries (cb44136)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Jan 27 16:05:38 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : reworking-annot
Link       : https://github.com/latex3/pdfresources/commit/cb44136575ca9df9191157ffdb8f4d69b5be0a05

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

commit cb44136575ca9df9191157ffdb8f4d69b5be0a05
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Jan 27 16:05:38 2021 +0100

    correct action dictionaries


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

cb44136575ca9df9191157ffdb8f4d69b5be0a05
 hyperref-generic.dtx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index ea188eb..1d1a54b 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -261,7 +261,7 @@
 %  the package has been loaded. This is also the case for options which normally
 %  don't work in \cs{hypersetup}.
 %
-%  Options that still must be set as package options are
+%  Options that must be set as package options are
 %  \begin{itemize}
 %  \item |destlabels|
 %  \item |pdfpagelabels|
@@ -1468,7 +1468,7 @@
 %    \begin{macrocode}
 \pdfdict_new:n   {l_hyp/annot/A/GoToR}
 \pdfdict_put:nnn {l_hyp/annot/A/GoToR}{Type}{/Action}
-\pdfdict_put:nnn {l_hyp/annot/A/GoToR}{S}{GoToR}
+\pdfdict_put:nnn {l_hyp/annot/A/GoToR}{S}{/GoToR}
 
 \cs_new_protected:Npn \hyper at linkfile #1 #2 #3 % anchor text, filename, destname
   {
@@ -1484,6 +1484,7 @@
       { #3 }
       { \l_@@_text_enc_dest_print_tl }
       \l_@@_dest_name_tmpa_tl
+    \Hy at MakeRemoteAction
     \tl_if_blank:eTF {#3}
       {
         \pdfdict_put:nnx {l_hyp/annot/A/GoToR}{D}
@@ -1492,7 +1493,6 @@
       {
         \pdfdict_put:nno {l_hyp/annot/A/GoToR}{D}{\l_@@_dest_name_tmpa_tl}
       }
-    \Hy at MakeRemoteAction
     \tl_if_empty:NF \Hy at href@nextactionraw
       {
         \str_remove_once:Nn \Hy at href@nextactionraw {/Next}
@@ -1697,8 +1697,8 @@
 
 \pdfdict_new:n   {l_hyp/annot/A/Launch}
 \pdfdict_put:nnn
-  {l_hyp/annot/A/GoToR}
-  {S}{Launch}
+  {l_hyp/annot/A/Launch}
+  {S}{/Launch}
 
 \cs_new_protected:Npn \hyper at linklaunch #1 #2 #3 % filename, anchor text, Parameters
  {





More information about the latex3-commits mailing list.