ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Taco Hoekwater <taco@bittext.nl>
Subject: Re: Clickable url problem with \useurl and \url
Date: Tue, 12 Oct 2021 09:44:57 +0200	[thread overview]
Message-ID: <28B233BE-A533-47D8-ADDC-6959F2CEFDBF@bittext.nl> (raw)
In-Reply-To: <389d823b-aef9-9d7c-8783-49aa92387ffb@rik.users.panix.com>

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)



___________________________________________________________________________________
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  7:44 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 [this message]
2021-10-12 14:32   ` Rik Kabel via ntg-context

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=28B233BE-A533-47D8-ADDC-6959F2CEFDBF@bittext.nl \
    --to=ntg-context@ntg.nl \
    --cc=taco@bittext.nl \
    /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).