So I wrote this:
\documentclass{exam}
\usepackage{biblatex}
\addbibresource{foo.bib,bar.bib}
\begin{document}
Blah blah blah. \cite{source}
\printbibliography
\end{document}
And I get these errors:
LaTeX Warning: Citation 'source' on page 1 undefined on input line X.
LaTeX Warning: Empty bibliography on input line Y.
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:(biblatex) file(biblatex) and rerun LaTeX afterwards.
I've used this setup before with other documents; I can't figure out why it's not working this time. What could be going on?
(Incidentally, I did try the [backend=biber] option with biblatex, but the same thing happens.)
ERROR - Cannot find control file 'file.tex.bcf'! - Did latex run successfully on your .tex file before you ran biber?
(And it looks to me like latex did run successfully.)
– crmdgn Apr 12 '23 at 15:01.tex.bcfis odd – Joseph Wright Apr 12 '23 at 15:04.texfile without the file extension (or explicitly on the.bcffile). Assuming your main.texfile is calledmydoc.tex, you need to runbiber mydoc(orbiber mydoc.bcf). If you are using an editor to run Biber, make sure it is configured correctly: https://tex.stackexchange.com/q/154751/35864 – moewe Apr 12 '23 at 16:21biber mydoc). – crmdgn Apr 12 '23 at 18:36