- Create the LaTeX source file. It must be in the plain ASCII format. Simple text editor like Notepad, VIM or Emacs would be fine. Please do not use word processor like Microsoft Office.
- Run LaTeX on the LaTeX source. Any warning or error will be reported, if exists. If the source file contains table of contents, or references, you may need to run the above command several times. If you are lucky, you will get a DVI file, called yourfile.dvi. To view it, use dvi viewer like xdvi or Yap.latex yourfile.tex
- To convert the DVI file to PostScript format, rundvips -Pcmz yourfile.dvi -o yourfile.ps
- To produce a PDF file, you don't need to do step 1. Just runpdflatex yourfile.tex
- To produce a PostScript file from a PDF file,pdf2ps yourfile.pdf newfile.ps
- To produce a PDF file from a PostScript file,pdf2ps yourfile.ps newfile.pdf
Showing posts with label dvips. Show all posts
Showing posts with label dvips. Show all posts
Sunday, March 22, 2009
How to compile LaTeX file
Here are the typical steps to produce DVI, PostScript or PDF file from a LaTeX source file:
Subscribe to:
Posts
(
Atom
)