From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5069 Path: main.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: Re: --automprun does not work Date: Sat, 14 Jul 2001 11:55:35 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.0.20010714114927.00a9fc48@public.uni-hamburg.de> 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="us-ascii"; format=flowed X-Trace: main.gmane.org 1035395685 30977 80.91.224.250 (23 Oct 2002 17:54:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:54:45 +0000 (UTC) Original-To: ConTeXt mailing list In-Reply-To: <5.1.0.14.0.20010712163807.00a94a60@public.uni-hamburg.de> Xref: main.gmane.org gmane.comp.tex.context:5069 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5069 At 16:49 12.07.2001 +0200, I wrote: >Forgot this one. With \write18 enabled, everything works fine now, but not >without... \runMPgraphicsfalse (or at least not ..true) in cont-sys.tex is >necessary, otherwise texexec assumes on-the-fly generation and does not >call mp afterwards. >The problem is: With >texexec --automprun --pdf test >mp is called after the tex runs, but no picture is produced (and possibly >that's why no final tex run follows). This is the entire log file mpgraph.log: > >This is MetaPost, Version 0.641 (MiKTeX 2.1) (preloaded mem=metafun >2001.7.12) 12 JUL 2001 16:42 >**mpgraph >(mpgraph.mp ) > >However, compiling mpgraph.mp from the command line via >mp mpgraph >works fine! > >I can't explain why mp is terminated prematurely when called by texexec. >Even more strange, Hans might remember having told me about the --autmprun >switch. Everything worked properly on my machine, perhaps one of the >latest updates causes problems (but I can't tell which one, if so, for I >didn't use mp since then)? 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. Eckhart