[texhax] producing a PS from a tex

M Senthil Kumar senthil at www.cdfd.org.in
Fri Jul 9 06:04:00 CEST 2004


> The only command I can use is to select from the upper command line in
> XEmacs: "Comands", and then: "Print" and then: "ps"
> IN the bottom command line I have now: "dvips fielname.tex -Pps"
> I hit enter, it says the ps file was printed okay...and there is no ps file.

The command dvips filename -Pps prints the device independent file (.dvi)
to a postscript printer. You cannot give .tex file as an input to the
dvips command.

First, run LaTeX from the Command menu, if there are no errors .dvi file
will be generated with the same filename as your .tex file. If you want
the output to be saved in a postscript file, type:

dvips filename.dvi -o

You can view the .ps file using ghostview (gv). For some reasons, if you
cannot run LaTeX inside XEmacs, then type `latex filename.tex' from the
command line for getting the .dvi file.



Senthil Kumar M
Senior Research Fellow
Lab of Molecular Oncology
Centre for DNA Fingerprinting and Diagnostics,
ECIL Road, Hyderabad 500 076, India

More information about the texhax mailing list