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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________