From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105460 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Philipp A." Newsgroups: gmane.comp.tex.context Subject: Re: PDF layer links Date: Fri, 8 Nov 2019 18:29:49 +0100 Message-ID: References: <7e08d7c6-ca63-ac9c-09ee-27d0fd452ce2@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3057984881429561278==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="91443"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 08 18:30:19 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iT85T-000NdK-5c for gctc-ntg-context-518@m.gmane.org; Fri, 08 Nov 2019 18:30:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 442CA162CAA; Fri, 8 Nov 2019 18:30:06 +0100 (CET) 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 9HWUvS-cnu4o; Fri, 8 Nov 2019 18:30:05 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 48B9C162CAB; Fri, 8 Nov 2019 18:30:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0F36A162CA9 for ; Fri, 8 Nov 2019 18:30:04 +0100 (CET) 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 6ILYnohclza1 for ; Fri, 8 Nov 2019 18:30:02 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.177; helo=mail-oi1-f177.google.com; envelope-from=trueflyingsheep@gmail.com; receiver= Original-Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) (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 5154D162C8A for ; Fri, 8 Nov 2019 18:30:02 +0100 (CET) Original-Received: by mail-oi1-f177.google.com with SMTP id a14so5930504oid.5 for ; Fri, 08 Nov 2019 09:30:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Dq0aifdaWypS5pjeG5DJJuUiYQWytHJLE1KzpBDyhq8=; b=aZpmPcUV0psirWTYVze8YZRe+kpAqy+BRhGwUHEfaU2QhEY7EEw1+bSaujRsChgAaX YGJMtVSIO94nOcdNDOfA+8Yobq1vXY5FjeD1KON4CeeLibgoBDdCj5pkbicuwSv0qmZx llJhHzsXyiFzV6ft5ddZx+EittIQeUhdBP6+H+Ttm8eQNtVW2f41lrqgxBq815Tzo1Mh zq0vWqez9GBiGrBvL63J7Csq7LKyANzHXGuOQG1MLPg1UE+z40juPW871+RQi7h8Eo2z 9W9/uNVXMo7YdIVp0gi5nM8mb5TgZhXTQnwSKoBeOOnvPQS4uYkoulFRpQ5GX65/E2sm 3nEg== X-Gm-Message-State: APjAAAXPilLrblpuUnXCgeboZ6wdXOa0oFQFvC7iokC9dHMTi1UfsC9C CAW0ZQKigsWp11E9ZFWKnG7be+2bn8yoKpJidgXwcToP X-Google-Smtp-Source: APXvYqxLqsu4kc5a+ilRsxGlfz6pkjPhvkQevIXPdSfBElPMwU482WbAZemHjSeBHhk3QTuoO1dsQE3SOTixU/OOj8I= X-Received: by 2002:aca:4748:: with SMTP id u69mr5207068oia.95.1573234200430; Fri, 08 Nov 2019 09:30:00 -0800 (PST) In-Reply-To: <7e08d7c6-ca63-ac9c-09ee-27d0fd452ce2@gmx.es> 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.org gmane.comp.tex.context:105460 Archived-At: --===============3057984881429561278== Content-Type: multipart/alternative; boundary="000000000000aa4ce90596d9212d" --000000000000aa4ce90596d9212d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you, but I want colored text, not a border. Also bugs should be fixed regardless of workarounds=E2=80=A6 Am Mi., 6. Nov. 2019 um 19:17 Uhr schrieb Pablo Rodriguez : > On 11/6/19 5:07 PM, Philipp A. wrote: > > Hi, > > > > I asked this question some time ago: > > https://tex.stackexchange.com/q/354731/2867 > > Hi Philipp, > > I think this approach is easier to achieve what you want: > > \setupinteraction > [state=3Dstart, > style=3D, > color=3D, > contrastcolor=3D, > focus=3Dstandard] > \enabledirectives[references.border=3Dred] > %~ \enabledirectives[references.border]% defaults to grey > \define[1]\MyURL{{\tt\goto{\hyphenatedurl{#1}}[url(#1)]}} > \starttext > \startTEXpage[offset=3D1em] > \MyURL{https://wiki.contextgarden.net} > \stopTEXpage > \stoptext > > At least, this works best with Acrobat. > > I hope it helps, > > Pablo > -- > http://www.ousia.tk > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --000000000000aa4ce90596d9212d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you, but I want colored text, not a border.

Also bugs should be fixed regardless of workarounds= =E2=80=A6

Am Mi., 6. Nov. 2019 um 19:17=C2=A0Uhr schrieb Pablo Rod= riguez <oinos@gmx.es>:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">On 11/6/19 5:07 PM, Philip= p A. wrote:
> Hi,
>
> I asked this question some time ago:
> https://tex.stackexchange.com/q/354731/2867

Hi Philipp,

I think this approach is easier to achieve what you want:

=C2=A0 =C2=A0 \setupinteraction
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [state=3Dstart,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0style=3D,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0color=3D,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0contrastcolor=3D,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0focus=3Dstandard]
=C2=A0 =C2=A0 \enabledirectives[references.border=3Dred]
=C2=A0 =C2=A0 %~ \enabledirectives[references.border]% defaults to grey
=C2=A0 =C2=A0 \define[1]\MyURL{{\tt\goto{\hyphenatedurl{#1}}[url(#1)]}}
=C2=A0 =C2=A0 \starttext
=C2=A0 =C2=A0 \startTEXpage[offset=3D1em]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 \MyURL{https://wiki.contextgarden.net}=
=C2=A0 =C2=A0 \stopTEXpage
=C2=A0 =C2=A0 \stoptext

At least, this works best with Acrobat.

I hope it helps,

Pablo
--
http:/= /www.ousia.tk
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000aa4ce90596d9212d-- --===============3057984881429561278== 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== --===============3057984881429561278==--