I am trying to show the bibliography in a LaTeX document. But \printbibliography
does nothing. I am using biblatex
with bibtex8
as backend. Here is the code:
\documentclass[liststotoc,bibtotoc,a4paper,12pt,parskip,final]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ae,aecompl}
\usepackage[ngerman]{babel}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage[babel,german=guillemets]{csquotes}
\usepackage[backend=bibtex8]{biblatex}
\usepackage{hyperref}
\usepackage[nolist]{acronym}
\usepackage[paper=a4paper,left=25mm,right=25mm,top=30mm,bottom=40mm,bindingoffset=1cm]{geometry}
\hbadness = 10000 % -> disable ``underfull \hbox'' warnings
\parindent 0pt % keine einrückung nach absätzen
\bibliography{literature}
\begin{document}
\frontmatter % keine kapitelnummern, römische seitenzahlen
\include{./texFiles/titelblatt}
\onehalfspacing
\tableofcontents
\listoffigures
% \include{./texFiles/abkuerzungsverzeichnis}
\mainmatter
\include{./texFiles/01_einleitung}
\include{./texFiles/02_grundlagen}
\include{./texFiles/03_konzept}
\frontmatter
\setcounter{page}{15} % seitenzahl counter auf 15 setzen
% \include{./texFiles/literaturverzeichnis}
\printbibliography
\end{document}
Any idea what the problem is?
Best Answer
Well, there are several problems in your code, some related to KOMA-Script, some to called, outdated packages.
Your code gives you several warnings you should read and then change your code like this:
Then you have the line
\usepackage{ae,aecompl}
calling two outdated packages. Do not use this packages any longer!If you use option
parskip
for classscrbook
, then you can delete the lineAt last you need to cite one or more bib entrys so that
biber
orbibtex
are able to build an bibliography. I added command\nocite{*}
and used the BibLaTeX example bib filebiblatex-example.bib
.And of course you have to be sure that the following order of program calls is done:
pdflatex mwe.tex
,bibtex mwe
orbiber
,pdflatex mwe.tex
,pdflatex mwe.tex
. If you have problems with the used editor (usually bad configuration) use a terminal or console and use the above given commands to create your document. If that runs, your TeX distribution is okay, and you can check the configuration of your editor ...Complete MWE with commented packages from your example, which are not needed to show your problem:
and the result:
If you change from BiBTeX to Biber, you have to change the backend for
biblatex
(change in linebackend=bibtex8, % bibtex8 biber
in my MWE=biblatex8
to=biber
) and you need to start program Biber instead of BiBTeX (see commands shown above).