Latex tip - don't forget to run bibtex

If you compile your .tex file and end up seeing an error ".bbl could not be located", after you open the .dvi file generated, you will notice that the reference section is missing. This is because in the first run LaTeX created the .aux file which needs to be fed to Bibtex which will generate the .bbl file.

So,

#1 $ latex source.tex
#2 $ bibtex source.aux (generated in Step #1)
#3 $ latex source.tex


Kile does this in one shot, it is able to figure out that bibtex needs to be run in the middle.

Q: Is there any another way to do this in one shot from the command line?

No comments: