[metapost] ps2svg

Karel akk64 at quick.cz
Wed Jan 18 01:08:14 CET 2012


Reinhard Kotucha napsal(a):
> On 2012-01-17 at 23:19:50 +0100, abewayer wrote:
> 
>  >  
>  > Hi to all.
>  > 
>  > I can't find on the net how to open a .ps file with inkscape.
>  > 
>  > If I draw something with metapost how can I use it with a vectorial
>  > program?
> 
The current version of metapost (min. since 1.211) is able to 
write down svg file directly, one only needs to declare:
outputformat := "svg";
outputtemplate := "%c.svg";

Enjoy metapost!
Karel Horak

> Maybe you have to convert it to PDF before.  Loading a PDF file works
> here.  I suppose that Inkscape doesn't invoke ps2pdf properly.  I get
> the error message 
> 
>     ps2pdf failed:
>     Error: /undefinedfilename in (pslogo.eps)
> 
> But there's no problem when I run ps2pdf on the command line.
> 




More information about the metapost mailing list