From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/116356 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steffen Wolfrum via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: never add a hyphen to break a URL Date: Tue, 25 Oct 2022 11:05:55 +0200 Message-ID: <720B8679-0A35-4C9C-B884-16435D3E5208@st.estfiles.de> References: <027D89D2-3178-4AD0-9072-14B3238323A6@st.estfiles.de> <699c7b11-3bd0-058a-671c-ee74355b7bb0@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Content-Type: multipart/mixed; boundary="===============9120351249470707744==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26207"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Steffen Wolfrum , Pablo Rodriguez To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 25 11:05:16 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1onFs3-0006Ui-2N for gctc-ntg-context-518@m.gmane-mx.org; Tue, 25 Oct 2022 11:05:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E33A8289E45; Tue, 25 Oct 2022 11:04:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DHG6n25bIXyi; Tue, 25 Oct 2022 11:04:30 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 840B0280409; Tue, 25 Oct 2022 11:04:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 47813280406 for ; Tue, 25 Oct 2022 11:04:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8SZcrLsm1Rts for ; Tue, 25 Oct 2022 11:04:28 +0200 (CEST) Received-SPF: Pass (helo) identity=helo; client-ip=80.67.31.99; helo=smtprelay05.ispgateway.de; envelope-from=context@st.estfiles.de; receiver= X-Greylist: delayed 71857 seconds by postgrey-1.36 at zapf.ntg.nl; Tue, 25 Oct 2022 11:04:28 CEST Original-Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1C823280405 for ; Tue, 25 Oct 2022 11:04:27 +0200 (CEST) Original-Received: from [92.75.179.24] (helo=mbp13.fritz.box) by smtprelay05.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1onFrK-0001cU-52; Tue, 25 Oct 2022 11:04:30 +0200 In-Reply-To: <699c7b11-3bd0-058a-671c-ee74355b7bb0@gmx.es> X-Mailer: Apple Mail (2.3445.104.21) X-Df-Sender: NDMxOTAz X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:116356 Archived-At: --===============9120351249470707744== Content-Type: multipart/alternative; boundary="Apple-Mail=_7851BFCA-2D70-4DA8-8B78-A8FAF3E3A650" --Apple-Mail=_7851BFCA-2D70-4DA8-8B78-A8FAF3E3A650 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 This does not open the right link. At least on my machine nothing happens when clicking on = =C2=ABlitteraturbanken.se =C2=BB. (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 = >: >=20 > A simpler approach would read (there is a single url, instead of two > [less typos in the end]): >=20 > \setupinteraction[state=3Dstart] >=20 > \starttext >=20 > \def\MyURL[#1]{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} >=20 > = \MyURL[https://litteraturbanken.se/f=C3=B6rfattare/CollijnI/titlar/ActaEtP= rocessusCanon/sida/614/faksimil?show_search_work&s_query=3Dretractata&s_lb= workid=3Dlb487378&s_mediatype=3Dfaksimil&s_word_form_only = ] > \stoptext --Apple-Mail=_7851BFCA-2D70-4DA8-8B78-A8FAF3E3A650 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
This does not open the = right link.

At least = on my machine nothing happens when clicking on =C2=ABlitteraturbanken.se=C2=BB.

(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@ntg.nl>:

A simpler = approach would read (there is a single url, instead of two
[less typos in the end]):

\setupinteraction[state=3Dstart]

\starttext

\def\MyURL[#1]{\goto{\tt\hyphenatedurl{#1}}[url(#1)]}
\MyURL[https://litteraturbanken.se/f=C3=B6rfattare/CollijnI/titlar/Act= aEtProcessusCanon/sida/614/faksimil?show_search_work&s_query=3Dretract= ata&s_lbworkid=3Dlb487378&s_mediatype=3Dfaksimil&s_word_form_o= nly]
\stoptext

= --Apple-Mail=_7851BFCA-2D70-4DA8-8B78-A8FAF3E3A650-- --===============9120351249470707744== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============9120351249470707744==--