texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.85k stars 346 forks source link

Using latexmk through magic comment is ignored when bib changes #1423

Open 7Z0t99 opened 3 years ago

7Z0t99 commented 3 years ago

I have got a document that sets up compilation with % !TeX program = latexmk This works fine, except that when my bibliography changes, TeXstudio tries to run the default bib program selected in the TeXstudio options instead of running latexmk. I think that TeXstudio should run latexmk when the bibliography changes, because latexmk handles the entire compilation of the document, and calls the bib program as necessary.

Environment

7Z0t99 commented 3 years ago

By the way: everything works as expected when you enable "Show Advanced Options" and disable "Check and update bibliography before compiling" in the Build options