<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.14">
<TITLE>RE: [metapost] how to use mpstoeps on a Windows machine</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi,<BR>
Thanks. I'm actually using gnuplot for making my graphs. I set the value of prologues:=3 but I didn't get any EPS file. I also tried mptopdf. It's part of TeXLive 2009 which I have on my Win XP machine. My mp file is name myfigu.mp and the output of using mpost (mp) command is myfigu.2 .I tried 2 options:<BR>
<BR>
1. mptopdf myfigu.2<BR>
<BR>
(assuming labels are not typeset with LaTeX...I'm using the option 'tex' in gnuplot).<BR>
<BR>
I don't get any pdf file output.<BR>
<BR>
<BR>
2. I then tried: mptopdf --latex myfigu.mp<BR>
<BR>
Still, I don't get any pdf file output.<BR>
<BR>
<BR>
I tried mptopdf without setting the prologues value and it doesn't seem to have an effect.<BR>
<BR>
I then went to Troy Henderson's page at <A HREF="http://www.tlhiv.org/mppreview/">http://www.tlhiv.org/mppreview/</A> . He offers a free previewer and then I could get my file in EPS format.<BR>
<BR>
Any suggestions regarding mptopdf or gnuplot?<BR>
<BR>
<BR>
Thanks again<BR>
Yogeshwarsing<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Taco Hoekwater [<A HREF="mailto:taco@elvenkind.com">mailto:taco@elvenkind.com</A>]<BR>
Sent: Sun 2009-11-29 08:55<BR>
To: Yogeshwarsing Calleecharan<BR>
Cc: metapost@tug.org<BR>
Subject: Re: [metapost] how to use mpstoeps on a Windows machine<BR>
<BR>
Yogeshwarsing Calleecharan wrote:<BR>
> Hi, I would like to know detailed instructions on how to use the<BR>
> mpstoeps script by Troy Henderson on a Windows machine (I have Win XP<BR>
> SP3). I have installed perl on my machine but then I don't know how<BR>
> to proceed. I've read that mpstoeps is for Unix machines only!<BR>
<BR>
You would also need to install a unix shell, but there are better<BR>
options.<BR>
<BR>
1. set prologues:=3 in the metapost source. This will create<BR>
a proper EPS with no further processing required.<BR>
<BR>
2. use mptopdf. If you have a TeX installation, you probably<BR>
have this command already. It will convert to pdf (not eps)<BR>
though.<BR>
<BR>
Best wishes,<BR>
Taco<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>