From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65210 Path: news.gmane.org!not-for-mail From: =?ISO-8859-2?Q?Michal_Kvasni=E8ka?= Newsgroups: gmane.comp.tex.context Subject: Re: mptopdf (broken again) Date: Wed, 12 Jan 2011 17:41:44 +0100 Message-ID: References: <4D2D6F55.2000600@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0696526464==" X-Trace: dough.gmane.org 1294850531 29711 80.91.229.12 (12 Jan 2011 16:42:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Jan 2011 16:42:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 12 17:42:05 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pd3ls-0008JD-Qm for gctc-ntg-context-518@m.gmane.org; Wed, 12 Jan 2011 17:42:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04422CA990; Wed, 12 Jan 2011 17:42:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id v4HVVfMnQArZ; Wed, 12 Jan 2011 17:41:59 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0C25CA992; Wed, 12 Jan 2011 17:41:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6CB5BCA992 for ; Wed, 12 Jan 2011 17:41:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cxTA24oc-+GR for ; Wed, 12 Jan 2011 17:41:46 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id C0C50CA990 for ; Wed, 12 Jan 2011 17:41:46 +0100 (CET) Original-Received: from mail-qy0-f169.google.com (mail-qy0-f169.google.com [209.85.216.169]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0CGfjgV009735 for ; Wed, 12 Jan 2011 17:41:45 +0100 Original-Received: by qyk7 with SMTP id 7so3972445qyk.14 for ; Wed, 12 Jan 2011 08:41:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=bGzUwmO4iEq4Ue1v4lAZMlKeTEeahcDPXGYkB/dlkKU=; b=vPQ05OaGU2M19RfjwQLC2nvFKjrsuhvYuwEPrlFL3FWLbeciKppv7ZtNGC1ocZfsAq /3lVvUTCcDwbq1sW15G9z0eyhT6kX8L9ObWwqq8bFmusAyWV5FdDP4g+EvqiBeoDRUW/ fk9zmRtARAZO5wT5A1RhyUuIClaRlmIIMr6Fc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=X7x5xeqIWSr40BiGYVYdiIDhp4M+ABZxm+ElxxQew7K8NpOFdqTE+VbSSilxVUhS8g 46QU80KHqrJqQndes9J/vobpO03X5H2gsEOwLglVuKnCd/AgqlIX42W5PIClsqME7izX uEDWUclOltd9nQEkTBzNCz04NgAVcn60fVuZs= Original-Received: by 10.229.229.18 with SMTP id jg18mr973595qcb.276.1294850504320; Wed, 12 Jan 2011 08:41:44 -0800 (PST) Original-Received: by 10.229.175.199 with HTTP; Wed, 12 Jan 2011 08:41:44 -0800 (PST) In-Reply-To: <4D2D6F55.2000600@wxs.nl> X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=209.85.216.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dDSEFJWG - 7b3709a0024d - 20110112 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:65210 Archived-At: --===============0696526464== Content-Type: multipart/alternative; boundary=00163630ed1958e6860499a8e0fd --00163630ed1958e6860499a8e0fd Content-Type: text/plain; charset=ISO-8859-1 Hallo. I tried mtxrun --script mptopdf chart08.1 but I've got the following error. This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) \write18 enabled. entering extended mode [MP to PDF] (./charts08.1{/home/qasar/programy/context_stable/tex/texmf/fonts/m ap/pdftex/plain/pdftex.map}) [1] !pdfTeX error: pdftex (file lmmi9): Font lmmi9 at 600 not found ==> Fatal error occurred, no output PDF file produced! MPtoPDF 1.4.0 : error while processing tex file I'm using ConTeXt minimals under Ubuntu 10.10, the last stable version of ConTeXt (ver: 2010.07.30 11:35 MKII). However, it produces the same error with two other betas I've got in my computer. I guess there is something broken inside the mptopdf since I can compile the charts themselves with texexec --mptex chart08.mp. And when I include it into a TeX file with \externalfigure, the pdf file created is all right. Can you tell me how to solve it? I will really need mptopdf in two or three weeks painfully. Many thanks. Best wishes, Michal 2011/1/12 Hans Hagen > On 10-1-2011 12:37, Mojca Miklavec wrote: > >> Hans& Taco, >> >> A tiny request: is there any chance to make the mptopdf script point >> to "--script mptopdf" instead of "--script base"? >> > > i see, the sh script is wrong > > > And note for Taco: I have no idea how it got there (I think that I use >> TLContrib), but my TL installation (/usr/texbin/mptopdf) contains: >> > > it was wrong in the context zip; for windows one can just copy the stub > mtxrun.exe to mptopdf.exe but the same is not true for the shell script that > needs to be: > > #!/bin/sh > mtxrun --script mptopdf "$@" > > I'm not sure, but a generic (copyable) script could be: > > #!/bin/sh > mtxrun --script $0 "$@" > > (no shell expert) > > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --00163630ed1958e6860499a8e0fd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hallo.

I tried mtxrun --script mptopdf chart08.1 but I've got th= e following error.

This is pdfTeX, Version 3.1415926-1.40.11 (TeX Li= ve 2010)
=A0\write18 enabled.
entering extended mode
[MP to PDF] (= ./charts08.1{/home/qasar/programy/context_stable/tex/texmf/fonts/m
ap/pdftex/plain/pdftex.map}) [1]
!pdfTeX error: pdftex (file lmmi9): Fon= t lmmi9 at 600 not found
=A0=3D=3D> Fatal error occurred, no output P= DF file produced!

MPtoPDF 1.4.0 : error while processing tex file
I'm using ConTeXt minimals under Ubuntu 10.10, the last stable version = of ConTeXt (ver: 2010.07.30 11:35 MKII). However, it produces the same erro= r with two other betas I've got in my computer.

I guess there i= s something broken inside the mptopdf since I can compile the charts themse= lves with texexec --mptex chart08.mp. And= when I include it into a TeX file with \externalfigure, the pdf file creat= ed is all right.

Can you tell me how to solve it? I will really need mptopdf in two or t= hree weeks painfully. Many thanks.

Best wishes,
Michal


2011/1/12 Hans Hagen <= pragma@wxs.nl>
On 10-1-2011 12:37, Mojca Miklavec wrote:
Hans& =A0Taco,

A tiny request: is there any chance to make the mptopdf script point
to "--script mptopdf" instead of "--script base"?

i see, the sh script is wrong


And note for Taco: I have no idea how it got there (I think that I use
TLContrib), but my TL installation (/usr/texbin/mptopdf) contains:

it was wrong in the context zip; for windows one can just copy the stub mtx= run.exe to mptopdf.exe but the same is not true for the shell script that n= eeds to be:

#!/bin/sh
mtxrun --script mptopdf "$@"

I'm not sure, but a generic (copyable) script could be:

#!/bin/sh
mtxrun --script $0 "$@"

(no shell expert)


Hans

-----------------------------------------------------------------
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0Hans Hagen | PRAGMA ADE
=A0 =A0 =A0 =A0 =A0 =A0 =A0Ridderstraat 27 | 8061 GH Hasselt | The Netherl= ands
=A0 =A0tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 | ww= w.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--00163630ed1958e6860499a8e0fd-- --===============0696526464== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0696526464==--