[latex3-commits] [git/LaTeX3-latex3-latex3] master: Store link dictionay in PostScript (962362e)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Apr 12 16:29:49 CEST 2019
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/962362eb91cb176d49acc17c935aa2d0cd918cb7
>---------------------------------------------------------------
commit 962362eb91cb176d49acc17c935aa2d0cd918cb7
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Apr 12 15:29:49 2019 +0100
Store link dictionay in PostScript
This will be needed for link breaking.
>---------------------------------------------------------------
962362eb91cb176d49acc17c935aa2d0cd918cb7
l3kernel/l3drivers-pdf.dtx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/l3kernel/l3drivers-pdf.dtx b/l3kernel/l3drivers-pdf.dtx
index 2f8497f..c80cf55 100644
--- a/l3kernel/l3drivers-pdf.dtx
+++ b/l3kernel/l3drivers-pdf.dtx
@@ -312,7 +312,8 @@
% {
% driver.linkdp.min, driver.linkht.min,
% driver.llx, driver.lly,
-% driver.ury, driver.ury
+% driver.ury, driver.ury,
+% driver.linkdict
% }
% Links are crated like annotations but with dedicated code to allow for
% adjusting the size of the rectangle. In contrast to \pkg{hyperref},
@@ -367,6 +368,8 @@
}
\cs_new_protected:Npn \@@_pdf_link_auxi:nnnn #1#2#3#4
{
+ \@@_postscript:n
+ { /driver.linkdict ~ ( #4 ) ~ def }
\int_gincr:N \g_@@_pdf_object_int
\int_gset_eq:NN \g_@@_pdf_annotation_int \g_@@_pdf_object_int
\@@_pdf_annotation_corners:nnnnn
More information about the latex3-commits
mailing list