[tex-live] mptopdf bug?

Chunyu Wang chunyu at db.cs.hit.edu.cn
Sat Oct 29 03:38:19 CEST 2005


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" }
          else
!           { $command = "pdfetex  -fmt=mptopdf -progname=context" }
          if ($dosish)
            { $command = "$command \\relax $file" }
          else

Diff finished.  Sat Oct 29 09:32:47 2005



-- 
Harbin Institute of Technology, China.
Wang Chunyu.



More information about the tex-live mailing list