[Tex/LaTex] How to generate a PS and a PDF file from a single .tex file

conversionpdfps

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.

Best Answer

If you're using PDF pictures, you may not be able to output to PS without at some point doing a conversion. Comments on one of the other answers suggest using pdftops rather than pdf2ps, I have no personal experience. You may be able to just convert the figures, then compile with both latex/dvips and pdflatex, or it may be easier to just compile with pdflatex and then convert the final document to PS.

Related Question