[latex3-commits] [git/LaTeX3-latex3-latex3] main: Use /Action not /A for GoTo links in dvips (fixes #957) (a852db585)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun Jul 11 21:57:19 CEST 2021
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/a852db5858ec59588b16a7cc51b127b707e6fafe
>---------------------------------------------------------------
commit a852db5858ec59588b16a7cc51b127b707e6fafe
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sun Jul 11 20:57:19 2021 +0100
Use /Action not /A for GoTo links in dvips (fixes #957)
>---------------------------------------------------------------
a852db5858ec59588b16a7cc51b127b707e6fafe
l3backend/CHANGELOG.md | 3 +++
l3backend/l3backend-pdf.dtx | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/l3backend/CHANGELOG.md b/l3backend/CHANGELOG.md
index 1ec53b4d8..75f9d0555 100644
--- a/l3backend/CHANGELOG.md
+++ b/l3backend/CHANGELOG.md
@@ -6,6 +6,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Fixed
+- GoTo link formation for Distiller-based workflows (issue #957)
+
## [2021-05-07]
### Changed
diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx
index 17000a89e..627056c86 100644
--- a/l3backend/l3backend-pdf.dtx
+++ b/l3backend/l3backend-pdf.dtx
@@ -402,6 +402,10 @@
% grab the link content as a box which can then unbox: this allows the same
% interface as for \pdfTeX{}.
%
+% Notice that the link setup here uses |/Action| not |/A|. That is because
+% Distiller \emph{requires} this trigger word, rather than a \enquote{raw}
+% PDF dictionary key (Ghostscript can handle either form).
+%
% Taking the idea of |evenboxes| from \pkg{hypdvips}, we implement a minimum
% box height and depth for link placement. This means that \enquote{underlining}
% with a hyperlink will generally give an even appearance. However, to ensure
More information about the latex3-commits
mailing list.