[NTG-context] How to change the color of numbers just before the footnote text?

2013-04-15 Thread Tim Li
Now I have to change the color of numbers just before the footnote text so that 
it can match the color of text area.  I try to do it like this: 
\def\myfootnotecolor#1{%\startcolor[red]#1\stopcolor} \setupfootnotes   
[numbercommand={\myfootnotecolor}] or \setupfootnotes   [foregroundcolor=red] 
either method has no effect.___
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
___

Re: [NTG-context] How to change the color of numbers just before the footnote text?

2013-04-15 Thread Wolfgang Schuster

Am 15.04.2013 um 10:44 schrieb Tim Li timli2...@outlook.com:

 Now I have to change the color of numbers just before the footnote text so 
 that it can match the color of text area.  I try to do it like this:
  
 \def\myfootnotecolor#1{%
 \startcolor[red]#1\stopcolor}
  
 \setupfootnotes
[numbercommand={\myfootnotecolor}]
  
 or
  
 \setupfootnotes
[foregroundcolor=red]
  
 either method has no effect.

For the number in the running text you have to use

  \setupnote[footnote][textcolor=red]

while for the number in the footnote block you have to use

  \setupnotation[footnote][headcolor=red]

Wolfgang

___
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
___