From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92497 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: footnote coloring Date: Sun, 6 Sep 2015 17:28:49 +0000 Message-ID: <65B72981-93E4-448E-A456-57558E7B3A4B@uva.nl> References: <858AEC71-458D-4AFA-AD40-5690EE4E0184@ziggo.nl> <55EC1578.1030204@gmx.es> <0DD9FCE7-BE1D-4AD8-90C8-A21A8EA69628@uva.nl> <55EC690C.8010108@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1454955369==" X-Trace: ger.gmane.org 1441560579 6858 80.91.229.3 (6 Sep 2015 17:29:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2015 17:29:39 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 06 19:29:22 2015 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 1ZYdkn-0006FU-T6 for gctc-ntg-context-518@m.gmane.org; Sun, 06 Sep 2015 19:29:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DBB6310225 for ; Sun, 6 Sep 2015 19:29:21 +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 hDTFh6unODz9 for ; Sun, 6 Sep 2015 19:29:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 836F510230 for ; Sun, 6 Sep 2015 19:28:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9B55101FA for ; Sun, 6 Sep 2015 19:28:51 +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 twEnEcitJyFo for ; Sun, 6 Sep 2015 19:28:51 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id F1FB8101F7 for ; Sun, 6 Sep 2015 19:28:50 +0200 (CEST) Original-Received: from HUB02.uva.nl (hub02.uva.nl [146.50.108.231]) by filter2-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t86HSoCt003021 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Sun, 6 Sep 2015 19:28:50 +0200 Original-Received: from MBX02.uva.nl ([169.254.2.192]) by HUB02.uva.nl ([2002:9232:6ce7::9232:6ce7]) with mapi id 14.03.0248.002; Sun, 6 Sep 2015 19:28:49 +0200 Thread-Topic: [NTG-context] footnote coloring Thread-Index: AQHQ6MEffxlUR9QBn0iak/QxSwO75J4vn/EA In-Reply-To: <55EC690C.8010108@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [84.106.134.200] X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=146.50.108.231; country=NL; region=North Holland; city=Amsterdam; latitude=52.374; longitude=4.8897; http://maps.google.com/maps?q=52.374,4.8897&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QPdRsOS5 - 1f0e01efbdaa - 20150906 (trained as not-spam) Received-SPF: none (filter2-ams.mf.surf.net: domain of H.vanderMeer@uva.nl does not designate permitted sender hosts) receiver=filter2-ams.mf.surf.net; client-ip=146.50.108.231; envelope-from=; helo=HUB02.uva.nl; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:92497 Archived-At: --===============1454955369== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_65B7298193E4448EA45657558E7B3A4Buvanl_" --_000_65B7298193E4448EA45657558E7B3A4Buvanl_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks. I would not have thought of that. In the reference manual headcolor= occurs in 13.2 \setupdescriptions and in 13.5 \definelabel only. I did not= connect that with footnotes. Is \setupnotation a special form of \setupdes= criptions? By the way, is a separate call to \setupnote[footnote][textcolor=3Dred] nec= essary to color the footnotemark in the running text? Or is there a key for= it in \setupnotation[footnote] too? Hans van der Meer On 06 Sep 2015, at 18:25, Wolfgang Schuster > wrote: Meer, H. van der 6. September 2015 13:15 Indeed, this helped. Thanks. For the record: in order to keep the position of the number in the footnote= high, one has to use: \def\redfootnotenumber#1{\color[red]{\high{#1}}} \setupnotation[footnote][numbercommand=3D\redfootnotenumber] You can use the headcolor key to change the color of the footnote number. \setupnotation[footnote][headcolor=3Dred] Wolfgang ___________________________________________________________________________= ________ --_000_65B7298193E4448EA45657558E7B3A4Buvanl_ Content-Type: text/html; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable Thanks. I would not have thought of that. In the reference manual headcolor= occurs in 13.2 \setupdescriptions and in 13.5 \definelabel only. I did not= connect that with footnotes. Is \setupnotation a special form of \setupdes= criptions?

By the way, is a separate call to \setupnote[footnote]= [textcolor=3Dred] necessary to color the footnotemark in the running t= ext? Or is there a key for it in \setupnotation[footnote] too?

Hans van der Meer


On 06 Sep 2015, at 18:25, Wolfgang Schuster <schuster.wolfgang@gmail.com<= /a>> wrote:
6. September 2015 13:15
Indeed, this helped. Thanks.

For the record: in order to keep the position of the number= in the footnote high, one has to use:
\def\redfootnotenumber#1{\color[red]= {\high{#1}}}
\setupnotation[footnote][numbercomma= nd=3D\redfootnotenumber]
You can use the headcolor key to change the color of the footnote number.
\setupnotation[footnote][headcolor=3Dred]

Wolfgang
___________________________________________________________________________= ________

--_000_65B7298193E4448EA45657558E7B3A4Buvanl_-- --===============1454955369== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1454955369==--