
Unfortunately this is not what I need. I need to be able to read the SVG from STDIN and write the PS to STDOUT.
In other command line utilities you do this by specifying - as the filename.
I figure it'd be easy to implement and hopefully I could do this in the next release.
But if anybody does know how to do this currently I'm all ears. Right now I am needlessly writing my SVG to a file in order to process it.
-Jeff
Andy Fitzsimon wrote:
I dont exactly know what you mean/need but maybe this will help:
Try running this from bash terminal
for i in *.svg;do inkscape -F -P "${i/.svg/.ps}" "$i" ;done
It will create a postscript version of every svg you have in the directory its executed in. I came across some bugs when i tested it on chinese text for some reason. Will have to check it out again ( usually use batik to convert to PS / PDF when making books )