I'm having a problem with bibliography updating which, so far as I can see, differs from previous questions on this site.
The problem is this. Suppose I cite two different works in a document, and compile the pdf. I end up with a bibliography containing the info pertaining to both works. So far so good. But if I then decide I don't want to cite one of the works and delete all the in-text citations to that work, the cited work still appears in the bibliography. In other words, my bibliography always updates when I add new citations, but never updates when I delete them. The only way I can get rid of unwanted bibliographic entries is by adding previously uncited works!
Here's a MWE:
\documentclass[12pt]{article}
\usepackage[margin=30mm]{geometry}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Adams1998,
address = {Stanford},
author = {Adams, Ernest W.},
file = {:Users/James/Library/Application Support/Mendeley Desktop/Downloaded/Adams - 1998 - A Primer of Probability Logic.pdf:pdf},
publisher = {CSLI Publications},
title = {{A Primer of Probability Logic}},
year = {1998}
}
@incollection{Cotnoir2018,
address = {Cham},
author = {Cotnoir, Aaron J.},
booktitle = {Pluralisms in Truth and Logic},
doi = {10.1007/978-3-319-98346-2_13},
editor = {Wyatt, Jeremy and Pedersen, Nikolaj J. L. L. and Kellen, Nathan},
file = {:Users/James/Library/Application Support/Mendeley Desktop/Downloaded/Cotnoir - 2018 - Logical Nihilism.pdf:pdf},
pages = {301--329},
publisher = { Palgrave Macmillan},
title = {{Logical Nihilism}},
url = {https://doi.org/10.1007/978-3-319-98346-2{\_}13},
year = {2018}
}
@article{Steinberger2019,
author = {Steinberger, Florian},
doi = {10.5840/jphil201911611},
file = {:Users/James/Documents/St Andrews/Philosophy/MPhil/MPhil Thesis/Readings/Normativity/Three Ways Logic is Normative Steinberger.pdf:pdf},
issn = {0022-362X},
journal = {The Journal of Philosophy},
month = {mar},
number = {1},
pages = {5--31},
title = {{Three Ways in Which Logic Might Be Normative}},
url = {http://www.pdcnet.org/oom/service?url{\_}ver=Z39.88-2004{\&}rft{\_}val{\_}fmt={\&}rft.imuse{\_}id=jphil{\_}2019{\_}0116{\_}0001{\_}0005{\_}0031{\&}svc{\_}id=info:www.pdcnet.org/collection},
volume = {116},
year = {2019}
}
\end{filecontents}
\usepackage[style=apa, natbib=true, doi=false, url=false]{biblatex}
\addbibresource{/Users/James/Documents/MWEs/Bibliography Formatting.bib}
\AtEveryBibitem{\clearfield{number}}
\DeclareFieldFormat[article]{volume}{\apanum{#1}}
\setlength\bibitemsep{1.5\itemsep}
\title{Test Document}
\begin{document}
\maketitle
Suppose I cite \citet{Adams1998} and \citet{Steinberger2019}.
\printbibliography
\end{document}
This outputs:
But now if I delete one citation as follows:
\documentclass[12pt]{article}
\usepackage[margin=30mm]{geometry}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Adams1998,
address = {Stanford},
author = {Adams, Ernest W.},
file = {:Users/James/Library/Application Support/Mendeley Desktop/Downloaded/Adams - 1998 - A Primer of Probability Logic.pdf:pdf},
publisher = {CSLI Publications},
title = {{A Primer of Probability Logic}},
year = {1998}
}
@incollection{Cotnoir2018,
address = {Cham},
author = {Cotnoir, Aaron J.},
booktitle = {Pluralisms in Truth and Logic},
doi = {10.1007/978-3-319-98346-2_13},
editor = {Wyatt, Jeremy and Pedersen, Nikolaj J. L. L. and Kellen, Nathan},
file = {:Users/James/Library/Application Support/Mendeley Desktop/Downloaded/Cotnoir - 2018 - Logical Nihilism.pdf:pdf},
pages = {301--329},
publisher = { Palgrave Macmillan},
title = {{Logical Nihilism}},
url = {https://doi.org/10.1007/978-3-319-98346-2{\_}13},
year = {2018}
}
@article{Steinberger2019,
author = {Steinberger, Florian},
doi = {10.5840/jphil201911611},
file = {:Users/James/Documents/St Andrews/Philosophy/MPhil/MPhil Thesis/Readings/Normativity/Three Ways Logic is Normative Steinberger.pdf:pdf},
issn = {0022-362X},
journal = {The Journal of Philosophy},
month = {mar},
number = {1},
pages = {5--31},
title = {{Three Ways in Which Logic Might Be Normative}},
url = {http://www.pdcnet.org/oom/service?url{\_}ver=Z39.88-2004{\&}rft{\_}val{\_}fmt={\&}rft.imuse{\_}id=jphil{\_}2019{\_}0116{\_}0001{\_}0005{\_}0031{\&}svc{\_}id=info:www.pdcnet.org/collection},
volume = {116},
year = {2019}
}
\end{filecontents}
\usepackage[style=apa, natbib=true, doi=false, url=false]{biblatex}
\addbibresource{/Users/James/Documents/MWEs/Bibliography Formatting.bib}
\AtEveryBibitem{\clearfield{number}}
\DeclareFieldFormat[article]{volume}{\apanum{#1}}
\setlength\bibitemsep{1.5\itemsep}
\title{Test Document}
\begin{document}
\maketitle
Suppose I cite \citet{Adams1998}.
\printbibliography
\end{document}
This outputs:
But the Steinberger entry in the bibliography should have disappeared! If it's of any relevance, I'm using Biblatex and Biber. Thanks!


pdflatex,biberand thenpdflatexagain before the bibliography is correct (replacepdflatexby whicheverlatexprogram is relevant for you). – Andrew Swann Feb 17 '20 at 13:16biber yourdocumentname– David Carlisle Feb 17 '20 at 15:26