BibTeX, biblatex and biber\printbibliography does not create a bibliography

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
martin11
Posts: 4
Joined: Sat Jul 23, 2016 8:36 pm

\printbibliography does not create a bibliography

Post by martin11 »

Hello!

I've signed up to this forum as Latex - however much I love it - is driving me to despair right now :|

What I would like to do is the create a bibliography in German and citing the sources in apastyle. So I've made a bibliography using biblatex, but on the one hand no bibliography in the pdf-file is created and on the other hand the ID of the item in the bib-file is cited instead of the name of the author and the year. Referring to the example below:

Code: Select all

(...), sed diam voluptua. \parencites{taylor}
results in

"(...), sed diam voluptua. (taylor)"

instead of

"(...), sed diam voluptua. (Taylor, 2002)"

in the pdf-file.

Furthermore I get these error messages:

Code: Select all

This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit)
The top-level auxiliary file: spieltheorie_neu2.aux
I found no \citation commands---while reading file <filename>.aux
I found no \bibdata command---while reading file <filename>.aux
I found no \bibstyle command---while reading file <filename>.aux
(There were 3 error messages)
I would be really happy if someone could help me solve this problem.


Thank you very much in advance! :)

Martin


Code: Select all

\documentclass[12pt] {article}
\usepackage[utf8]{inputenc}
\usepackage[german,naustrian]{babel}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[absolute]{textpos}
\usepackage{anysize}
\usepackage{fancyhdr}
\usepackage{mathtools}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{textcomp}
\usepackage{hyperref}
\usepackage{placeins}
\usepackage{graphicx}
\usepackage{paralist}
\usepackage{chngcntr}
\usepackage{float}
\usepackage{setspace}
\usepackage{marvosym}

\usepackage[style=apa,backend=biber]{biblatex}
\DeclareLanguageMapping{german}{german-apa}
\usepackage[babel,german=guillemets]{csquotes}

\addbibresource{<bibliography>.bib}

\title{...}
\author{...}
\date{...}

\pagestyle{fancy}
\rhead{...}
\lhead{...}

\begin{document}
  (...)
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \parencites{taylor}	
  (...)
  \printbibliography
 
  \begin{appendix}
    (...)
  \end{appendix}		
\end{document}

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: \printbibliography does not create a bibliography

Post by Johannes_B »

It is late and i am tired, i won't give explanations right now. Please have a look at http://golatex.de/wichtige-hinweise-ers ... 11964.html
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

\printbibliography does not create a bibliography

Post by cgnieder »

Welcome to the LaTeX community

You're using

Code: Select all

\usepackage[style=apa,backend=biber]{biblatex}
which means you've specified biber as backend. But this means you also need to use biber and not BibTeX like you obviously do:

Code: Select all

This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit)
More information: http://texwelt.de/wissen/fragen/3008/su ... fur-dummys

Regards
site moderator & package author
martin11
Posts: 4
Joined: Sat Jul 23, 2016 8:36 pm

\printbibliography does not create a bibliography

Post by martin11 »

Thanks a lot for your answers!

I've now set biber as the standard bibliography programme in TeXstudio, but I do not get the usual error messages that are mentioned in the sources you gave me.

I got this error message instead:

Code: Select all

INFO - This is Biber 2.3
INFO - Logfile is '<filename>.blg'
INFO - Reading '<filename>.bcf'
WARN - Warning: Found biblatex control file version 3.1, expected version 2.9
INFO - Found 11 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file '<filename>.bib' for section 0

ERROR - Cannot find '<filename>.bib'!
INFO - WARNINGS: 1
INFO - ERRORS: 1
I suppose that the problem is caused by the warning concerning the wrong version and the error saying "Cannot find '<filename>.bib'". Could you please give me a hint how to solve that?

Kind regards,
Martin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: \printbibliography does not create a bibliography

Post by Johannes_B »

The warning means: Do an update of biblatex and biberusing the package manager.

The error means, surprise, that biber cannot find you database, which is called <filename>.bib.
In you original post it was called <bibliography>.bib.

Out of interest, what is the real name of the database?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
martin11
Posts: 4
Joined: Sat Jul 23, 2016 8:36 pm

Re: \printbibliography does not create a bibliography

Post by martin11 »

Ok, I will try to update it.

Oh, the names of the database should be the same as before - I just replaced it wrongly. Its real name is "spieltheorie2.bib" and its saved in the same directory as the tex-file - that's why I cannot understand that it cannot find the file.

Anyway, I'll update biber and biblatex and then we'll see...
martin11
Posts: 4
Joined: Sat Jul 23, 2016 8:36 pm

Re: \printbibliography does not create a bibliography

Post by martin11 »

Updating the packages has solved the problem! Thank you so much for your help!

Kind regards,
Martin
Post Reply