From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84956 Path: news.gmane.org!not-for-mail From: Jaroslav Hajtmar Newsgroups: gmane.comp.tex.context Subject: How it works \setupurl? Date: Wed, 23 Oct 2013 10:49:49 +0200 Message-ID: <52678DAD.3060508@gyza.cz> Reply-To: hajtmar@gyza.cz, mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382518300 15949 80.91.229.3 (23 Oct 2013 08:51:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2013 08:51:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 23 10:51:45 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VYuAI-0007FX-RU for gctc-ntg-context-518@m.gmane.org; Wed, 23 Oct 2013 10:51:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A3D610216; Wed, 23 Oct 2013 10:51:39 +0200 (CEST) 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 DesaM1lrfUnj; Wed, 23 Oct 2013 10:51:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E218410211; Wed, 23 Oct 2013 10:51:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B18310211 for ; Wed, 23 Oct 2013 10:51:36 +0200 (CEST) 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 F-t1j+tY41He for ; Wed, 23 Oct 2013 10:51:34 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 6E9A210209 for ; Wed, 23 Oct 2013 10:51:34 +0200 (CEST) Original-Received: from h1.cmg1.smtp.forpsi.com (h1.cmg1.smtp.forpsi.com [81.2.195.162]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9N8pWWv002805 for ; Wed, 23 Oct 2013 10:51:33 +0200 Original-Received: from [192.168.1.194] ([188.116.90.238]) by cmg1.smtp.forpsi.com with bizsmtp id gYrX1m00458ZT5Y01YrX0D; Wed, 23 Oct 2013 10:51:32 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 X-Bayes-Prob: 0.9999 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=81.2.195.162; country=CZ; latitude=49.7500; longitude=15.5000; http://maps.google.com/maps?q=49.7500,15.5000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08KEwPwgw - fbfa4a4b5fb0 - 20131023 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84956 Archived-At: Hello ConTeXist. I have a question: Is there \setupurl independent on \setupinteraction? Is there posibility get external references a different color than the other (default) links (to sections, figures etc) defined by \setupinteraction? Thanx Jaroslav Hajtmar Here is my minimal example: \setupinteraction[state=start, style=normal, color=blue, contrastcolor=] \setupurl[style=type, color=green] \setupexternalfigures[location={local,default}] \useURL [garden] [http://wiki.contextgarden.net/][] [http://wiki.contextgarden.net/] \starttext \section[sect]{Section} This is testing Cow section. \placefigure[here][cowfig]{Cow figure in Section.} {\externalfigure[cow][width=7cm]} In \in {section}[sect] at \at {page}[sect] is \in {figure}[cowfig] (these links have the correct blue color). But this external link to URL \from[garden] should be {\green green} and should be {\green\tt tt font}. \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________