From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44230 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: how to color footnote? Date: Mon, 22 Sep 2008 15:32:43 -0400 (EDT) Message-ID: References: <48D7CA14.50201@elvenkind.com> 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: ger.gmane.org 1222112059 17075 80.91.229.12 (22 Sep 2008 19:34:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2008 19:34:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 22 21:35:15 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KhrBa-0005Qd-O9 for gctc-ntg-context-518@m.gmane.org; Mon, 22 Sep 2008 21:35:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D09DB1FE06; Mon, 22 Sep 2008 21:34:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27859-05-7; Mon, 22 Sep 2008 21:33:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 33D461FE11; Mon, 22 Sep 2008 21:33:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7377A1FE06 for ; Mon, 22 Sep 2008 21:33:14 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27859-05-6 for ; Mon, 22 Sep 2008 21:32:45 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id F148D1FE0F for ; Mon, 22 Sep 2008 21:32:44 +0200 (CEST) Original-Received: FROM udhcp-wlan99.public.engin.umich.edu (udhcp-wlan99.public.engin.umich.edu [141.213.120.109]) BY hellskitchen.mr.itd.umich.edu ID 48D7F2DB.47104.27650 ; 22 Sep 2008 15:32:43 -0400 In-Reply-To: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44230 Archived-At: On Mon, 22 Sep 2008, Steffen Wolfrum wrote: > > Ahh, now I see where my problem lays: > > > \setupcolors[state=start] > > \starttext > > \setupinteraction[state=start] > > \setupfootnotes[textcolor=magenta] > > \setupfootnotedefinition[before={\color[green]}] > test\footnote{test} > > \stoptext > > Despite the fact that interaction carries its own color, elements can > be re-colored by their own color definition (see above). > Only the number of the note in front of the footnote text always gets > overridden by interaction color! Because it is overridden by interaction color. > This distinction I didn't expect. > > > Why should exclusively that poor little number not be allowed to have > its own color? There should be a better way to do this (set interaction color and interaction style of each element separately), but for your case you can use \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________