Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-08-02 Thread Eckhart Guthöhrlein
On Mon, Aug 02, 2004 at 01:20:27PM +0200, Vit Zyka wrote: > >>input metaobj; > >>beginfig(1) > >> fill fullcircle scaled 1cm withcolor red; > >>color t; t:=(1,1,0); > >>%setObjectDefaultOption("Box")("fillcolor")(t); > >>newBox.test(""); > >>Obj(test).c=origin; > >>drawObj(test)

[Fwd: Re: [NTG-context] metaobj and transparent colors with \MPcolor]

2004-08-02 Thread Vit Zyka
input metaobj; beginfig(1) fill fullcircle scaled 1cm withcolor red; color t; t:=(1,1,0); %setObjectDefaultOption("Box")("fillcolor")(t); newBox.test(""); Obj(test).c=origin; drawObj(test); endfig; end. Your color is not transparent, so it will work as expec

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-08-02 Thread Eckhart Guthöhrlein
On Fri, Jul 30, 2004 at 12:08:33PM +0200, Vit Zyka wrote: > >Here is my current file, which just gives a white background in the box. > > > >\setupcolors[state=start] > >\setupbackgrounds[page][background=color,backgroundcolor=red] > >\definecolor[Transparent][r=0,g=1,b=1,t=0,a=normal] > >\startreu

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-07-27 Thread Hans Hagen
Eckhart Guthöhrlein wrote: The problem seems to be that all objects in metaobj are filled using a non-transparent white by default. Subsequent filling with a completely transparent color then of course gives just white. ah, maybe denis uses the metapost 'backgroundcolor' which is white; i'd say:

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-07-27 Thread Eckhart Guthöhrlein
On Fri, Jul 23, 2004 at 11:38:28AM -0700, Hans Hagen Outside wrote: > >>If I use the fillcolor as an argument to the object > >> > >>newBox.test(btex Transparent? etex) "filled(true)" > >>"fillcolor(\MPcolor{Durchsichtig})"; > > > can you try > fillcolor \MPcolor{...} >

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-07-27 Thread Eckhart Guthöhrlein
On Sat, Jul 24, 2004 at 11:28:36AM +0200, Vit Zyka wrote: > I, of course, checked if the package metaobj is installed and loaded. > Perhaps my is too old (v0.83)? That's the current version. -- Eckhart ___ ntg-context mailing list [EMAIL PROTECTED] ht

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-07-24 Thread Vit Zyka
Sorry, I can not reproduce your example. I get only red page with black page number in header. No white box. And I do not known metaobj macro. The graphics won't compile without metaobj, which is a very nice macro package for metapost, available at CTAN/graphics/metapost/contrib/macros/metaobj/ I,

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-07-23 Thread Hans Hagen Outside
Denis Roegel wrote: On Fri, Jul 23, 2004 at 09:53:22AM +0200, Eckhart Guthöhrlein wrote: Hi, I try to achieve transparently filled objects using the metaobj package. However, transparency is ignored completely in the output, I just get a normal white. Here is my test file: Hi, I have never

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-07-23 Thread Denis Roegel
On Fri, Jul 23, 2004 at 09:53:22AM +0200, Eckhart Guthöhrlein wrote: > Hi, > > I try to achieve transparently filled objects using the metaobj package. > However, transparency is ignored completely in the output, I just get a > normal white. Here is my test file: > Hi, I have never considered tr

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-07-23 Thread Hans Hagen Outside
Vit Zyka wrote: Sorry, I can not reproduce your example. I get only red page with black page number in header. No white box. And I do not known metaobj macro. But I have a question. It is really needed to surround \definecolor by \startMPenvironment? Since \definecolor has to result to \pdfobj

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-07-23 Thread Eckhart Guthöhrlein
On Fri, Jul 23, 2004 at 11:45:32AM +0200, Vit Zyka wrote: > Sorry, I can not reproduce your example. I get only red page with black > page number in header. No white box. And I do not known metaobj macro. The graphics won't compile without metaobj, which is a very nice macro package for metapost,

Re: [NTG-context] metaobj and transparent colors with \MPcolor

2004-07-23 Thread Vit Zyka
Sorry, I can not reproduce your example. I get only red page with black page number in header. No white box. And I do not known metaobj macro. But I have a question. It is really needed to surround \definecolor by \startMPenvironment? Since \definecolor has to result to \pdfobj and \pdfliteral

[NTG-context] metaobj and transparent colors with \MPcolor

2004-07-23 Thread Eckhart Guthöhrlein
Hi, I try to achieve transparently filled objects using the metaobj package. However, transparency is ignored completely in the output, I just get a normal white. Here is my test file: \setupcolors[state=start] \setupbackgrounds[page][background=color,backgroundcolor=red] \startMPenvironment[glo