ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Rik Kabel <ConTeXt@rik.users.panix.com>
Subject: Re: Clickable url problem with \useurl and \url
Date: Tue, 12 Oct 2021 10:32:31 -0400	[thread overview]
Message-ID: <56be0967-3013-0a58-d371-0a9c7c809e47@rik.users.panix.com> (raw)
In-Reply-To: <28B233BE-A533-47D8-ADDC-6959F2CEFDBF@bittext.nl>


On 10/12/2021 03:44, Taco Hoekwater wrote:
> Hi,
>
>> On 12 Oct 2021, at 04:30, Rik Kabel via ntg-context <ntg-context@ntg.nl> 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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2021-10-12 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-12  2:30 Rik Kabel via ntg-context
2021-10-12  7:44 ` Taco Hoekwater via ntg-context
2021-10-12 14:32   ` Rik Kabel via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56be0967-3013-0a58-d371-0a9c7c809e47@rik.users.panix.com \
    --to=ntg-context@ntg.nl \
    --cc=ConTeXt@rik.users.panix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).