[Fwd: [tex-live] mptopdf bug?]
-------- Original Message --------
Subject: [tex-live] mptopdf bug?
Date: Sat, 29 Oct 2005 09:38:19 +0800
From: Chunyu Wang
Taco Hoekwater wrote:
-------- Original Message -------- Subject: [tex-live] mptopdf bug? Date: Sat, 29 Oct 2005 09:38:19 +0800 From: Chunyu Wang
To: tex-live@tug.org 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" }
should be: { $command = "pdfetex -undump=mptopdf" } since miktex does not accept the web2c flags
else ! { $command = "pdfetex -fmt=mptopdf -progname=context" } if ($dosish) { $command = "$command \\relax $file" } else
Diff finished. Sat Oct 29 09:32:47 2005
interesting that the order matters, i never noticed; makes tex into a gambling machine Hans
participants (3)
-
Hans Hagen
-
Steve Peter
-
Taco Hoekwater