From: Steffen Wolfrum via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Steffen Wolfrum <context@st.estfiles.de>
Subject: Re: never add a hyphen to break a URL
Date: Tue, 25 Oct 2022 12:11:17 +0200 [thread overview]
Message-ID: <B5CCD490-C48C-4882-85D1-D13C632B591E@st.estfiles.de> (raw)
In-Reply-To: <fa39a6b5-2140-e016-8a72-22e6c3c42076@xs4all.nl>
> Am 25.10.2022 um 11:47 schrieb Hans Hagen via ntg-context <ntg-context@ntg.nl>:
>
> On 10/25/2022 11:05 AM, Steffen Wolfrum via ntg-context wrote:
>> This does not open the right link.
>> At least on my machine nothing happens when clicking on «litteraturbanken.se <http://litteraturbanken.se/>».
>> (And it looks as the link was cropped, only reads the first line?)
>
> \setupinteraction[state=start]
>
> \useurl
> [litteraturbanken]
> [https://litteraturbanken.se]
> [författare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimil?show_search_work&s_query=retractata&s_lbworkid=lb487378&s_mediatype=faksimil&s_word_form_only]
> [https://litteraturbanken.se]
>
> \starttext
>
> before \goto{\url[litteraturbanken]}[url(litteraturbanken)] after
>
> before \from[litteraturbanken] after
>
> \stoptext
>
> beware of viewer behaviour: some viewers parse the displayed pdf
>
> Hans
…. strange, on my machine your example doesn't open the link.
Please have a look here: only the last one («works …») opens the link. Why?
\setupinteraction[state=start]
\useurl
[litteraturbanken]
[https://litteraturbanken.se]
[författare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimil?show_search_work&s_query=retractata&s_lbworkid=lb487378&s_mediatype=faksimil&s_word_form_only]
[https://litteraturbanken.se]
\starttext
before \goto{\url[litteraturbanken]}[url(litteraturbanken)] after
before \from[litteraturbanken] after
fails \useURL[test][https://litteraturbanken.se/författare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimil? show_search_work&s_query=retractata&s_lbworkid=lb487378&s_mediatype=faksimil&s_word_form_only][][{https://litteraturbanken.se/författare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimil? show_sear-ch_work&s_query=retractata&s_lbworkid=lb487378&s_mediatype=faksimil&s_word_form_only}]\from[test] after
works \useURL[test][https://litteraturbanken.se/f\%C3\%B6rfattare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimil? show_search_work&s_query=retractata&s_lbworkid=lb487378&s_mediatype=faksimil&s_word_form_only][][{https://litteraturbanken.se/författare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimil? show_sear-ch_work&s_query=retractata&s_lbworkid=lb487378&s_mediatype=faksimil&s_word_form_only}]\from[test] after
\stoptext
Steffen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2022-10-25 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-24 16:54 Steffen Wolfrum via ntg-context
2022-10-24 18:04 ` Pablo Rodriguez via ntg-context
2022-10-25 9:05 ` Steffen Wolfrum via ntg-context
2022-10-25 9:47 ` Hans Hagen via ntg-context
2022-10-25 10:11 ` Steffen Wolfrum via ntg-context [this message]
2022-10-25 16:15 ` Pablo Rodriguez 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=B5CCD490-C48C-4882-85D1-D13C632B591E@st.estfiles.de \
--to=ntg-context@ntg.nl \
--cc=context@st.estfiles.de \
/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).