Call me crazy, but I write my own figures in postscript, and my figure files need to access the file system (because I have files full of routines that the figure files use).
Because postscript can be a security hazard, the default for ghostscript is to disallow access to the file system, so my files can't be processed in ghostscript (and thus in ps2pdf). No problem, there is a -dNOSAFER option for gs and p2spdf, so
ps2pdf -dNOSAFER figure.ps
works. I write .tex in TeXShop, which uses simpdftex to do latex, dvips, ps2pdf. So I need to figure out how to pass -dNOSAFER through simpdftex to ps2pdf. Simple things I have tried, like passing the option
--distiller "ps2pdf13 -dNOSAFER"
to simpdftex don't seem to work.
Thanks,
Nathan
P.S. To keep you from wasting your time on unhelpful answers, I know about the package epstopdf which can automatically run ps2pdf on each figure file when I run pdflatex, and that works nicely for almost all situations, but sometimes I really need to mess with .ps in a way that pdftex/epstopdf can't handle.