> You don't need that. There is already a standard interface for color and style
> configuration. Example:
>
> \setupstartstop[CSnippetComment][color=blue]
>
> So you can simplify t-pretty-c.mkiv:
>
> \unprotect
>
> \setupcolor[ema]
>
> \definestartstop
>     [CSnippetName]
>     [\c!color=darkgoldenrod,
>      \c!style=]
>
> and so on...
>   
OK, but anyway, I have to protect the color names (to prevent darkred
redefinition for example ;) )… So, I have made the choice to use
Csomething and it is not annoying as soon as the source color names are
kept…

Cheers

Renaud
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to