[metapost] how to use mpstoeps on a Windows machine
Yogeshwarsing Calleecharan
yogeshwarsing.calleecharan at ltu.se
Thu Dec 3 09:34:25 CET 2009
Hi guys,
Thank you all for your inputs. The following is working fine on
my Win XP machine (with cmd.exe) and it can be read without any
warnings/errors in Ghostscript:
E:\testing\gn\test35\labe>mpost --sprologues=3
-soutputtemplate=\"%j-%c.eps\" my
figu.mp
This is MetaPost, version 1.208 (kpathsea version 3.5.7dev)
(./myfigu.mp
[0{pdftex.map}<cmr10.pfb><cmsy10.pfb><cmmi10.pfb><cmmi7.pfb><cmmi5
.pfb>] )
1 output file written: myfigu-0.eps
Transcript written on myfigu.log.
E:\testing\gn\test35\labe>
I've tried the other suggestions as given by some of you here but though
the eps file was created, it couldn't be read by Ghostscript.
Just to remind you that I'm running the new version of metapost in
TexLive 2008.I copied the new mpost.exe to TL2008 and run fmtutil
--byfmt mpost. I get no error messages. So is the new installation of
metapost on my TL2008 perfectly fine?
Thanks a lot again for all the discussions.
Bëst Regards,
Yogeshwarsing
Yogeshwarsing Calleecharan
Division of Solid Mechanics
Department of Applied Physics and Mechanical Engineering
Luleå Tekniska Universitet
SE-971 87 Luleå
Sweden
Email: yogeshwarsing.calleecharan at ltu.se
Tel: +46 (0)920 491255
Fax: +46 (0)920 491047
Dan&Jan Luecking wrote:
> At 04:28 PM 12/2/2009, you wrote:
>> Pétiard François wrote:
>>
>>> I don't have MetaPost v.1.208 on my computer but isn't it
>>> prologues:=3 (not prologues=3)
>>> and
>>> outputtemplate:="%j-%c.eps" (not outputtemplate="%j-%c.eps") ?
>>
>> On the commandline you don't need the assignment syntax.
>
> I found it isn't even an option. The := syntax gives the
> following warning
>
> Warning: outputtemplate:=0: variable does not exist
>
>> The problem here is windows shell quoting. My shell on linux needs
>> '"%j"' to preserve the inner double quotes, but I have no idea wat
>> the right way is for windows cmd.exe so I cannot help you.
>
> \" seems to work.
>
>
> Dan
>
> Dan Luecking
> Fayetteville, Arkansas
> --
> http://tug.org/metapost/
More information about the metapost
mailing list