From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2809 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: metafun manual Date: Mon, 25 Sep 2000 17:22:26 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20000925172226.00b755c0@pop.wxs.nl> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393582 11998 80.91.224.250 (23 Oct 2002 17:19:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:19:42 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Joop Susan In-Reply-To: <20000925114707.2639.qmail@crux.private.off-line> Xref: main.gmane.org gmane.comp.tex.context:2809 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2809 At 01:47 PM 9/25/00 +0200, Joop Susan wrote: > >Hallo Hans, > >In the newest metafun-s.pdf om page 231: > >---------- >\startMPcode >draw btex Meta is a female lion! etex >xysized (\the\textwidth,\the\textheight) ; >\stopbuffer >---------- > >I assume that should probably be \stopMPcode. I'll change it! >The following does work for me (with a few hurdles): > >---------- >% output=pdf >\starttext >\startMPenvironment[reset] > \setupbodyfont[pos] >\stopMPenvironment >\startMPcode > draw btex Meta is a female lion! etex > xysized (\the\textwidth,\the\textheight) ; >\stopMPcode >\stoptext >----------- > >'texexec test1' complains: > >Randomizer initialized to 949889678. >figures : figure mpgraph can not be found >[1.1{/usr/share/texmf/dvips/config/pdftex.map}] >......... >Sorry, I can't find the mem file `metafun.mem'; will try `mpost.mem'. >(mpgraph.mp ) >Transcript written on mpgraph.log. > >mpgraph.log says: texexec --make --alone metafun will make you a metafun format (check if the mem is moved to the right web2c path and run mktexlsr) >This is MetaPost, Version 0.641 (Web2C 7.3.1) (mem=mpost 2000.4.26) 26 >APR 2000 18:56 >**&metafun mpgraph >(mpgraph.mp ) > >'mpost mpgraph.mp' does generate mpgraph.1. >'gv mpgraph.1' shows the correct figure. >A second run 'texexec test1' now generates a complete PDF file. > >Can you tell me why texexec cannot get this right in one run? Normally it generates the graphic runtime, in which case one run is needed. Otherwise it will run mp between runs, but it does not parse all mp files for changes. So, then you may need a second run. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE 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 -------------------------------------------------------------------------