4

I am following the biblatex in a nutshell (for beginners) and meet this error during compiling BiBTeX:

This is BibTeX, Version 0.99d (MiKTeX 2.9.6500) The top-level auxiliary file: test.aux I found no \citation commands---while reading file test.aux I found no \bibdata command---while reading file test.aux I found no \bibstyle command---while reading file test.aux (There were 3 error messages)

I find no \citation, \bibdata or \bibstyle commands suggested from TeXmaker. Do you know what's wrong? The code is:

\documentclass{article}
\usepackage{biblatex}
\bibliography{References}

\begin{document}
test test\cite{dym_fourier_1972}
\printbibliography
\end{document}

I find this (duplicate?) question but I don't understand it: No \citation, \bibdata, \bibstyle commands

  • 2
    biblatex defaults to biber not bibtex as the program to use (there is a backend=bibtex option if you need bibtex) – David Carlisle Dec 14 '17 at 17:44
  • 1
    If you use biblatex, the \bibliography command is deprecated. You really should write \addbibresource{References.bib}. Note that the filename extension (here: .bib) must be provided when using \addbibresource to specify the bib file. – Mico Dec 14 '17 at 17:57
  • You have to run biber, not bibtex. – egreg Dec 14 '17 at 18:07
  • 1
    You need to run Biber, but you are running BIbTeX. Have a look at Biblatex with Biber: Configuring my editor to avoid undefined citations and Troubleshooting for biber. – moewe Dec 14 '17 at 19:49
  • Did you get anywhere running Biber? – moewe Dec 15 '17 at 9:47
12

There are two engines to read .bib files:

  • BibTex. This is the old one and is the default engine used by TeXmaker
  • Biber. This is the new engine and is used in my example

The file .bib is commonly called as a "bibtex" file, but it's an inherited name from the old engine, and should be perceived as having no relation to the BibTeX engine now. Thanks to the biblatex package for supporting both engines, commands intended to be used by BibTeX can be used by Biber now. You can read more on the history here.

1. Make sure the editor running Biber, not BibTeX

(Detailed post.) For TeXmaker:

2. Run LaTeX → Biber → LaTeX

Make sure you use the Biber commands to print bibliography:

  • \usepackage{biblatex}
  • \addbibresource{filename.bib}
  • \printbibliography

Do not use \bibliography or \bibliographystyle as they belong to BibTeX.

Read more: Getting Started with Biblatex

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.