linkarea is wrong if startlink is used in an \rlap
In the following example the link area always starts at the begin of the \rlap (and so includes the yyyy) With pdftex the link area only surrounds the link text as expected X \rlap{yyyyyyy \ifx\pdfextension\undefined \pdfstartlink \else \pdfextension startlink \fi attr {/Border[0 0 1]} user{ /Subtype/Link% /A<<% /Type/Action% /S/URI% /URI(blub)%
% } Linktext \ifx\pdfextension\undefined \pdfendlink \else \pdfextension endlink \fi }
\bye -- Ulrike Fischer http://www.troubleshooting-tex.de/
On 1/13/2021 6:38 PM, Ulrike Fischer wrote:
In the following example the link area always starts at the begin of the \rlap (and so includes the yyyy)
With pdftex the link area only surrounds the link text as expected
X \rlap{yyyyyyy \ifx\pdfextension\undefined \pdfstartlink \else \pdfextension startlink \fi attr {/Border[0 0 1]} user{ /Subtype/Link% /A<<% /Type/Action% /S/URI% /URI(blub)%
% } Linktext \ifx\pdfextension\undefined \pdfendlink \else \pdfextension endlink \fi } after staring at the code, doing some tracing and hacking around for a while i think i see what happens (looks like some catch for directions)
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, Jan 13, 2021 at 11:32 PM Hans Hagen
On 1/13/2021 6:38 PM, Ulrike Fischer wrote:
In the following example the link area always starts at the begin of the \rlap (and so includes the yyyy)
With pdftex the link area only surrounds the link text as expected
X \rlap{yyyyyyy \ifx\pdfextension\undefined \pdfstartlink \else \pdfextension startlink \fi attr {/Border[0 0 1]} user{ /Subtype/Link% /A<<% /Type/Action% /S/URI% /URI(blub)%
% } Linktext \ifx\pdfextension\undefined \pdfendlink \else \pdfextension endlink \fi } after staring at the code, doing some tracing and hacking around for a while i think i see what happens (looks like some catch for directions)
Hans
Committed revision 7397. -- luigi
participants (3)
-
Hans Hagen
-
luigi scarso
-
Ulrike Fischer