Nirmal Govind wrote: >> You could try running your figure through GhostScript's epstoeps >> utility. This will ensure that the eps file is well formed. > > Tried this but I still get an error while using epstopdf..
Well try using gs itself then. I attach my_pstoppm, a shell script wrapper showing how to do this. You'd need the pdfwrite option to gs I guess. $ gs --help -- Angus
my_ps2ppm
Description: application/shellscript