[Tex/LaTex] Multiple builds at once

bibermiktexpdftextexifytexniccenter

I'm currently using following combination:

  • the latest TexnicCenter (2.01 Stable 32bit)
  • MiKTeX 2.9 32 bit (all packages updated)
  • pdflatex.exe
  • biber (instead of biblatex)

My problem is, that if a new reference is added using biber, the document needs to be compiled three times before the citations are properly placed.

Is there any possibility to compile the whole document with one click?

I tried to use texify.exe (instead of pdflatex.exe) but that doesn't work either.

Does anybody know how I can fix that?

Best Answer

For the sake of closure, and basing my answer on

LaTeX Editors/IDEs and https://tex.stackexchange.com/a/1490/27833

It seems running three times is by design in LaTeX. To get a complete Bibliography with references you must run:

pdflatex document
bibtex document
pdflatex document
pdflatex document

This is because TeX writes out metadata about cross-references that gets used to enhance the output on subsequent runs:

  1. On the first pdflatex run, information gets written concerning which citations are needed.

  2. Bibtex uses that information to pull the required citations from a database.

  3. pdflatex then uses the bibtex output to produce a bibliography.

  4. With a bibliography present, pdflatex can finally insert citations in the text.

See Tools for automating document compilation for ways to make this less of a chore.