Am 09.07.2013 um 18:08 schrieb Zenlima <p...@zenlima.eu>: > Hi, > > I want to color the chapter number in the table of content. The > attribute "numbercolor" does not exist in setuplist. So I tried to > color the chapter number via "numberstlye" ("numbercommand" is also not > working): > > ---8<---------------------------- > > \define[1]\listChapterColor{\color[bordeaux]{X #1}} > > \setuplist[chapter][color=black,numberstyle=\listChapterColor] > > ----8<------------------------------ > > The X appears in the new color (bordeaux), but the chapter number is > still uncolored - same color like rest of that line (black). > > What am I doing wrong here?
1. You forgot a minimal example which demonstrates the problem. 2. You didn’t test numbercolor. \setuplist [chapter] [color=green, numbercolor=red, %pagecolor=orange, textcolor=blue] \starttext \completecontent \chapter{Test} \stoptext 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 ___________________________________________________________________________________