From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2818 Path: main.gmane.org!not-for-mail From: Joop Susan Newsgroups: gmane.comp.tex.context Subject: Re: metafun manual Date: Wed, 27 Sep 2000 14:01:21 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20000927120121.7262.qmail@crux.private.off-line> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035393591 12052 80.91.224.250 (23 Oct 2002 17:19:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:19:51 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Hans Hagen Xref: main.gmane.org gmane.comp.tex.context:2818 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2818 > At 08:25 PM 9/25/00 +0200, Joop Susan wrote: > > >Ok. I only used 'fmtutil -all' after every ConTEXt/pdftex update. Better > >to use 'texexec'? > > fmtutil does not handle mp mem files, probably because there are not so > many metapost formats > > >> >Can you tell me why texexec cannot get this right in one run? > > Context can if you enable runtime graphics : enable write 18 in texmf.cnf > and add the right switches to your local cont-sys.tex file (explained in > metafun manual). > This was enabled. In file texmf.cnf it said: % Enable system commands via \write18{...}? %shell_escape = f shell_escape = t The testfile "test.tex": \starttext \immediate\write18{echo It works} \stoptext prints "It works" when processing the file with 'texexec --once test', like it says in the Metafun manual. The other settings '\runMPgraphicstrue' and '\recycleMPslotstrue' are set in the virgin 'cont-sys.rme' from the distribution. It was not clear to me that I had to create 'cont-sys.tex' myself, since there was a very similarly named file already. I copied 'cont-sys.rme' to 'cont-sys.tex') and now it works in one run. Thanks, Joop