From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44232 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: how to color footnote? Date: Mon, 22 Sep 2008 21:44:45 +0200 Message-ID: <922EC55C-08A4-4118-8275-B55ED6EF411F@st.estfiles.de> References: <48D7CA14.50201@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222114295 31883 80.91.229.12 (22 Sep 2008 20:11:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2008 20:11:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 22 22:12:32 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 1Khrlh-0004S7-5N for gctc-ntg-context-518@m.gmane.org; Mon, 22 Sep 2008 22:12:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 59BB41FE15; Mon, 22 Sep 2008 22:11:20 +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 10371-03-7; Mon, 22 Sep 2008 22:10:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9BC41FC3E; Mon, 22 Sep 2008 22:10:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A0691FE1D for ; Mon, 22 Sep 2008 22:10:28 +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 08215-05-9 for ; Mon, 22 Sep 2008 22:09:48 +0200 (CEST) Original-Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.18.15]) by ronja.ntg.nl (Postfix) with ESMTP id CB3281FE58 for ; Mon, 22 Sep 2008 21:44:46 +0200 (CEST) Original-Received: from [89.247.12.167] (helo=[192.168.1.2]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1KhrKw-0000bb-HT for ntg-context@ntg.nl; Mon, 22 Sep 2008 21:44:46 +0200 In-Reply-To: X-Mailer: Apple Mail (2.929.2) X-Df-Sender: 698580 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:44232 Archived-At: THAT'S GREAT: Am 22.09.2008 um 21:32 schrieb Aditya Mahajan: > 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. It gets overridden by interaction color because it is overriden 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 It's like a game for kids ... "who finds the 10 differences between Aditya's lines and Steffen's lines?" =o) Next try? Volunteers! Who get's the little darkgreen footnote number paint in red ... nobody??? Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________