ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mptopdf on MikteX
@ 2008-10-02 10:35 Ulrike Fischer
  0 siblings, 0 replies; only message in thread
From: Ulrike Fischer @ 2008-10-02 10:35 UTC (permalink / raw)
  To: miktex-users, ntg-context

Hello,

there have been some complaints about mptopdf not working on miktex
and I think I found the source of the problems: it's a name clash.

- In the miktex bin folder there is a mptopdf.exe which is mainly a
shortcut for "pdftex with format mptopdf". This mptopdf.exe currently
doesn't work on a lot of systems as some context files are missing in
miktex and so the format "mptopdf" can't be made. The missing files
can be downloaded from <CTAN:>/tex-archive/macros/pdftex/graphics/.
After their successfull installation the mptopdf format can be
generated throught the formats tab of miktex->settings.

This doesn't get you a mptopdf that works as expected but I think that
a working format is needed for the real mptopdf, so you should get
this to work first.

- on CTAN there is a perl script mptopdf.pl. This script calls metapost,
make a lot of auxiliary files, calls pdftex on this auxiliary files,
and at the end assembles the whole things to get a pdf.

I downloaded this perl script and put it in a local root and wrote a
small batch file ufmptopdf.bat with the content
perl "C:\UFlocaltexmf\scripts\context\mptopdf.pl" %1 %2 %3 %4 %5
and put this batch file somewhere in the PATH.

Now
ufmptopdf test1.mp
works like a charm.

You naturally need a working perl!

-- 
Mit freundlichen Grüßen
Ulrike Fischer
mailto:list@nililand.de


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-02 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-02 10:35 mptopdf on MikteX Ulrike Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).