From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64352 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Different color for external URLs Date: Thu, 9 Dec 2010 01:38:21 +0200 Message-ID: <20101208233821.GA21708@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291976189 22531 80.91.229.12 (10 Dec 2010 10:16:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 10:16:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 10 11:16:19 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PR01S-0008De-Gc for gctc-ntg-context-518@m.gmane.org; Fri, 10 Dec 2010 11:16:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14C2ACA969; Fri, 10 Dec 2010 11:15:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xZg5z36Hlqi0; Fri, 10 Dec 2010 11:15:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 652E2CA911; Fri, 10 Dec 2010 11:06:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BAF44CA909 for ; Fri, 10 Dec 2010 11:06:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0lDdi7cCzYTe for ; Fri, 10 Dec 2010 11:06:11 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id C749DCA9B0 for ; Thu, 9 Dec 2010 00:38:27 +0100 (CET) Original-Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB8NcPfn011642 for ; Thu, 9 Dec 2010 00:38:26 +0100 Original-Received: by ewy5 with SMTP id 5so1361326ewy.5 for ; Wed, 08 Dec 2010 15:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=Z2soacFi1k532oGV7Q8H7uq10ZJh9khnHpCwFJdxyKs=; b=gPU6HhQGgg+/6V2MdgkjSvawMiEQSdTXA3SjhBxF2uJB1TITV6nDwnp8SWdd2Ljzz/ wHLPew+UCVOGf2gS4/nsRw5wljkNW0zPe3gnpCUaxQHkODs6Ea23+s++oAQ+O8pNPNis LbSz7aF5E9i0lek75TsgWIfNxr8FD4u9XrBDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=mzGUrJEZyxafgXc2GZ+e45hykqA56hA1MmCG8jU0bsxKNg2S5xyBzmgGR5oQG+Vtpi UanCd42z8P1wY3Ho9cE3V9BmFakupX51cCyF0Gcv5CO+hANUbZlUL4YZisL4yUEg+TfE r7OcIw74AoaXlGP1As+c2Fn9k6YVWIMaS3e0c= Original-Received: by 10.213.7.2 with SMTP id b2mr3039479ebb.38.1291851505189; Wed, 08 Dec 2010 15:38:25 -0800 (PST) Original-Received: from localhost ([41.238.235.197]) by mx.google.com with ESMTPS id x54sm837639eeh.23.2010.12.08.15.38.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Dec 2010 15:38:24 -0800 (PST) Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.46; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0DDELCpb6 - 577f8e5d7f79 - 20101209 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64352 Archived-At: How can I set a different color for external URLs than that used for internal (in document) links? \setupinteraction[state=start,color=red] \starttext \section[1]{One} In \in{section}[1] and url \goto{example.com}[url(http://example.com)]. \stoptext P.S. I can't use \setURL \useURL for several reasons. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________