7 Dec
2010
7 Dec
'10
8:35 p.m.
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