[metapost] how to use mpstoeps on a Windows machine

Yogeshwarsing Calleecharan yogeshwarsing.calleecharan at ltu.se
Sun Nov 29 11:25:37 CET 2009


Hi again,
         Yes now I get an EPS file with the  outputtemplate:="%j-%c.eps"; I set prologues to 3 in my gnuplot and this is then included in the generated mp file. I added the extra line  outputtemplate:="%j-%c.eps"; and now it works fine! I get myfig-number.eps where number is a numeral.

The generated EPS file is about the same size to that which I obtained with the conversion at  http://www.tlhiv.org/mppreview/ . 

The mptopdf is still not working, but it's not an issue anymore. I can easily generate a PDF if I now have the EPS.

Many thanks for your very kind help.

With Best Regards,
Yogeshwarsing


-----Original Message-----
From: Taco Hoekwater [mailto:taco at elvenkind.com]
Sent: Sun 2009-11-29 11:12
To: Yogeshwarsing Calleecharan
Cc: metapost at tug.org
Subject: Re: [metapost] how to use mpstoeps on a Windows machine
 
Yogeshwarsing Calleecharan wrote:
> Hi, I'll answer your questions:
> 
> 1. What do you mean? No output? 

> I don't get any EPS file. When I run
> mpost on my file myfig.mp, I get myfig.2 (the number at the end
> varies as you know). So I don't get any EPS file generated. Setting
> the prologues:=3 doesn't seem to generate the EPS file.

It does in fact create eps, but it still uses the default naming
scheme. To prevent having to rename the output figures, add

   outputtemplate:="%j-%c.eps";

to the metapost source.


> 2. Is there an error message? 

> No, nothing at all. I tried just to run

In that case, I can't help with that, sorry.

Best wishes,
Taco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20091129/3808a617/attachment-0001.html>


More information about the metapost mailing list