[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: adapt to new destinations definition (47dd33f)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Jan 17 23:56:14 CET 2021


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

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

commit 47dd33ffc4e618d1ca1e733006fd55c2a5ff56a9
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Jan 17 23:56:14 2021 +0100

    adapt to new destinations definition


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

47dd33ffc4e618d1ca1e733006fd55c2a5ff56a9
 hyperref-generic.dtx | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 89d1f96..6feb45c 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -1043,20 +1043,11 @@
       \l_@@_tmpa_tl
     \tl_if_eq:NnTF  \l_@@_dest_pdfview_tl {fitrbox}
       {
-        \vbox_to_zero:n
-          {
-           \smash
-             {
-               \hbox_to_zero:n
-                 {
-                   \exp_args:NV
-                     \pdf_destination_box:nn
-                       { \l_@@_tmpa_tl }
-                       { \box_use:N \l_@@_dest_box }
-                    \hss
-                 }
-             }
-          }
+        \exp_args:NV
+        \pdf_destination:nnnn \l_@@_tmpa_tl
+         { \box_wd:N \l_@@_dest_box }
+         { \box_ht:N \l_@@_dest_box }
+         { \box_dp:N \l_@@_dest_box }
       }
       {
         \exp_args:NV





More information about the latex3-commits mailing list.