I think this question is pretty vague, and I can delete it if needed.
I have a huge report template, which include every chapter. I've done it so I can compile each part in Texmaker via pdflatex > bibtex > pdflatex. It works well but for some files (like my frontpage or my result), I don't need to \cite anything. I also use natbib whith custom .bst
So when I compile these files, I get the error no citations founds from bibtex, which is understable. My actual solution is to cite a "blank" citation for these parts, but it's not satisfying, as it takes place a the end of my file pdf for nothing.
Is there a way to compile these files with bibtex and without any citation or bibliography? Like changing the behaviour of \bibliography in these files ?
Yes I'm lazy and don't want to change my texmaker settings when I edit on file with citation or another with no citation. I can add some code if you need it, but with multiple file it's long...
\renewcommand{\refname}{}to suppress the "Reference" section title, but there is still one reference minimum to have... – Gowachin Feb 06 '20 at 16:27\nocite{*]to your preamble. – Bernard Feb 06 '20 at 18:11\bibliographyso it don't use Bibtex when there are no citation in the document... like this : https://tex.stackexchange.com/questions/74476/how-to-avoid-empty-thebibliography-environment-bibtex-if-there-are-no-refere – Gowachin Feb 06 '20 at 18:52latexmkis a nice tool that detects how often LaTeX needs to be run and runs auxiliary programs like BibTeX, Biber as well. That could help here sincelatexmkwould know not to run BibTeX if there is no bibliography setup at all. – moewe Feb 07 '20 at 17:06