I am trying to get running the example of Sharelatex. Though the output PDF I \printbibliography just won't do its job. I do get 3 errors as well, but I am unable to figure out how to solve this problem.
I use Ubuntu 15.10 amd64, TeXstudio 2.9.4, Texlive 1.2 (texliveonfly --version), XeTeX 3.14159265-2.6-0.99992 (xetex --version), BibTeX 0.99d (bibtex --version).
My files are text.tex and sample.bib and are listed below, as is my expected output and my real output.
How would I get the bibliography running?
text.tex:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{biblatex}
\addbibresource{sample.bib}
\begin{document}
Let's cite! The Einstein's journal paper \cite{einstein} and the Dirac's
book \cite{dirac} are physics related items.
\printbibliography
\end{document}
sample.bib:
@article{einstein,
author = "Albert Einstein",
title = "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
[{On} the electrodynamics of moving bodies]",
journal = "Annalen der Physik",
volume = "322",
number = "10",
pages = "891--921",
year = "1905",
DOI = "http://dx.doi.org/10.1002/andp.19053221004",
keywords = "physics"
}
@book{dirac,
title={The Principles of Quantum Mechanics},
author={Paul Adrien Maurice Dirac},
isbn={9780198520115},
series={International series of monographs on physics},
year={1981},
publisher={Clarendon Press},
keywords = {physics}
}
@online{knuthwebsite,
author = "Donald Knuth",
title = "Knuth: Computers and Typesetting",
url = "http://www-cs-faculty.stanford.edu/~uno/abcde.html",
keywords = "latex,knuth"
}
@inbook{knuth-fa,
author = "Donald E. Knuth",
title = "Fundamental Algorithms",
publisher = "Addison-Wesley",
year = "1973",
chapter = "1.2",
keywords = "knuth,programming"
}
expected output:
real output:
EDIT 1:
If I run bibtex directly through TexStudio, I get the following error:
This is BibTeX, Version 0.99d (TeX Live 2015/Debian)
The top-level auxiliary file: test.aux
I found no \citation commands---while reading file test.aux
I found no \bibdata command---while reading file test.aux
I found no \bibstyle command---while reading file test.aux
(There were 3 error messages)



latex, thenbiber(orbibtex), and thenlatexagain. – Adam Liter Nov 27 '15 at 16:55\usepackage{biblatex}) you need to run Biber and not BibTeX. See Biblatex with Biber: Configuring my editor to avoid undefined citations and Question mark instead of citation number. – moewe Nov 27 '15 at 17:04EDIT 1and posted the error when creating the bibliography. As everything should work fine, I assume that there is some software I still have to install in my Ubuntu 15.10 system. I tried out just to install everything Ubuntu has to offer in Texlive (basicallysudo apt-get install texlive*), but this didn't change the outcome. – Socrates Nov 27 '15 at 17:35sudo apt-get install biberas it wasn't on the system. Now everything works well as expected. Bibtex still doesn't work, but it's alright as long as there is another solution for it. Biber will do. Thanks a lot for the help! Very appreciated! – Socrates Nov 27 '15 at 22:20backendoption isbackend=biber(you can see that in the.logfile). If you want to use BibTeX you need to ask for it specifically withbackend=bibtex. (In order to be able to compile everything, you probably need to delete the temporary files after this change.) But since Biber offers superior features, working with Biber is the way forward. – moewe Nov 28 '15 at 07:37