Re: mptopdf Problem
Hans Hagen <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
Thomas Esser wrote:
>On Tue, Jun 29, 2004 at 08:58:14PM +0200, Hartmut Henkel wrote:
>
>
>>hahe@hahepc1:~$ mptopdf xx.mp
>>
>>
>...
>
>
>>pdfetex: unrecognized option `-efmt=mptopdf'
>>
>>
>
>The -efmt option was removed. All engines now use -fmt. The names of the
>format files now all have the suffix .fmt (no longer .efmt), so Context
>needs to be fixed:
>
>$ grep -r efmt scripts/
>scripts/context/perl/mptopdf.pl:# { $command = "pdfetex -progname=pdfetex -efmt=mptopdf" }
>scripts/context/perl/mptopdf.pl: { $command = "pdfetex -progname=context -efmt=mptopdf" }
>scripts/context/perl/texexec.pl: my $efmt = `$kpsewhich cont-en.efmt` ;
>scripts/context/perl/texexec.pl: chomp $efmt ;
>scripts/context/perl/texexec.pl: if ($efmt eq "") {
>scripts/context/perl/texexec.pl:# if ((-f "$tree/web2c/cont-en.efmt")||
>scripts/context/perl/texexec.pl:# (-f "$tree/web2c/cont-nl.efmt"))
>
>
pdfetex --help gives:
-efmt=FMTNAME use FMTNAME instead of program name or a %& line
-fmt=FMTNAME use FMTNAME instead of program name or a %& line
so, both switches are equivalent but the efmt is no longer the official
one; i have a big problem with patching scripts in a way so that they no
longer work with old binaries (because i use old and new ones, and
because we cannot expect everyone to update, leats of all sysadms)
texexec is already patched for this and since pdfetex supports both
switches -efmt and -fmt i see no reason to patch mptopdf now; i will do
that when i am sure that all tex's behave the same;
anyhow, the fmt business will become messy anyway since either or not
subpaths will be used (if not, there will be clashes)
Hans