That, and the order of the citations persists even if I write sorting=none.
I am using this template, which uses Biblatex. I have the following command in the preamble:
\usepackage[sorting=none,backend=bibtex,style=phys,natbib=true]{biblatex}
Writing sorting=none makes no difference. If I delete all instances of e.g. reference #22, the printed bibliography at the end still shows that reference, even after compiling twice. Also if I cite it at the beginning, instead of changing to #1 it remains forever #22.
Other bibliography related commands that I am using are:
\addbibresource{my_bibfile.bib}
\usepackage[autostyle=true]{csquotes}
\printbibliography[heading=bibintoc]
(I think that is all of them) How can I fix this so references are in order and forgotten if I remove all instances?
biblatex, but you explicitly requested to use BibTeX) as well. There should be messages about that in the.logfile. Never ignore errors or warnings in the.logfile. (That's not quite true: You can decide to ignore some warnings, but you should read them first and try to understand why they are there.) – moewe Aug 31 '21 at 21:22backend=bibtexso rerun bibtex not biber – David Carlisle Aug 31 '21 at 21:28biberand solved my issue. Thanks! Feel free to write an answer. – Asier R. Aug 31 '21 at 21:33