BibTeX, biblatex and biberbiblatex | Bibliography not printed

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
boro
Posts: 1
Joined: Mon Nov 26, 2012 10:48 am

biblatex | Bibliography not printed

Post by boro »

Hi,

as this community has helped me a lot over the last couple of months, I now need specific advice for a (seemingly) trivial problem.

I've never organized my bibliography through biblatex, so wanting to start small I tried the following minimal example:

http://www.eng.cam.ac.uk/help/tpl/textp ... latex.html

I basically copy/pasted it; yet it still won't work: the compiled PDF only shows the citation but does not create a bibliography.

This is what I did:
  1. Installed biblatex through MikTeX Package Manager (MPM).
  2. Followed their steps, created "refs.bib" and "test1.tex" in the same directory having copied their contents (see section Overview).
  3. Yet it does not generate the bibliography (have compiled many times, both PDFLaTeX and BibTeX through MiKTeX. I also deleted temporary files etc.)
Is it possible that \bibliography{refs} does not find the .bib file despite them being in the same directory? Having struggled with that for three hours now, I'm totally confused.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

biblatex | Bibliography not printed

Post by cgnieder »

Hi boro,

Welcom to the LaTeX community.

The information on the website you've linked is a little outdated. The MWE should read

Code: Select all

\documentclass{article} 
\usepackage{biblatex} 
\addbibresource{refs.bib}% changed line
\begin{document} 
Hello\cite{KandR}
\printbibliography 
\end{document}
Although that's not what's causing you trouble. What's more important is that biblatex used to use bibtex as default backend but nowadays uses biber. I'm guessing that's what cases your troubles. These are your choices:
  • Use \usepackage{biblatex} and compile

    Code: Select all

    pdflatex test1.tex
    biber test1
    pdflatex test1.tex
  • Use \usepackage[backend=biber]{biblatex} and compile

    Code: Select all

    pdflatex test1.tex
    biber test1
    pdflatex test1.tex
  • Use \usepackage[backend=bibtex]{biblatex} and compile

    Code: Select all

    pdflatex test1.tex
    bibtex test1
    pdflatex test1.tex
Regards
site moderator & package author
Post Reply