[latex3-commits] [git/LaTeX3-latex3-pdfresources] master: small correction for destinations (c3f66ab)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Mar 10 17:06:30 CET 2020


Repository : https://github.com/latex3/pdfresources
On branch  : master
Link       : https://github.com/latex3/pdfresources/commit/c3f66ab2f66a84069969f8d6da025c562a276e7a

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

commit c3f66ab2f66a84069969f8d6da025c562a276e7a
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Mar 10 17:06:30 2020 +0100

    small correction for destinations


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

c3f66ab2f66a84069969f8d6da025c562a276e7a
 pdfresources.dtx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/pdfresources.dtx b/pdfresources.dtx
index 79adbec..3c30b46 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -2796,12 +2796,13 @@
  {
   \prop_if_in:NnTF \l_@@_views_map_prop { #2 }
    {
-    \exp_args:No %xetex?
-    \@@_backend_destination:nn { #1 } {  #2  }
+    \exp_args:Nox %xetex?
+    \@@_backend_destination:nn { #1 } { \prop_item:Nn \l_@@_views_map_prop {#2} }
    }
    {
     % should we assume that it is a zoom value then??
     % or should there be a third argument for this case and for other coordinates?
+    % at least we need a warning ...
    }
  }
 \cs_generate_variant:Nn\pdf_destination:nn {no,nf}
@@ -2843,7 +2844,8 @@
 
 %    \end{macrocode}
 % \end{function}
-
+%^^A the following is used in the experimental driver
+%^^A but it is unclear if is should stay / how the syntax should be
 % \section{Hook management}
 % hooks are commands that allow users and other packages to inject code.
 %
@@ -2944,6 +2946,7 @@
 % documentated interface through e.g. tl-variables. It should be also clear which
 % variables are read-only and which can be changed by the hook code.
 %
+% %%%%%%%%END HOOK
 %
 % \section{Patches}
 % This code is temporary! It tries to patch commands of other packages which





More information about the latex3-commits mailing list.