I am using TeXLive 2010 and do my job using the following workflow with 6 steps. I want to reduce the number of steps as minimal as possible because I will apply the workflow to the web based system.
latex %1dvips %1ps2pdf -dPDFSETTINGS#/prepress %1.psgswin32c -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dSAFER -dNOPAUSE -dQUIET -dBATCH -sOutputFile=%1-temp.pdf %1.pdfpdfcrop --hires %1-temp.pdf %1.pdfpdftops -eps %1.pdf
I know that the steps 3, 4 and 5 internally invoke GhostScript. Shortly speaking, how to combine them into a single GhostScript call?
My current effort
I have tried to combine the step 3 and 4 as follows and it works.
latex %1dvips %1ps2pdf -dCompatibilityLevel=1.5 -dPDFSETTINGS#/prepress %1.psrename %1.pdf %1-temp.pdfpdfcrop --hires %1-temp.pdf %1.pdfpdftops -eps %1.pdf
And I am still interested in combining steps 3 and 5 above.
%1placeholders that represent the file name without extension. – Display Name Jul 09 '11 at 09:46