On 09/06/2015 11:11 AM, dr. Hans van der Meer wrote: > I want to color all elements of a footnote, but I cannot find how to do > this. > Minimal example: > > \def\rednumber#1{\color[red]{#1}} > \starttext > \setupfootnotes[textcolor=red,numbercommand=\rednumber,foregroundcolor=red] > This text\footnote{the footnote} contains a footnote. > \stoptext > > The footnotenumber in the text is the only element that gets colored > because of the [textcolor=red] parameter setting. > > In the command reference it is [numbercommand=\rednumber]. Shouldn't > that have made the color of the footnotenumber below? > > Since \setupfootnotes inherits from setupframed I expected > [foregroundcolor=red] to do the trick for the content of the footnote, > but it doesn't. > > How to?
Hi Hans, this setup works fine in MkIV: \setupnote[footnote][textcolor=blue] \setupnotation[footnote][numbercommand={\color[red]}, color=green] I hope it helps, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________