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 % 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 Version info This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) \write18 enabled. ConTeXt ver: 2006.11.29 09:55 MK II fmt: 2006.12.2 int: english/english
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
participants (2)
-
Mojca Miklavec
-
Wim Neimeijer