I am submitting a paper for a conference and it requires me to send the .tex source along with the PS and PDF files.
I have no problem generating the PDF file; I simply use the pdflatex. However, since my .tex makes use of the PNG, JPEG and PDF figures, I can't use latex + dvips to create the PS file.
How can I solve this problem? Note that converting all my figures to PS won't solve the problem, because I would need two different .tex files since the includegraphics commands would be different.
\includegraphicscommands don't have to be different. If you leave off the extension then it works out the best format to include. So then you can have the PS versions and the PDF ones alongside each other withlatexusing the PS versions andpdflatexusing the PDF ones. – Andrew Stacey Aug 20 '11 at 20:46foreach f in *.pdf; do pdftops $f; doneshould do the trick (though the exact syntax might be shell-specific - I usezsh). – Andrew Stacey Aug 20 '11 at 21:26