ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ulrike Fischer <list@nililand.de>
To: miktex-users@lists.sourceforge.net, ntg-context@ntg.nl
Subject: mptopdf on MikteX
Date: Thu, 2 Oct 2008 12:35:09 +0200	[thread overview]
Message-ID: <1581758908.20081002123509@nililand.de> (raw)

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=/

                 reply	other threads:[~2008-10-02 10:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1581758908.20081002123509@nililand.de \
    --to=list@nililand.de \
    --cc=miktex-users@lists.sourceforge.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).