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 rul

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 "withc

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

2006-08-07 Thread Taco Hoekwater
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 " upto the first non-zero color is ignor

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 els

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 change

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

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

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 wi

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 > > som

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

[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 creat