LaTeX forum ⇒ BibTeX, biblatex and biber\printbibliography does not create a bibliography Topic is solved

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

\printbibliography does not create a bibliography

Postby martin11 » Sat Jul 23, 2016 9:08 pm

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:
  1. (...), 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:
  1. This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit)
  2. The top-level auxiliary file: spieltheorie_neu2.aux
  3. I found no \citation commands---while reading file <filename>.aux
  4. I found no \bibdata command---while reading file <filename>.aux
  5. I found no \bibstyle command---while reading file <filename>.aux
  6. (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



  1. \documentclass[12pt] {article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[german,naustrian]{babel}
  4. \usepackage{amssymb}
  5. \usepackage{amsmath}
  6. \usepackage[absolute]{textpos}
  7. \usepackage{anysize}
  8. \usepackage{fancyhdr}
  9. \usepackage{mathtools}
  10. \usepackage{tabularx}
  11. \usepackage{multirow}
  12. \usepackage{textcomp}
  13. \usepackage{hyperref}
  14. \usepackage{placeins}
  15. \usepackage{graphicx}
  16. \usepackage{paralist}
  17. \usepackage{chngcntr}
  18. \usepackage{float}
  19. \usepackage{setspace}
  20. \usepackage{marvosym}
  21.  
  22. \usepackage[style=apa,backend=biber]{biblatex}
  23. \DeclareLanguageMapping{german}{german-apa}
  24. \usepackage[babel,german=guillemets]{csquotes}
  25.  
  26. \addbibresource{<bibliography>.bib}
  27.  
  28. \title{...}
  29. \author{...}
  30. \date{...}
  31.  
  32. \pagestyle{fancy}
  33. \rhead{...}
  34. \lhead{...}
  35.  
  36. \begin{document}
  37. (...)
  38. 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}
  39. (...)
  40. \printbibliography
  41.  
  42. \begin{appendix}
  43. (...)
  44. \end{appendix}
  45. \end{document}

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3725
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jul 23, 2016 9:48 pm

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: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Sun Jul 24, 2016 11:31 am

Welcome to the LaTeX community

You're using
  1. \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:
  1. This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit)


More information: http://texwelt.de/wissen/fragen/3008/su ... fur-dummys

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

martin11
Posts: 4
Joined: Sat Jul 23, 2016 8:36 pm

Postby martin11 » Mon Jul 25, 2016 11:08 am

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:
  1. INFO - This is Biber 2.3
  2. INFO - Logfile is '<filename>.blg'
  3. INFO - Reading '<filename>.bcf'
  4. WARN - Warning: Found biblatex control file version 3.1, expected version 2.9
  5. INFO - Found 11 citekeys in bib section 0
  6. INFO - Processing section 0
  7. INFO - Looking for bibtex format file '<filename>.bib' for section 0
  8.  
  9. ERROR - Cannot find '<filename>.bib'!
  10. INFO - WARNINGS: 1
  11. 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: 3725
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jul 25, 2016 11:14 am

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

Postby martin11 » Mon Jul 25, 2016 11:25 am

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

Postby martin11 » Mon Jul 25, 2016 12:14 pm

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

Kind regards,
Martin


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 6 guests