[NTG-context] never add a hyphen to break a URL

Steffen Wolfrum context at st.estfiles.de
Tue Oct 25 11:05:55 CEST 2022


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?)

Steffen



> Am 24.10.2022 um 20:04 schrieb Pablo Rodriguez via ntg-context <ntg-context at ntg.nl <mailto:ntg-context at ntg.nl>>:
> 
> A simpler approach would read (there is a single url, instead of two
> [less typos in the end]):
> 
> \setupinteraction[state=start]
> 
> \starttext
> 
> \def\MyURL[#1]{\goto{\tt\hyphenatedurl{#1}}[url(#1)]}
> 
> \MyURL[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%C3%B6rfattare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimil?show_search_work&s_query=retractata&s_lbworkid=lb487378&s_mediatype=faksimil&s_word_form_only>]
> \stoptext

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20221025/91026843/attachment-0001.htm>


More information about the ntg-context mailing list