From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4215 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: :-))))) Solution? mpgraph.1 now generated and metapost invoked... Date: Fri, 23 Feb 2001 11:04:58 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010223110458.01bc8c30@server-1> References: <01022222344400.00760@levana> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394900 23853 80.91.224.250 (23 Oct 2002 17:41:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:41:40 +0000 (UTC) Cc: ConTeXt Original-To: Patrick Gundlach In-Reply-To: <01022222344400.00760@levana> Xref: main.gmane.org gmane.comp.tex.context:4215 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4215 At 10:34 PM 2/22/01 +0100, Patrick Gundlach wrote: >Yessssssssssssss! > >I am getting closer to the solution (?) of my darn problem: >in meta-ini.tex, I have changed the definition of \initializeMPgraphics to: > >\def\initializeMPgraphics{\relax} > >it was > >\def\initializeMPgraphics% \unlinkfile{\MPgraphicfile.mp} -> empty file > {%\ifx\bufferprefix\empty \else > \immediate\openout\MPwrite\MPgraphicfile.mp > \immediate\write\MPwrite{end.}% > \immediate\closeout\MPwrite > }%\fi} > > >now metapost is invoked and the graphic is correctly included in my pdf >file :-))))))) If you wanto to change that, add your patch to you cont-sys.tex file, not to meta-ini, \let\initializeMPgraphics\empty >The problem was that I always ended up with a file (mpgraph.mp) who's >content was just a simple >end. This should not give problems. >and after the final run, the mpgrap.mp contained a sensible contents. But >that was not metaposted. >But I did not notice it at all, since texexec would not stop between the >the different runs of context/etc. I'm a bit puzzled. Texexec won't even process files that small. 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 -------------------------------------------------------------------------