[Tex/LaTex] How to make a PS file form a TeX document with graphics

compilinggraphicsps

Could someone explain me how to generate a PS file from a TeX file. I have included some graphics in my TeX file.
I used graphicx package.

I am using TeXLive

Thank you.

Best Answer

Unless I misunderstood the question, I think something along the following lines should give you a PS file:

latex sample2e.tex
dvips sample2e.dvi

(The sample2e.tex was slightly modified by adding \usepackage{graphicx} in the preamble, and inserting a sample image with \includegraphics at the end.)

This uses dvips about which there is extensive documentation. Should you want a PDF, you can just complete the above steps with ps2pdf.

Related Question