25 Aug
2005
25 Aug
'05
11:23 a.m.
Hi! Eugene Toporov wrote:
I expect there is a way to redefine whole palette or something.
Yes, sure (you need to define an XXXcolorpretty palet for each type you want to change): \definecolor[MYcolorone] [r=.8,g=.5,b=.5] \definecolor[MYcolortwo] [r=.8,g=.5,b=.2] \definecolor[MYcolorthree][r=.8,g=.5,b=.8] \definecolor[MYcolorfour] [r=.8,g=.2,b=.5] \definepalet[MYcolors] [ prettyone=MYcolorone, prettytwo=MYcolortwo, prettythree=MYcolorthree, prettyfour=MYcolorfour] \definepalet[XMLcolorpretty] [MYcolors] % the name is magic ! \setupcolors[state=start] \setuptyping[option=color] \starttext \startXML ... \stopXML \stoptext Cheers, Taco