From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3710 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: temp suppress hyperlinks Date: Wed, 03 Jan 2001 11:50:12 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010103115012.00908d70@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394434 19502 80.91.224.250 (23 Oct 2002 17:33:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:33:54 +0000 (UTC) Cc: Original-To: Xref: main.gmane.org gmane.comp.tex.context:3710 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3710 At 02:12 PM 1/2/01 -0500, Richard Hensh wrote: >Hi, > >I am using the \in and \at macros to create hyperlinks and cross references. >Is it possible to briefly turn the hyperlinks off. I tried the following but >it doesn't seem to work. > >\setupinteraction[state=start,color=red] > >\def\ForIn#1#2 > {\setupinteraction[state=stop] > \in{#1}[#2] > \setupinteraction[state=start,color=red]} > >When I use this macro, I lose the reference as well? Apart from some spurious spaces, this should work ok. Why do you set the color again? A faster alternative is: \def\ForIn#1[#2]{{\setupinteraction[state=stop]\in{#1}[#2]}} A convenient way to turn of specific colors, is to use names like: \definecolor[icolor][red] \setupinteraction[color=icolor] ..... \definecolor[icolor][black] So, to use indirect colors. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------