[NTG-context] Chapter number in list colored (setuplist)
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 ___
Re: [NTG-context] Chapter number in list colored (setuplist)
On Tue, 9 Jul 2013, Zenlima wrote: 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? (Untested): Have you tried `numbercolor=bordeaux`? Aditya ___ 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] Chapter number in list colored (setuplist)
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 ___
Re: [NTG-context] Chapter number in list colored (setuplist)
Am Tue, 9 Jul 2013 12:20:18 -0400 (EDT) schrieb Aditya Mahajan adit...@umich.edu: numbercolor=bordeaux I am so sorry.. I tried that too but I must have mistyped it then.. now it works :) Thanks ___ 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] Chapter number in list colored (setuplist)
2. You didn’t test numbercolor. You are correct: after my mistyped try'n'error I did not checked it any further as the documentation in the wiki. I updated it with that missing attribute. thanks signature.asc Description: PGP signature ___ 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 ___