[latex3-commits] [git/LaTeX3-latex3-latex3] master: dvipdfmx can adjust link margins (ccf1a0d)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Apr 30 23:25:47 CEST 2019


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

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

commit ccf1a0d123979082ad338213f63a2b9270ab9d00
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Apr 30 22:24:01 2019 +0100

    dvipdfmx can adjust link margins


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

ccf1a0d123979082ad338213f63a2b9270ab9d00
 l3kernel/l3drivers-pdf.dtx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3drivers-pdf.dtx b/l3kernel/l3drivers-pdf.dtx
index efd2c64..fd8270c 100644
--- a/l3kernel/l3drivers-pdf.dtx
+++ b/l3kernel/l3drivers-pdf.dtx
@@ -1759,9 +1759,10 @@
 % \end{macro}
 %
 % \begin{macro}{\driver_pdf_link_margin:n}
-%   Nope.
+%   Pass to \texttt{dvipdfmx}.
 %    \begin{macrocode}
-\cs_new_protected:Npn \driver_pdf_link_margin:n #1 { }
+\cs_new_protected:Npn \driver_pdf_link_margin:n #1
+  { \@@_literal:x { dvipdfmx:config~g~ \dim_eval:n {#1} } }
 %    \end{macrocode}
 % \end{macro}
 %





More information about the latex3-commits mailing list