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
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to