[NTG-context] colors in MPgraphic

2006-01-06 Thread Hans van der Meer
In MPgrapic I do want my own colors for drawing lines etc. These are set up in plain.mf's (_op_ and background). In \startMPinclusions I just do that in order to get the drawing color I want. But then \startMPgraphic appears to reset colors (both _op_ and background I suspect). Can this be

Re: [NTG-context] colors in MPgraphic

2006-01-06 Thread Mojca Miklavec
Question: what tinkering with metapost parameters is done in \startMPgraphic exactly? (I could not find out readily from the ConTeXt sources) Which of these can be removed without danger for its operation, leaving settings in \startMPinclusions unchanged -- and will that be done? Hans will

Re: [NTG-context] colors in MPgraphic

2006-01-06 Thread Hans Hagen
Mojca Miklavec wrote: Question: what tinkering with metapost parameters is done in \startMPgraphic exactly? (I could not find out readily from the ConTeXt sources) Which of these can be removed without danger for its operation, leaving settings in \startMPinclusions unchanged -- and will that

Re: [NTG-context] colors in MPgraphic

2006-01-06 Thread Taco Hoekwater
Hans van der Meer wrote: In MPgrapic I do want my own colors for drawing lines etc. These are set up in plain.mf's (_op_ and background). In \startMPinclusions I just do that in order to get the drawing color I want. But then \startMPgraphic appears to reset colors (both _op_ and

Re: [NTG-context] colors in MPgraphic

2006-01-06 Thread Hans Hagen
Taco Hoekwater wrote: Hans van der Meer wrote: In MPgrapic I do want my own colors for drawing lines etc. These are set up in plain.mf's (_op_ and background). In \startMPinclusions I just do that in order to get the drawing color I want. But then \startMPgraphic appears to reset colors

Re: [NTG-context] colors in MPgraphic

2006-01-06 Thread Hans van der Meer
On Jan 6, 2006, at 15:19, Taco Hoekwater wrote: There almost certainly is an 'official' way to add some statements to the beginning of each figure, but, in any case, it works if you store your settings in extra_beginfig: \startMPinclusions extra_beginfig := drawoptions(withcolor green);

Re: [NTG-context] colors in MPgraphic

2006-01-06 Thread Hans van der Meer
On Jan 6, 2006, at 18:56, Hans Hagen wrote: There almost certainly is an 'official' way to add some statements to the beginning of each figure, but, in any case, it works if you store your settings in extra_beginfig: \startMPinclusions extra_beginfig := drawoptions(withcolor green);

Re: [NTG-context] colors in MPgraphic

2006-01-06 Thread Hans Hagen
Hans van der Meer wrote: I am not sure about the exact syntax of that append. Is there a special macro in the context/metafun package or is it extra_beginfig := extra_beginfigdrawoptions(withcolor green);? that's indeed an append (or actually a concat) Hans