On 10/12/2021 03:44, Taco Hoekwater wrote:
Hi,
On 12 Oct 2021, at 04:30, Rik Kabel via ntg-context
wrote: Hello List,
I notice an inconsistency in the clickable area when using \useurl. With the following example, both the \from and the \url are clickable in some lines (as noted iin the value of \from) but in others, the \from is clickable but not the \url.
It does seem sensitive to the urlL, but I cannot see a pattern. It is the pdf viewer program that automatically interprets the \url-produced text and 'invents' a link, it is not ConTeXt itself. The exact rules may therefore vary depending on the pdf viewer you use.
In Apple's Preview, all items are in fact clickable. But only \from produces actual pdf hyperlink annotations.
Should I use something other than \url[earlXX] here to get the clickable literal url from useurl? This, maybe
\goto{\url[earlLH]}[url(earlLH)]
(perhaps wrapped in a short macro)
Best wishes, Taco
— Taco Hoekwater E: taco@bittext.nl genderfluid (all pronouns)
Indeed, that is the issue. I use Sumatra by default, but I see different results with other viewers. I will follow up, if needed, elsewhere. And yes, for consistency I will look at something based on \goto to make explicit what should and should not be clickable. Thank you for the explanation and suggestion. -- Rik