From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105480 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: Tue, 12 Nov 2019 12:29:21 +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="===============8384449797842428985==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="217339"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 12 12:29:55 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 1iUUMt-000uNU-Hv for gctc-ntg-context-518@m.gmane.org; Tue, 12 Nov 2019 12:29:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 928C0162E14; Tue, 12 Nov 2019 12:29:38 +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 YdNymwcMBAcd; Tue, 12 Nov 2019 12:29:37 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F227B162E16; Tue, 12 Nov 2019 12:29:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9CAD6162E0A for ; Tue, 12 Nov 2019 12:29:35 +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 8nWx4PeqK4mz for ; Tue, 12 Nov 2019 12:29:34 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.53; helo=mail-ot1-f53.google.com; envelope-from=trueflyingsheep@gmail.com; receiver= Original-Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.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 8E27E162848 for ; Tue, 12 Nov 2019 12:29:34 +0100 (CET) Original-Received: by mail-ot1-f53.google.com with SMTP id b16so13986393otk.9 for ; Tue, 12 Nov 2019 03:29:34 -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=YpDlsb74bbKYbMOKbDBN94PZvu/gyu30l1kSDRiYNyM=; b=IASiWW0hub0cNxhgHWH5hqf/BZmxVuDcldUIPs79P7TpgP26lgZWylt6YoitX01BiW C36f0h1+a++O2GWJVqmocvtX226z76rSgLoxe5HjBtx62VTu607A8C/2PMPkP4VDaxxQ rfsYhjexW1DOaAImraIejGRkrSVCl2PJaPeJzURWiaEkW/+X/NmR5/jHc1Dc8tbkb43z RsaNQ9oT+zaVo0ZOh4QjUnkAdr++cKweEGRuqggEQkhphGciL+Qy1ymWi9BKcva/lP04 NHdmP0GZ0V7Hxv2/sUUVZz//z01ZuipluPzX4fNRjYb1h+Im1gvJJ3nNUIAE7/nxUXqm QyFg== X-Gm-Message-State: APjAAAU2O8sdt6UxgbvntSPY/HXYLK5LFy/PU912s3+7SeIa/53/wPci qtik5HQk8lZJ/fY8ObxAQlvCcE0LKMDDIzb9VZGr6iOX0Fs= X-Google-Smtp-Source: APXvYqybPu5CtJBRVmo2Uo4Yv+xPLGjzsoq6fIS0521UgsjKCtLIDGIz5qH9aQ/r++EPkkfQBLWOGXv2hXOwhK90vF8= X-Received: by 2002:a9d:7444:: with SMTP id p4mr25778751otk.156.1573558172880; Tue, 12 Nov 2019 03:29:32 -0800 (PST) In-Reply-To: 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:105480 Archived-At: --===============8384449797842428985== Content-Type: multipart/alternative; boundary="000000000000ed941c0597248f8b" --000000000000ed941c0597248f8b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I filed http://tracker.luatex.org/view.php?id=3D1016 Am Fr., 8. Nov. 2019 um 18:29 Uhr schrieb Philipp A. : > 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 t= o >> 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 >> >> ________________________________________________________________________= ___________ >> > --000000000000ed941c0597248f8b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Am Fr., 8. Nov. 20= 19 um 18:29=C2=A0Uhr schrieb Philipp A. <flying-sheep@web.de>:
Thank you, but I want colored te= xt, not a border.

Also bugs should be fixed regard= less of workarounds=E2=80=A6

=
Am Mi., 6. Nov. 2019 um 19:17=C2=A0Uh= r schrieb Pablo Rodriguez <oinos@gmx.es>:
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:

=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
___________________________________________________________________________= ________
--000000000000ed941c0597248f8b-- --===============8384449797842428985== 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== --===============8384449797842428985==--