[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: document external object (72fb032)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Jul 15 23:48:25 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/72fb0327b46f61d9fdbe70c477dd44df9ca5861d

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

commit 72fb0327b46f61d9fdbe70c477dd44df9ca5861d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Jul 15 23:48:25 2021 +0200

    document external object


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

72fb0327b46f61d9fdbe70c477dd44df9ca5861d
 hyperref-generic.dtx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 9c6f858..2f9965d 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -2201,6 +2201,11 @@
             \pdfdict_put:nno {l_hyp/annot/A/GoToR}{D}{\l_@@_dest_name_tmpa_tl}
           }
         \mode_leave_vertical:
+%    \end{macrocode}
+% We use an extra object here, as ghostscript doesn't like the
+% object reference in the dict
+% https://chat.stackexchange.com/transcript/message/57361080#57361080
+%    \begin{macrocode}
         \pdf_object_unnamed_write:nx{dict}{\pdfdict_use:n {l_hyp/annot/A/GoToR}}
         \pdfannot_dict_put:nnx {link/GoToR}{A}{\pdf_object_ref_last:}
         \pdfannot_link:nxn %expansion??





More information about the latex3-commits mailing list.