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 <pragma@wxs.nl>
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
___________________________________________________________________________________