[tex-live] mptopdf bug?

Hans Hagen pragma at wxs.nl
Sun Oct 30 16:40:07 CET 2005


Chunyu Wang wrote:

>When I run the command 'mptopdf xx.mp', it'll complain 'can't find
>context.fmt'. The parameters of pdfetex in line 104 should be changed,
>place -fmt ahead of -progname. 
>
>diff -c
>"c:/free_ware/texlive2005/texmf-dist/scripts/context/perl/mptopdf.pl-orig"
>"c:/free_ware/texlive2005/texmf-dist/scripts/context/perl/mptopdf.pl"
>***
>c:/free_ware/texlive2005/texmf-dist/scripts/context/perl/mptopdf.pl-orig
>Sat Oct 29 09:32:17 2005
>--- c:/free_ware/texlive2005/texmf-dist/scripts/context/perl/mptopdf.pl
>Sat Oct 29 09:32:32 2005
>***************
>*** 101,107 ****
>        { if ($miktex)
>            { $command = "pdfetex -fmt=mptopdf" }
>          else
>!           { $command = "pdfetex -progname=context -fmt=mptopdf" }
>          if ($dosish)
>            { $command = "$command \\relax $file" }
>          else
>--- 101,107 ----
>        { if ($miktex)
>            { command = "pdfetex -fmt=mptopdf" }
>  
>
btw, miktex uses 'undump' instrad of 'fmt'

>          else
>!           { $command = "pdfetex  -fmt=mptopdf -progname=context" }
>          if ($dosish)
>            { $command = "$command \\relax $file" }
>          else
>
>Diff finished.  Sat Oct 29 09:32:47 2005
>
>  
>
hm, so the order matters; i must have been lucky so far for not running 
into this before

Hans



More information about the tex-live mailing list