Dear list, with the following sample: \setupinteraction[state=start, color=, contrastcolor=, style=,] \enabledirectives[references.border=red] \def\MyURL#1{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \setuppapersize[A4, landscape] \definelayer[alink][x=0.99\paperwidth, y=.5\paperheight, location={middle}, state=start] \setupbackgrounds[page][background={alink}] \starttext \startmakeup[standard][pagestate=start, align=middle] whatever\setlayer[alink]{\rotate[90] {Huge thanks for \MyURL{https://wiki.mtxrun.eu}, Hraban!}} \stopmakeup \stoptext I get the link right, but its rectangle is out of the paper dimensions (as PDF.js for Firefox 147 displays it [see attachments]). I’m using both current latest (2026.01.08 23:30) for MkIV and MkXL and I wonder how to get the link border placed right. Am I missing something here or is this an issue in ConTeXt? Many thanks for your help, Pablo
On 1/14/26 19:33, Pablo Rodriguez via ntg-context wrote:
Dear list, [...] I get the link right, but its rectangle is out of the paper dimensions (as PDF.js for Firefox 147 displays it [see attachments]).
This sample is clearer: \setupinteraction[state=start, color=, contrastcolor=, style=,] \enabledirectives[references.border=red] \setuppapersize[A6] \def\MyURL#1{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \definelayer[alink][x=.25tw, y=.5th] \definelayer[blink][x=.75tw, y=.5th] \setupbackgrounds[page][background={alink, blink}] \starttext \null\setlayer[alink]{\rotate[90] {Huge thanks for \MyURL{https://wiki.mtxrun.eu}}} \null\setlayer[blink]{\rotate[90] {\MyURL{https://wiki.mtxrun.eu}, Hraban!}} \stoptext Link border is misplaced when \setlayer contains \rotate and there is text before the \goto command (\MyURL in the sample). I guess something may be misbehaving in ConTeXt. Could anyone give me a hint? Many thanks for your help, Pablo
On 1/15/2026 8:23 PM, Pablo Rodriguez via ntg-context wrote:
On 1/14/26 19:33, Pablo Rodriguez via ntg-context wrote:
Dear list, [...] I get the link right, but its rectangle is out of the paper dimensions (as PDF.js for Firefox 147 displays it [see attachments]).
This sample is clearer:
\setupinteraction[state=start, color=, contrastcolor=, style=,] \enabledirectives[references.border=red] \setuppapersize[A6] \def\MyURL#1{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \definelayer[alink][x=.25tw, y=.5th] \definelayer[blink][x=.75tw, y=.5th] \setupbackgrounds[page][background={alink, blink}] \starttext \null\setlayer[alink]{\rotate[90] {Huge thanks for \MyURL{https://wiki.mtxrun.eu}}} \null\setlayer[blink]{\rotate[90] {\MyURL{https://wiki.mtxrun.eu}, Hraban!}} \stoptext
Link border is misplaced when \setlayer contains \rotate and there is text before the \goto command (\MyURL in the sample).
I guess something may be misbehaving in ConTeXt.
Could anyone give me a hint?
I see what goes wrong but there will be no upload until we've tested some multiple note trickery. 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 1/17/26 00:04, Hans Hagen via ntg-context wrote:
On 1/15/2026 8:23 PM, Pablo Rodriguez via ntg-context wrote:
On 1/14/26 19:33, Pablo Rodriguez via ntg-context wrote: [...] Link border is misplaced when \setlayer contains \rotate and there is text before the \goto command (\MyURL in the sample).
I guess something may be misbehaving in ConTeXt.
Could anyone give me a hint?
I see what goes wrong but there will be no upload until we've tested some multiple note trickery.
Many thanks for fixing it, Hans. Just in case it might help (since I got a slightly misplaced link border without previous text in paragraph), here you have a (shorter) sample: \setupinteraction[state=start, color=, contrastcolor=, style=,] \enabledirectives[references.border=red] \setuppapersize[A6] \starttext \pagereference[æb] \rotate[90]{Huge thanks for \at[æb]}\vfill \rotate[90]{\at[æb]}\vfill \at[æb] \stoptext Many thanks for your help, Pablo
participants (2)
-
Hans Hagen -
Pablo Rodriguez