[latex3-commits] [git/LaTeX3-latex3-latex3] pdf_destination: Keep PDF destination boxed (fd815cdc2)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Jan 27 19:09:54 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : pdf_destination
Link       : https://github.com/latex3/latex3/commit/fd815cdc21b89503c206678279c08f7881772fe8

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

commit fd815cdc21b89503c206678279c08f7881772fe8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Jan 27 18:09:54 2021 +0000

    Keep PDF destination boxed


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

fd815cdc21b89503c206678279c08f7881772fe8
 l3experimental/l3pdf/l3pdf.dtx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/l3experimental/l3pdf/l3pdf.dtx b/l3experimental/l3pdf/l3pdf.dtx
index 3945a3045..820b5eb50 100644
--- a/l3experimental/l3pdf/l3pdf.dtx
+++ b/l3experimental/l3pdf/l3pdf.dtx
@@ -421,7 +421,8 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \pdf_destination:nn #1 #2
   {
-    \@@_backend_destination:nn {#1}{#2}
+    \hbox_to_zero:n
+      { \@@_backend_destination:nn {#1}{#2} }
   }
 %    \end{macrocode}
 % \end{macro}
@@ -430,7 +431,8 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \pdf_destination:nnnn #1 #2 #3 #4
   {
-    \@@_backend_destination:nnnn {#1} {#2} {#3} {#4}
+    \hbox_to_zero:n
+      { \@@_backend_destination:nnnn {#1} {#2} {#3} {#4} }
   }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.