From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5086 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: --automprun does not work Date: Mon, 16 Jul 2001 09:54:56 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010716095225.02076520@server-1> References: <5.1.0.14.0.20010712163807.00a94a60@public.uni-hamburg.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035395700 31115 80.91.224.250 (23 Oct 2002 17:55:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:55:00 +0000 (UTC) Cc: ConTeXt mailing list Original-To: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= In-Reply-To: <5.1.0.14.0.20010714114927.00a9fc48@public.uni-hamburg.de> Xref: main.gmane.org gmane.comp.tex.context:5086 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5086 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------