From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32220 invoked from network); 12 Oct 2023 13:17:41 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 12 Oct 2023 13:17:41 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 647D4483314 for ; Thu, 12 Oct 2023 15:17:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 72o4DFCMnkIE for ; Thu, 12 Oct 2023 15:17:00 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id EB4A648344D for ; Thu, 12 Oct 2023 15:15:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 5B937482E48 for ; Thu, 12 Oct 2023 15:14:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qaGvJmv_tU8k for ; Thu, 12 Oct 2023 15:14:56 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id DE512482E38 for ; Thu, 12 Oct 2023 15:14:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.es; s=s31663417; t=1697116495; x=1697721295; i=oinos@gmx.es; bh=eHb5ANLw62/2mawUUTDcQwgSLCJjsVnOZhVo1yWbObI=; h=X-UI-Sender-Class:Date:To:From:Subject; b=NtoRrXAF5wFJ68clBm8pARNCqTYvrVOQLbRE37/YH+2mASUsUBwirIeCOH9YU2VsCtpnorQpPKP mGItsKPju9iMgSjKcJ5bZ1sUlveWtqq+CQdmT9ATCdrlXcTzY3tn299aLeNGLWlg1Wr8MoKsX4CAs yQ9M4laRqt4OiP6+Q52g8/fsyOUZJkN0nOkxprxrq2Gvpo3sQ5N1kfdL2caFuLHWcmxXZ8tO4fVzR mJtnTN5pRBwXCv4dfbgbECz0tkgNRFSCS/0cUYqV2JiegGa2DYudHG6RX2oxkyiHakIU4/465bmfX JzPrzpkokOgSVqYGzF8ATYi8A9G/pTgefBUQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.101] ([90.167.181.161]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1N9MpS-1rbyFX0x08-015LXt for ; Thu, 12 Oct 2023 15:14:55 +0200 Message-ID: Date: Thu, 12 Oct 2023 15:14:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: ConTeXt users From: Pablo Rodriguez X-Provags-ID: V03:K1:gHaLNlZU0AnBBio3Ff5ndo7GPaXFBYzp/Qs/EcTouNl/rwt8CGW cWpdC7C/i5qhtE+0vSJaShUq8lrYjDsoa4p2GZSiICdCqimy9avbx8bNd40kcNmVXPDRmTL 1h0WTrzKLFk5nD2DrzbER6TIOxvRWgUZw4/QcYDDcWHNyDpeHv+nE/DM4u1k/ACjAezr24v L48A841dXPKt9TKoca5zQ== UI-OutboundReport: notjunk:1;M01:P0:vPlkDfFpa3s=;+NnC8szwmKwydXIR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@gmx.es X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] colors for links List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Hans, I have the following source, which tries to resemble three kinds of links: \setupinteraction[state=start, style=, focus=standard] \def\inone#1{% \start\setupinteraction[color=darkgreen]% \enabledirectives[references.border=darkgreen]% \goto{#1}[url(#1)]\stop} \def\intwo#1{% \start\setupinteraction[color=darkred]% \enabledirectives[references.border=darkred]% \goto{#1}[url(#1)]\stop} \def\inthree#1{% \start\setupinteraction[color=darkblue]% \enabledirectives[references.border=darkblue]% \goto{#1}[url(#1)]\stop} \starttext \startTEXpage[offset=1dk, align=middle] \inone{one}\blank \intwo{two}\blank \inthree{three}\blank \stopTEXpage \chapter[one]{First chapter} \chapter[two]{Second chapter} \chapter[three]{Second chapter} \stoptext I see that the directive for link borders only allows one color for links per document. In my real-world documents, I need to make three different border links: for destinations inside the document (/GoTo), for destinations in other documents (/GoToR or /GoToE) and for external destinations (/URI). With the current document I write now, I have over a hundred links in twenty pages. Being able to visually distinguish each link helps interaction with the document (reading or even writing it). Would it be possible that \setupinteraction could have a bordercolor key, such as the color one? Many thanks for your help, Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________