30

I'm trying to compile myFile.tex, a program which draws on bibtex and biber

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage[style=authoryear,backend=biber]{biblatex}
\addbibresource{myRefs.bib}
...
\begin{document}
...By the Seuss theorem\textcite{firstRef}
...
\section{References}
\printbibliography 
\end{document}

Upon compiling, this gave me the following errors

I found no \citation commands---while reading file myFile.aux
I found no \bibdata command---while reading file myFile.aux
I found no \bibstyle command---while reading file myFile.aux

I don't understand why this is happening, or what I have to do with myFile.aux. Can anyone explain this and how to get around it?

Sammieo
  • 635
  • 2
  • 6
  • 9

3 Answers3

24

As mentioned in the comments, you should run biber to compile your bib file as you have used biber as the backend.

\usepackage[style=authoryear,backend=biber]{biblatex}

Here are the commands to compile your myFile.tex and your .bib files:

pdflatex myFile
biber myFile
pdflatex myFile
5

I have the same problem with TeXstudio, and backend=biber does not work for me. If you're using TeXstudio too, you have two options:

  1. change the default bibliography tool in TeXstudio settings (Options > Configure TeXstudio > Build > Default Bibliography Tool)

  2. add this line at the beginning of the document

    % !BIB TS-program = biber

3

Quick fix:

Fall back on bibtex backend. Modify the option of the biblatex package.

backend=bibtex

In your example it would look like that:

\usepackage[style=authoryear,backend=bibtex]{biblatex}