From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114628 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A via ntg-context Newsgroups: gmane.comp.tex.context Subject: Breaking url into multiple lines results in broken link in rendered PDF Date: Wed, 30 Mar 2022 19:35:25 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2568785577898303075==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33013"; mail-complaints-to="usenet@ciao.gmane.io" Cc: A A To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 30 19:36:19 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 1nZcF0-0008Ox-Mr for gctc-ntg-context-518@m.gmane-mx.org; Wed, 30 Mar 2022 19:36:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A0B27281301; Wed, 30 Mar 2022 19:35:42 +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 wPMzD2gG6hVJ; Wed, 30 Mar 2022 19:35:40 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BCAF6284ACB; Wed, 30 Mar 2022 19:35:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 91D71284ACB for ; Wed, 30 Mar 2022 19:35:39 +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 dLcogi_4cJmC for ; Wed, 30 Mar 2022 19:35:38 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.48; helo=mail-io1-f48.google.com; envelope-from=amine.aboufirass@gmail.com; receiver= Original-Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1247C281301 for ; Wed, 30 Mar 2022 19:35:37 +0200 (CEST) Original-Received: by mail-io1-f48.google.com with SMTP id p22so25628473iod.2 for ; Wed, 30 Mar 2022 10:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=V0ZOMqNsvNuZkgSaLh86qZdFeoXwua0UHg6h3px8fl0=; b=Jl3rR2oQ6P5SaDpXLUrGKZp5uZQkdy+dzzJucLJFTpd6nWoTieW2HEXXFdZ2HpnWB+ M7y2VAIPN8pkPxA5hqhmnEaj948ROU5ov7ME44Z9UB6vdt9qkO5ZYjCP220gC+A2Yq0z tKYRH5+sVJILB5BW/UWTv7wgRPk9onqRXfir5Kky7DzNGd5hd1+aNc4PQ9fUn6qxuMM2 yUH4HxCZxqKT5CF1bG34w6sLpSgJThri21NSx5eSLJXZNAoa1kW3S9mo3YV7+zXOcGMm /uvVxurxlyAHog4LD7xsVFQFvHHswZWcI/zrraWIohCbUI0C98OcPbdiiX3KDjiGf9zk Gukg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=V0ZOMqNsvNuZkgSaLh86qZdFeoXwua0UHg6h3px8fl0=; b=r8Hkb8JqbzG2I1P1TXyX3b86BQS1/UbMDKNtHoBKg5QaSnNdYT1BfHopo8DC35sjz1 gcp15sIa5GlstjJV314w3Sq2POknlak8arOz9gEpTb6PnRlmN7gKODUP5VfOnzuM71gP o35QXI4kv01MlBITnaiZpgR+MZK/0hrq/q12BxxOD1B6TOrhadQxSytoTkhvFsUq4rm9 3jANSz4aFc5CVrfOLwoZX93rHPxBLqISmkvxipDScFF3Clb4hOVfdweMhkav0Zec5B/R 0tWeOG7NuHRgUvBGj9tYCDkvKAFUHIj7h9ysGFsToosd8EVUq4mxKvUXS7QzGtXauTvT TWCQ== X-Gm-Message-State: AOAM533iCssI7W9AAwYNw5LEmaXFL6nXGZ1CBxSfn2ahby9LeVPEfAoP d8JXr8axIAiutCpegX/5glTqhwyJrR8AJy4HmkT7Nmu/8XX+Eg== X-Google-Smtp-Source: ABdhPJwQJxoMLnemhYlO+QRyhOOB46wysR459oesl9j3FwPuamJTNiQWLCCNhDjgzhdBib+sEHAW4xafjzOubqZWwv0= X-Received: by 2002:a5d:8898:0:b0:645:e689:3381 with SMTP id d24-20020a5d8898000000b00645e6893381mr12618860ioo.179.1648661736839; Wed, 30 Mar 2022 10:35:36 -0700 (PDT) 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:114628 Archived-At: --===============2568785577898303075== Content-Type: multipart/alternative; boundary="0000000000002ddc1105db72f9fe" --0000000000002ddc1105db72f9fe Content-Type: text/plain; charset="UTF-8" I would like to be able to break up URLs into multiple lines in my bibliography source file and still get the link to work. Here's what I have so far: *\setupinteraction [state=start]\starttext\useURL [myUrl] [ "https://www.g oogle.com " ]\goto{link}[url(myUrl)]\stoptext* Unfortunately the link does not work. When I *don't* split the URL into multiple lines, the link works again. In reality my link is very long and forces uncomfortable line continuation in my `vim` editor. How can I break up long URLs in my source `.tex` file and still get the link to work in the resulting pdf? [1]: https://tex.stackexchange.com/questions/638541/line-continuation-in-bib-file-url-for-cleaner-bibliography-code --0000000000002ddc1105db72f9fe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I would like to be able to break up URLs into multiple lin= es in my bibliography source file and still get the link to work. Here'= s what I have so far:

\setupinteraction
=C2=A0 [state=3Dstart]=

\starttext
\useURL
=C2=A0 [myUrl]
=C2=A0 [
=C2=A0 =C2= =A0 "https://www.g
=C2=A0 =C2=A0 oogle.com"
=C2=A0 ]
\goto{link}[url= (myUrl)]
\stoptext


Unfortunately the link does not work. When= I *don't* split the URL into multiple lines, the link works again.
=
In reality my link is very long and forces uncomfortable line continuat= ion in my `vim` editor. How can I break up long URLs in my source `.tex` fi= le and still get the link to work in the resulting pdf?

=C2=A0 [1]: = https://tex.stackexchange.c= om/questions/638541/line-continuation-in-bib-file-url-for-cleaner-bibliogra= phy-code
--0000000000002ddc1105db72f9fe-- --===============2568785577898303075== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2568785577898303075==--