Hi Pablo,
I think I understand the issue you are pointing out. In your MWE, the
visual content produced by |\at[æb]| is correctly scaled, but the
clickable area (and the border drawn with |references.border|) no longer
matches the scaled text in LMTX. In other words, the visual
transformation seems to be applied, but the geometry of the link
annotation does not seem to follow in the same way. What makes this
particularly noticeable is that it already happens with very small
scaling factors, and only in LMTX: with LuaTeX the link area still
appears to be placed correctly. This suggests that the problem is not
with |\at| itself, but with how link annotations interact with
transformations such as |\scale| in the LMTX backend — possibly the
annotation rectangle is computed before the transformation is applied,
or is not transformed along with the box.
For reference, I am testing this with a ConTeXt version from July 2025.
I haven’t yet checked whether different PDF viewers (e.g. Firefox /
PDF.js versus native viewers) affect how the link borders are displayed,
so that may also play a role. This is just my current reading of the
behavior; I’d be interested to know whether this matches what others
observe, or if I’m missing something.
Best regards,
JP
Le 19/02/2026 à 19:36, Pablo Rodriguez via ntg-context a écrit :
On 2/14/26 11:20, Pablo Rodriguez via ntg-context wrote:
Hi Hans,
since previous latest rotated link borders were fixed (as comments in
the sample), but scaled links got their border misplaced:
I have just discovered that even the minimal scaling results in wrong
positioning of the link area:
\setupinteraction[state=start, color=, contrastcolor=, style=,]
\enabledirectives[references.border=red]
\setuppapersize[A6]
\starttext
\startTEXpage[pagestate=start,offset=2ex]
\pagereference[æb]
\scale[height=8pt]{\at[æb]}
{\at[æb]}
\stopTEXpage
\stoptext
But this only happens in LMTX, LuaTeX places the link area fine.
Could anyone confirm the issue?
Many thanks for your help,
Pablo
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________