[latex3-commits] [git/LaTeX3-latex3-pdfresources] correctannot: move /Subtype/Link to dictionary (c7e91f4)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Mar 3 19:02:16 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : correctannot
Link       : https://github.com/latex3/pdfresources/commit/c7e91f43edc2e021a3d95aa91983011245db1f67

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

commit c7e91f43edc2e021a3d95aa91983011245db1f67
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Mar 3 19:02:16 2021 +0100

    move /Subtype/Link to dictionary


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

c7e91f43edc2e021a3d95aa91983011245db1f67
 l3pdfannot.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3pdfannot.dtx b/l3pdfannot.dtx
index 7591639..9670dc9 100644
--- a/l3pdfannot.dtx
+++ b/l3pdfannot.dtx
@@ -415,6 +415,7 @@
 \seq_map_inline:Nn \c_pdfannot_link_types_seq
   {
     \pdfdict_new:n { l_@@/link/#1 }
+    \pdfdict_put:nnn { l_@@/link/#1 }{ Subtype }{ /Link }
     \hook_new_pair:nn
       {pdfannot/link/#1/before}
       {pdfannot/link/#1/after}
@@ -442,7 +443,6 @@
           }
       }
       {
-        /Subtype/Link
         #2 %exp_not?
       }
     \bool_gset_true:N \g_@@_use_lastlink_bool





More information about the latex3-commits mailing list.