At 11:55 AM 7/14/2001 +0200, Eckhart Guth�hrlein wrote:
>I have to make some additions to this. In principle, everything works
>well, so no problem with texexec due to updates. But there are problems
>with more complex MP code, possibly with metaobj. My test file:
>
>\startreusableMPgraphic{nometaobj}
> draw unitsquare scaled 1cm;
>\stopreusableMPgraphic
>
>\startreusableMPgraphic{justinput}
> input metaobj;
> draw unitsquare scaled 1cm;
>\stopreusableMPgraphic
>
>\startreusableMPgraphic{metaobj}
> input metaobj;
> newBox.testbox(btex Where is it? etex);
> testbox.c=origin;
> drawObj(testbox);
>\stopreusableMPgraphic
>
>\starttext
> \reuseMPgraphic{...}
>\stoptext
>
>witth {...}={nometaobj} as well as {...}={justinput}, everything works
>fine. But with {...}={metaobj}, I get the nearly empty log above.
>Compiling via mp mpgraph works. So, this might be some interference with
>metaobj, or perhaps a general problem with complex MP code (but I can't
>imagine this looking at the available examples...)
>And as I wrote before, with runtime mp via \write18, all three test
>graphics work.
the problem, is probably with metaobj being loaded twice [within a fig];
you may try:
\startMPinclusions
input metaobj ;
\stopMPinclusions
\appendtoks input metaobj ; \to \MPinitializations
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------