From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3029 Path: main.gmane.org!not-for-mail From: "Mr. Wang Lei" Newsgroups: gmane.comp.tex.context Subject: Re: texexec not launching mpost Date: Thu, 19 Oct 2000 11:21:33 +0800 (CST) Sender: owner-ntg-context@let.uu.nl Message-ID: References: <200010182118.XAA07118@bar.loria.fr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035393792 13703 80.91.224.250 (23 Oct 2002 17:23:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:23:12 +0000 (UTC) Cc: NTG-ConTeXt Original-To: "Denis B. Roegel" In-Reply-To: <200010182118.XAA07118@bar.loria.fr> Xref: main.gmane.org gmane.comp.tex.context:3029 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3029 On Wed, 18 Oct 2000, Denis B. Roegel wrote: > When I run texexec on the file below, the mpgraph.mp file > is created, but not metaposted. I can call texexec as many > times as I want, it doesn't help. I have to call mpost > by hand and then it works. I have shell_escape = 1 if it should be "shell_escape = t" You need set other environment as suggestted by hans in metafun manual. you can see if you have set the following in your cont-sys.tex: \runMPgraphicstrue \runMPTEXgraphicstrue \recycleMPslotstrue \useMETAFUNformattrue You'd better set metapost command using texexec in you texmf.cnf: MPXCOMMAND = texexec --mptex TEX = texexec --once --batch --nomp You may need edit the texexec.ini, too. comment the corresponding line which set the MpToTeXExecutable to mptotex. for example, if you use tetex, comment the line: for tetex set MpToTeXExecutable to mptotex Hans, I have not find the excutable command named "mptotex" both in tetex and fptex. They only have "mpto". Another problem is that if I set the output default is pdftex in my cont-usr.tex, texexec will give a "can not found tmpgraphic.1" message if I use \btex ... \etex in the metapost figure. because the part in \btex ... \etex will be processed by texexec and give a pdf output, so there is no dvi and can not generate tmpgraphic.1 which needed by mptopdf. Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62541687 Institute of Applied Mathematics Email: lwang@amath8.amt.ac.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------