Compiling LaTeX on Windows: An alternative method

The usual method to compile latex is by using “latex” command, and if the latex file contains bibliography, it will be a very tedious and repetitive job.

To produce a dvi file:

latex yourfile.tex
bibtex yourfile.tex
latex yourfile.tex
latex yourfile.tex

To produce a pdf file:

pdflatex yourfile.tex
bibtex yourfile.tex
pdflatex yourfile.tex
pdflatex yourfile.tex

However, for the windows user, with Miktex, there is an alternative that could simplify all those tasks – the texify.

To produce a dvi file”

texify yourfile.tex

To produce a dvi file and clean all the auxilary files:

texify -c yourfile.tex

To produce a pdf file (to clean all the auxilary files, just add -c as above):

texify -p yourfile.tex

To produce a dvi file and run the default viewer (add -p for pdf)

texify yourfile.tex --run-viewer
If you are new here, you might want to subscribe to the RSS feed or newsletter.

Enter your email address:

Related

This entry was posted in LaTeX and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>