For some reason, BibLaTeX doesn't work. Here's my minimal example.
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{csquotes}
\RequirePackage{filecontents}
\begin{filecontents}{refs.bib}
@book{doe13,
address = {City},
title = {A nice title},
shorttitle = {Short title},
publisher = {Publisher},
author = {Doe, John},
year = {2013}
}
\end{filecontents}
\usepackage[backend=biber]{biblatex}
\addbibresource{refs.bib}
\begin{document}
Hello. \cite{doe13}.
\nocite{*}
\printbibliography
\end{document}
I am using MiKTeX 2.9 32-bit.
When I run pdflatex sample.tex
, I get the following warings:
LaTeX Warning: Citation 'doe13' on page 1 undefined on input line 23.
LaTeX Warning: Empty bibliography on input line 27.
The generated PDF contains
Hello. [doe13 ].
and the page number, nothing else. There's no bibliography.
Running biber sample
gives me the following message:
> biber sample
INFO - This is Biber 1.5
INFO - Logfile is 'sample.blg'
data source C:\Users\Paul\AppData\Local\Temp\par-5061756c\cache-890efc00b3ca6b77
5c7d44a325c1349fb2a3a3bd\inc\lib/Biber/LaTeX/recode_data.xml not found in .
Like Alan Munn stated, the warning in biber
can be fixed by removing the entire directory C:\Users\Paul\AppData\Local\Temp\par-5061756c
. After that, new warnings occur, the pdflatex
warnings are the same as well as the resulting PDF.
> biber sample
INFO - This is Biber 1.5
INFO - Logfile is 'sample.blg'
INFO - Reading 'sample.bcf'
WARN - Warning: Found biblatex control file version 2.5, expected version 2.3
INFO - Using all citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'refs.bib' for section 0
INFO - Decoding LaTeX character macros into UTF-8
INFO - Found BibTeX data source 'refs.bib'
What else can I do?
pdflatex
,biber
, and thenpdflatex
twice more.[doe13 ]
instead. I updated the question for clarification.pdflatex
,biber
,pdflatex
andpdflatex
though? How do you compile your documents?pdflatex
. You need to follow the full run sequence suggested by moewe. Another potential explanation for your problem is that you may be mistakenly runningbibtex
instead ofbiber
. Tell us which LaTeX editor/IDE you're using and which OS you're using.biber
may not be already set up in it, in which case people here can tell you how to do that.biblatex
andnatbib
. The error you are getting is a well known issue withbiber
that is easily fixed. See XeLaTeX and Biber do not Produce a *.bbl File for a solution.