BibTeX, biblatex and biberNo data in \printbibliography

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
mcdk
Posts: 5
Joined: Mon Feb 15, 2016 2:08 pm

No data in \printbibliography

Post by mcdk »

Hello everyone :)

As stated in the subject, my problem is with generating data after the \printbibliography section.

Some system information:

Operation system: Debian 9; kernel 4.9.0.-6-686-pae

Texlive (full install) version 2016.20170123-5

Biber Version: 2.7-2

Texmaker: Version 4.5.1

(I hope I did not miss anything important for the debugging)

I have created a very basic template for testing

Code: Select all

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{lmodern}
\author{michael}
\usepackage[backend=biber]{biblatex}
\addbibresource{library.bib}

\begin{document}

dette er en test \cite{Aagaard2009}

\printbibliography
\end{document}
the .bib file has been created in Mendeley and worked fine with biblatex and could show the bibliography just fine - my problem with it was its inability to change language in the literature and citations.

However after I did change the backend to biber in Texmaker and used the preample code as shown before, I still don't get any result in the bibliography. While the in-text citation works fine, nothing shows up in the bibliography (after the \printbibliography).

After run (PdfLatex + Bib(la)tex + PdfLateX (x2) + View Pdf) I get the following message:

Process started

INFO - This is Biber 2.7 (beta) INFO - Logfile is 'skabelon.blg' INFO - Reading 'skabelon.bcf' INFO - Found 1 citekeys in bib section 0 INFO - Processing section 0 INFO - Looking for bibtex format file 'library.bib' for section 0 INFO - Decoding LaTeX character macros into UTF-8 INFO - Found BibTeX data source 'library.bib' WARN - Duplicate entry key: 'Myers1975' in file 'library.bib', skipping ... WARN - Entry Kriminal does not parse correctly WARN - Duplicate entry key: 'Myers1975' in file 'library.bib', skipping ... WARN - Duplicate entry key: 'Myers1975' in file 'library.bib', skipping ... WARN - Duplicate entry key: 'Mckinlay1998' in file 'library.bib', skipping ... WARN - Duplicate entry key: 'Hede1997' in file 'library.bib', skipping ... WARN - Duplicate entry key: 'Kvale' in file 'library.bib', skipping ... WARN - Duplicate entry key: 'Højholdt2013' in file 'library.bib', skipping ... WARN - Duplicate entry key: 'Christensen2013' in file 'library.bib', skipping ... WARN - Duplicate entry key: 'Myers1975' in file 'library.bib', skipping ... WARN - Duplicate entry key: 'Villadsen2013' in file 'library.bib', skipping ... WARN - BibTeX subsystem: /tmp/BttE2V6Cwf/library.bib_2142.utf8, line 6, warning: 170 characters of junk seen at toplevel ERROR - BibTeX subsystem: /tmp/BttE2V6Cwf/library.bib_2142.utf8, line 1627, syntax error: found "2014", expected "," INFO - WARNINGS: 12 INFO - ERRORS: 1
Process exited with error(s)
Also I get the following logfiles:

Log 1:
LaTeX Warning: Citation 'Aagaard2009' on page 1 undefined on input line 14.
LaTeX Warning: Empty bibliography on input line 16.
[1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./skabelon.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) skabelon
(biblatex) and rerun LaTeX afterwards.
Package logreq Info: Writing requests to 'skabelon.run.xml'.
\openout1 = `skabelon.run.xml'.
)
Here is how much of TeX's memory you used:
9068 strings out of 493013
150361 string characters out of 6135682
572658 words of memory out of 5000000
12526 multiletter control sequences out of 15000+600000
9529 words of font info for 16 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
35i,4n,30p,825b,1060s stack positions out of 5000i,500n,10000p,200000b,80000s
{/usr/share/texmf/fonts/enc/dvips/lm/lm-rm.enc}</usr/share/texmf/fonts/type1/
public/lm/lmbx10.pfb></usr/share/texmf/fonts/type1/public/lm/lmr10.pfb>
Output written on skabelon.pdf (1 page, 46444 bytes).
PDF statistics:
17 PDF objects out of 1000 (max. 8388607)
11 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
Log 2:
LaTeX Warning: Empty bibliography on input line 16.
[1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./skabelon.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) skabelon
(biblatex) and rerun LaTeX afterwards.
Package logreq Info: Writing requests to 'skabelon.run.xml'.
\openout1 = `skabelon.run.xml'.
)
Here is how much of TeX's memory you used:
9068 strings out of 493013
150361 string characters out of 6135682
572658 words of memory out of 5000000
12526 multiletter control sequences out of 15000+600000
9529 words of font info for 16 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
35i,4n,30p,825b,1060s stack positions out of 5000i,500n,10000p,200000b,80000s
{/usr/share/texmf/fonts/enc/dvips/lm/lm-rm.enc}</usr/share/texmf/fonts/type1/
public/lm/lmbx10.pfb></usr/share/texmf/fonts/type1/public/lm/lmr10.pfb>
Output written on skabelon.pdf (1 page, 46444 bytes).
PDF statistics:
17 PDF objects out of 1000 (max. 8388607)
11 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
Log 3:
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) skabelon
(biblatex) and rerun LaTeX afterwards.
Package logreq Info: Writing requests to 'skabelon.run.xml'.
\openout1 = `skabelon.run.xml'.
)
Here is how much of TeX's memory you used:
9068 strings out of 493013
150361 string characters out of 6135682
572658 words of memory out of 5000000
12526 multiletter control sequences out of 15000+600000
9529 words of font info for 16 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
35i,4n,30p,825b,1060s stack positions out of 5000i,500n,10000p,200000b,80000s
{/usr/share/texmf/fonts/enc/dvips/lm/lm-rm.enc}</usr/share/texmf/fonts/type1/
public/lm/lmbx10.pfb></usr/share/texmf/fonts/type1/public/lm/lmr10.pfb>
Output written on skabelon.pdf (1 page, 46444 bytes).
PDF statistics:
17 PDF objects out of 1000 (max. 8388607)
11 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
Log 4:
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) skabelon
(biblatex) and rerun LaTeX afterwards.
Package logreq Info: Writing requests to 'skabelon.run.xml'.
\openout1 = `skabelon.run.xml'.
)
Here is how much of TeX's memory you used:
9068 strings out of 493013
150361 string characters out of 6135682
572658 words of memory out of 5000000
12526 multiletter control sequences out of 15000+600000
9529 words of font info for 16 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
35i,4n,30p,825b,1060s stack positions out of 5000i,500n,10000p,200000b,80000s
{/usr/share/texmf/fonts/enc/dvips/lm/lm-rm.enc}</usr/share/texmf/fonts/type1/
public/lm/lmbx10.pfb></usr/share/texmf/fonts/type1/public/lm/lmr10.pfb>
Output written on skabelon.pdf (1 page, 46444 bytes).
PDF statistics:
17 PDF objects out of 1000 (max. 8388607)
11 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
I have tried different approaches and have not got anything to work. I really hope some collective brainpower can help me get back on track :)

best regards, Michael

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

No data in \printbibliography

Post by Johannes_B »

The blg file, the log file of biber, is full of warnings and an error.
You need to fix those step by step first, before you can do any debugging on the LaTeX side.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
mcdk
Posts: 5
Joined: Mon Feb 15, 2016 2:08 pm

No data in \printbibliography

Post by mcdk »

Thank you for your reply - it helped cleaning up duplicates in the .bib file. However the duplicates was sorted on purpose in different folders- So for anyone else using Mendeley don't have duplicate entries, it did not work for me when using Biblatex and Biber.
Post Reply