ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Chapter number in list colored (setuplist)
@ 2013-07-09 16:08 Zenlima
  2013-07-09 16:20 ` Aditya Mahajan
  2013-07-09 16:23 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Zenlima @ 2013-07-09 16:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

H.
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-09 19:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-09 16:08 Chapter number in list colored (setuplist) Zenlima
2013-07-09 16:20 ` Aditya Mahajan
2013-07-09 16:23   ` Zenlima
2013-07-09 16:23 ` Wolfgang Schuster
2013-07-09 19:15   ` Zenlima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).