From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Command \hyphenatedurl{} doesn't work
Date: Fri, 25 Jan 2019 11:34:53 +1300 [thread overview]
Message-ID: <f9b467f8-97a4-3f18-014e-0d5581e69a82@gmail.com> (raw)
In-Reply-To: <62e54ba7-636d-a922-9174-07d2feac1f66@gmail.com>
On 25/01/19 10:56 AM, Lars wrote:
> Hi there,
>
> the \hyphenatedurl{} command doesn't seem to work. Only the first line
> of the link is clickable and only the first line is being pasted into
> the browser, resulting in a 404. I tested Sumatra and Adobe. MWE:
\hyphenatedurl does not create a link in the PDF file at all. What you
are observing is the heuristics of your PDF viewer to detect links,
which fails at the line break. See this post on TeX.SX:
https://tex.stackexchange.com/questions/376939/typesetting-long-urls-with-context
>
> %---------------
> \setupinteraction[state=start]
>
>
> \starttext
> hyphenatedurl on its own is only clickable in the first line and
> pastes wrong URL to browser:
> \blank
> \hyphenatedurl{https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/}
>
> \blank
> Same in the
> footnote:\footnote{\hyphenatedurl{https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/}}
>
>
> \emptylines[5]
>
> useurl...url behaves the very same:
> \blank
> \useURL[urlVar][https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/]\url[urlVar]
>
> \blank
> Same in the footnote:\footnote{\url[urlVar]}
> \stoptext
>
> ___________________________________________________________________________________
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2019-01-24 22:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-24 21:56 Lars
2019-01-24 22:34 ` Henri Menke [this message]
2019-01-25 13:39 ` cryo shock
2019-01-25 19:35 ` Wolfgang Schuster
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=f9b467f8-97a4-3f18-014e-0d5581e69a82@gmail.com \
--to=henrimenke@gmail.com \
--cc=ntg-context@ntg.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).