On 12/2/06, Wim Neimeijer wrote:
> Hi
>
> The following used to work, the text came out in the color red, now it
> is shown in black.
> Am I doing something wrong here ? Or should I use something else instead ?
> Any help appreciated

Add
    \chardef\TeXtextcolormode\zerocount
to your document or cont-usr.tex.

(an alternative is to use \sometxt{\color[red]{something}})

Or even better: vote for it to become the default value before "color
stacks" are implemented (at least that's what I understood).

Hans had to add a feature and fix a little bug in \sometxt on my
request, but I don't understand why "one" is the default value now
either.

> % example code
> \setupcolors[state=start]
> \starttext
> \startMPcode
>     picture p;
>     p := \sometxt{$R_{\mu \nu } - \frac{1}{2} R - \Lambda g_{\mu \nu} =
> \kappa T_{\mu \nu}$} ;
>     p := p scaled 3;
>     draw p withcolor red;
> \stopMPcode
> \stoptext


Mojca
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to