When I click on "compile", TexStudio run pdflatex->biber->pdflatex->biber->pdflatex->pdflatex
Then I clicked on Tools->Commands->PdfLatex. TexStudio run pdflatex 3 times (three)
How can I tell TexStudio to run pdflatex 1 time only?
Thanks
Anonymous
This is intentional and, by design of LaTeX, required to obtain a fully updated pdf. See e.g.
https://tex.stackexchange.com/questions/53235/why-does-latex-bibtex-need-three-passes-to-clear-up-all-warnings
If you don't want this behavior, you can deactivate "Rerun contained compilation commands" for "Compile" and for "PDFLatex".
Last edit: Tim Hoffmann 2017-11-27
What is the difference between the "Repeat conteined compilation commands" in the "Commands" tabd and in the "Build" tab?
A compilation, such as
pdflatexmay indicate in it's log, that it wants to be run again (e.g. "Label(s) may have changed. Rerun to get cross-references right."). When "Repeat conteined compilation commands" is activated, TeXstudio checks for these messages and runs the command again.A command may consist of several subcommands, e.g. "Recompile Bibliography":
txs:///compile | txs:///bibliography | txs:///compile, where compile itself may metxs:///pdflatex, which then is a basic command. For every basic or compound command, you can specify if the contained compilation commands do the above checks. This is cumulative. If any of the commands in the hirachy has this activated, the rerun will be done if necessary.Your suggestions seems not working. With all "Repeat conteined compilation commands" disabled, both in the "Commands" tabd and in the "Build" tab, TexStudio run pdflatex->biber->pdflatex->pdflatex
Last edit: Mancuso Raffaele 2017-11-29
Again, if you clear the auxiliary files, TexStudio ignores these settings and run pdflatex->biber->pdflatex->pdflatex
You'll probably have to uncheck
Build -> Build Options -> Check and update bibliography before compilingas well.