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:

1
2
3
4
latex yourfile.tex
bibtex yourfile.tex
latex yourfile.tex
latex yourfile.tex

To produce a pdf file:

1
2
3
4
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”

1
texify yourfile.tex

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

1
texify -c yourfile.tex

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

1
texify -p yourfile.tex

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

1
texify yourfile.tex --run-viewer

If you liked this post, these other posts might also be interesting to you:

Spread/Promote this post.

Digg | Del.icio.us | Stumble | Y! MyWeb | Y! Buzz | Fave It! | Reddit
Tags: , , , , , , ,
Category: LaTeX  |  Comment (RSS)  |  Trackback

Leave a comment