From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28921 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: emp.sty and metapost Date: Tue, 27 Jun 2006 23:06:51 -0700 Message-ID: <3C8733C4-186B-433B-8685-C41EB8721D48@cox.net> References: <8AF47C6F-2E29-4985-91F0-B2CB51B84E51@cox.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151474915 2909 80.91.229.2 (28 Jun 2006 06:08:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jun 2006 06:08:35 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 28 08:08:34 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FvTDu-0007pP-Eo for gctc-ntg-context-518@m.gmane.org; Wed, 28 Jun 2006 08:08:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 28A1112830; Wed, 28 Jun 2006 08:08:25 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00915-04; Wed, 28 Jun 2006 08:08:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C88841282D; Wed, 28 Jun 2006 08:08:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 75CF41282D for ; Wed, 28 Jun 2006 08:08:12 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00612-03 for ; Wed, 28 Jun 2006 08:08:09 +0200 (CEST) Original-Received: from fed1rmmtao04.cox.net (fed1rmmtao04.cox.net [68.230.241.35]) by ronja.ntg.nl (Postfix) with SMTP id A5B5B1282B for ; Wed, 28 Jun 2006 08:08:08 +0200 (CEST) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao04.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060628060806.BPRS8537.fed1rmmtao04.cox.net@[10.0.1.2]> for ; Wed, 28 Jun 2006 02:08:06 -0400 In-Reply-To: Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.750) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:28921 Archived-At: Aditya, > I have faced this problem in the past, but was never sure why it > occured or how to rectify it. Try the command > > mpost --tex=latex useemp.mp > > on your shell. Do you get the same error message as before (you > should). Yes, same error message. qdf $ mpost --tex=latex useemp.mp This is MetaPost, Version 0.901 (Web2C 7.5.5) (useemp.mp (qdftools.mpnewer: target file `qdftools.mpx' doesn't exist. /usr/local/teTeX/bin/powerpc-apple-darwin-current/makempx: Command failed: latex mpxerr.tex; see mpxerr.log >> qdftools.mp >> qdftools.mpx ! Unable to make mpx file. l.41 label.rt(btex $x$ etex, (5u,0)); Transcript written on useemp.log. > Now try, > > makempx --tex=latex useemp.mp useemp.mpx > > Does this create an mpx file? qdf $ ls OTqdbpreview.sty dev.qdf sample2.qdf dev.1 dev.tex useemp.mp dev.mp functions.qdf useemp.pdf dev.pdf qdftools.mp useemp.tex qdf $ qdf $ makempx --tex=latex useemp.mp useemp.mpx newer: target file `useemp.mpx' doesn't exist. dvitomp: mpx14741.dvi: No such file or directory mv: rename mpx14741.dvi to mpxerr.dvi: No such file or directory /usr/local/teTeX/bin/powerpc-apple-darwin-current/makempx: Command failed: dvitomp mpxerr.dvi useemp.mpx qdf $ ls OTqdbpreview.sty functions.qdf sample2.qdf dev.1 mpx14741.aux useemp.mp dev.mp mpx14741.log useemp.pdf dev.pdf mpx14741.tex useemp.tex dev.qdf mpxerr.log dev.tex qdftools.mp Doesn't look like it. > If it does, then atleast a workaround > for the problem is to have > > \immediate\write18{makempx --tex=latex \jobname.mp \jobname.mpx} > before > \immediate\write18{mpost --tex=latex \jobname}. > > If makempx fails, look at the output of > > makempx --verbose --tex=latex useemp.mp useemp.mpx > > What do you get? qdf $ makempx --verbose --tex=latex useemp.mp useemp.mpx /usr/local/teTeX/bin/powerpc-apple-darwin-current/makempx: Invalid option: --verbose. Try `makempx --help' for more information. qdf $ makempx --help Usage: /usr/local/teTeX/bin/powerpc-apple-darwin-current/makempx [- tex|-tex=|-troff] MPFILE MPXFILE. If MPXFILE is older than MPFILE, translate the labels from the MetaPost input file MPFIle to low-level commands in MPXFILE, by running mpto -tex, , and dvitomp by default; or, if -troff is specified, mpto -troff, eqn -Tps -d\$\$ | troff -Tps, and dmp. The current directory is used for writing temporary files. Errors are left in mpxerr.{tex,log,dvi}. If the file named in $MPTEXPRE (mptexpre.tex by default) exists, it is prepended to the output in tex mode. Email bug reports to metapost@tug.org.