Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-07 Thread Mojca Miklavec
On 8/7/06, Hans Hagen wrote: Taco Hoekwater wrote: Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-07 Thread Mojca Miklavec
On 8/7/06, Taco Hoekwater wrote: Mojca Miklavec wrote: The real problem appears in the following figure where the first black is ignored and the second one is not, so it's rather inconsistent: It is not really inconsistent, the rule is very simple: all use of withcolor black upto

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-07 Thread Hans Hagen
Mojca Miklavec wrote: On 8/7/06, Taco Hoekwater wrote: Mojca Miklavec wrote: The real problem appears in the following figure where the first black is ignored and the second one is not, so it's rather inconsistent: It is not really inconsistent, the rule is very simple:

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Taco Hoekwater
Mojca Miklavec wrote: Hello, Does anyone have any idea about what's going on here? I get blue text, but a black square, although both are supposed to come out black (I wouldn't mind so much, but the problem is that some text is blue and some is black - I have some other testcases where this

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Mojca Miklavec
On 8/6/06, Taco Hoekwater wrote: Mojca Miklavec wrote: Hello, Does anyone have any idea about what's going on here? I get blue text, but a black square, although both are supposed to come out black (I wouldn't mind so much, but the problem is that some text is blue and some is black -

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Taco Hoekwater
Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn inbetween and a color changed twice), then the second text will

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Mojca Miklavec
On 8/6/06, Taco Hoekwater wrote: Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn inbetween and a color

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Hans Hagen
Taco Hoekwater wrote: Quick fix: You can start your MP code with an explicit color initialization. \startMPcode special 0 setgray; .. \stopMPcode A hack, I know. MetaPost should be able to distinguish between draw p and draw p withcolor (0,0,0) but

Re: [NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-06 Thread Hans Hagen
Taco Hoekwater wrote: Hi Mojca, Mojca Miklavec wrote: But the other \sometxt was indeed red - withcolor seems to work, but only conditionally. And I have some weird examples of two texts one after another. In some cases (if something else is drawn inbetween and a color changed twice),

[NTG-context] metafun \sometxt: should black be black or textcolor?

2006-08-05 Thread Mojca Miklavec
Hello, Does anyone have any idea about what's going on here? I get blue text, but a black square, although both are supposed to come out black (I wouldn't mind so much, but the problem is that some text is blue and some is black - I have some other testcases where this happens, but I have to