From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109087 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Concerning text backgrounds (and further tuning) in references Date: Fri, 23 Oct 2020 18:45:24 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0641930659388019259==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3557"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 24 01:46:14 2020 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 1kW6lA-0000oQ-Jo for gctc-ntg-context-518@m.gmane-mx.org; Sat, 24 Oct 2020 01:46:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0E4211A9885; Sat, 24 Oct 2020 01:45:41 +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 7b7q00S7kJTn; Sat, 24 Oct 2020 01:45:39 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 493E11A984F; Sat, 24 Oct 2020 01:45:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B42601A95FB for ; Sat, 24 Oct 2020 01:45:37 +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 dPgH4l1tjbYZ for ; Sat, 24 Oct 2020 01:45:36 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.53; helo=mail-wr1-f53.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 BA76D1A95F0 for ; Sat, 24 Oct 2020 01:45:36 +0200 (CEST) Original-Received: by mail-wr1-f53.google.com with SMTP id i1so4466217wro.1 for ; Fri, 23 Oct 2020 16:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=NO0Gvtml95b+/rI+6yW9f32aYOM535GLXv+S19fcB9w=; b=Fdn/SB7bvz0FzUq3QYRudwsU1gT5tp+MWALfXw2xsbfvhUZb3XVUH8POF8w/dloYiw +OrgUElaGBCjNT6NtntHeDzPJzfVEq4lYCdV9Af7KeoWZmNFcRXsfbEasycQq/vmXBiG urRZzqxk6394P/DV9t7ia3UwxZXoQsVRVtMcWAa2IeRq9LTW3LgZn1aWql7qIDCC1CQX geUmZqn0x/JCWrtlTQHTkDwFZ3pQgbvDzsUdMp6/rEYNrRszBL3TGZEYuuBk1NxW0GfX /1hO9TXq60jFvltFOY05WhfFQypAv41OfcOusELJpGmF6aPevFrvYIW1wv/8MFKxg+JT zmxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NO0Gvtml95b+/rI+6yW9f32aYOM535GLXv+S19fcB9w=; b=gfXpmBESO9NGe80fhr7BOspMpnvIrzYwhMv4JqMpBKrTUCw6sz4KpRz7KVPRVftc+I 2Kgvdi1wP/eclWtOYv0AxoDSrcYSx4z9djPQXU0s+ZqSHTx1lYi2uQLzLSy/eT6EjrIG Anq2sPTw4AezIvGtc5PMofYkUTlInRYA9WFrWYa8WVqzi5t8ROw4QxXLxmfaVkQ5oo6U C+Zphp1JN2pj+H5KVSgkhXGV+uuqkZDhmQ7k7Swvd46761AcgzeS/QNpilDDTHvcC46+ hwTwYz+Q8Us542P9My5ZEUe8PSM/eWyAagaTfLh4fFd8abPP+ubYb7cZusnWbX8a8N+n SODQ== X-Gm-Message-State: AOAM530qd7WlI0WTnWWO/fhg0mMAMEIJ5y/2ddIZFDZsXFp04LjzfChX 4zdP1tmRuTNH5R2OCRdcXdTsMwSKLeWQ8HHgw0TY3zWJc4dO3w== X-Google-Smtp-Source: ABdhPJzegDZTwWLyM/PcngU9MSQdithX8sDzvYsuWwMvU63K/IbFPXMVDQocNF1oAa0iAREiV/IpqA8Hvnmr05F7aUY= X-Received: by 2002:adf:a553:: with SMTP id j19mr4909559wrb.349.1603496736086; Fri, 23 Oct 2020 16:45: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:109087 Archived-At: --===============0641930659388019259== Content-Type: multipart/alternative; boundary="0000000000005a5f8f05b25f2d10" --0000000000005a5f8f05b25f2d10 Content-Type: text/plain; charset="UTF-8" Hi, list! I've seen the following question in TeX.SE. My attempt of solving was: https://tex.stackexchange.com/questions/567655/change-background-color-of-hyperlinks/567719?noredirect=1#comment1431936_567719 \setupinteraction [state=start]\definetextbackground[MyUrl] [ location=text, background=color, backgroundcolor=yellow, frame=off, ]\def\myfootnote#1{\MyUrl{\high{#1}}} \setupfootnotes[textcommand=\myfootnote] \definepapersize[default][A8,portrait]\setuppapersize [default]\useURL[aurl] [https://wiki.contextgarden.net] [] [\MyUrl{ConTeXt Garden}]\starttext Testing links to same page\footnote{This should create links to same page} and an external link: \from[aurl].\stoptext When one tries to use `\setupinteraction[...style=\MyUrl...]` either it doesn't work or displays a background which doesn't break well across lines. Is there a workaround or another method? Maybe a feature request for a more customizable setup for references? I had the same problem some time ago and I guess some others too. Thank you in advance, Jairo :) --0000000000005a5f8f05b25f2d10 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, list! I've seen =
the following question in TeX.SE.
My attempt of solving was: 

https://tex.stackexchange.com/questions/567655/change-= background-color-of-hyperlinks/567719?noredirect=3D1#comment1431936_567719<= /a>

\setupinteraction = [state=3Dstart] \definetextb= ackground[MyUrl] [ location=3Dtext,=20 background=3Dcolor, backgroundcolor=3Dyellow, frame=3Doff, ] \def<= /span>\myfoo= tnote#1{\MyUrl{\high{#1}<= /span>}}=20 \setupfootno= tes[textcommand=3D\myfootnote] \definepaper= size[default][A8,portrait] \setuppapers= ize [default] \useURL[aurl] [
https://wiki.contextgarden.net] [] [\MyUrl{ConTeXt Garden}] \starttext Testing links to same page\footnote{This shoul= d create links to same page} and an external link: \from[aurl]. \stoptext

When one tries to use `\setupinteraction[...style=
=3D\MyUrl...]` either it doesn't work or displays a background which do=
esn't break well across lines. 
Is there a workaroun=
d or another method? Maybe a feature request for a more customizable setup =
for references? I had the same problem some time ago and I guess some other=
s too.

Thank you in advance,

= Jairo :)
--0000000000005a5f8f05b25f2d10-- --===============0641930659388019259== 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== --===============0641930659388019259==--