[Tex/LaTex] Suppress all BibTeX warnings temporarily

bibtexsilencewarnings

I would like to suppress all warnings from bibtex, natbib, & associated packages. I want to do this because I intend to fix up these problems in a final pass, and in the meantime, I don't want citation warnings cluttering up my compilation output; I only want to see "real" errors and warnings (ie. ones I need to fix now). How can I do this?

Currently I am using:
\usepackage{silence}\WarningFilter*{natbib}{}. However, this does not silence all warnings. For example, I still get warnings of the following forms:

<no file>: warning: no database entry for "foo"
<no file>: warning: no database entry for "bar"
somefile.bib:89: warning: empty address in baz
somefile.bib:73: warning: page numbers missing in both pages and numpages fields in quux

(There are many more of these; these are for illustration, and slightly altered to remove filenames.)

How can I suppress these warnings? Ideally, I want to do this without removing my citations (I still intend to cite things!) or manually altering my .bib files (if the alteration can be done/undone by a simple script or search-and-replace that's OK). I'm also not able to change to biblatex or some other system; the citation style and tooling is fixed by the venue I'm writing for.

Best Answer

The warnings you mention are generated by BibTeX and silence can't cope with those, because it only acts when LaTeX is run.

Just don't run BibTeX if you don't want to see them. If you use a wrapper such as latexrun, then find a way to tell it you don't need BibTeX until you decide that it's time to fix the bib entries. However, since it seems that the main reason why latexrun exists is to run BibTeX when necessary, just leave it alone until you need it.