It just does not work, no matter how I try. Currently I use
\bibliography{lit.bib}
before starting the document, then
\printbibliography{lit.bib}
before ending it. I can refer to entries in the bibliography just fine in text, the references will be made and named as they are in the bibliography, however the page on which I put the \printbib...
command simply says "lit.bib
"
What am I doing wrong?
I'm using pdflatex+makeindex+bibtex
Edit:
\documentclass[english,parskip=half]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{chngcntr}
\usepackage{babel}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage{graphicx}
\usepackage{csquotes}
\usepackage[output-decimal-marker={,},exponent-product=\cdot]{siunitx}
\usepackage{tabularx}
\usepackage{mathtools,amssymb}
\usepackage[section]{placeins}
%\def\fps@figure{htbp}
%\def\fps@table{htbp}
\usepackage[colorlinks=true,allcolors=black]{hyperref}
\bibliography{lit.bib}
\addbibresource{lit.bib}
\addto\extrasenglish{%
\def\subsectionautorefname{Abschnitt} von Unterabschnitt auf Abschnitt
\def\figureautorefname{Abb.}
}
\begin{document}
\begin{titlepage}
\centering
(Stuff from titlepage here)
\end{titlepage}
\tableofcontents
\clearpage
\input{chapter/Abstract}
\newpage
....(more chapters here
\printbibliography{lit.bib}
\end{document}
Edit Nr 2: Current code:
\documentclass[english,parskip=half]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{chngcntr}
\usepackage{babel}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage{graphicx}
\usepackage{csquotes}
\usepackage[output-decimal-marker={,},exponent-product=\cdot]{siunitx}
\usepackage[sorting=none]{biblatex}
\usepackage{tabularx}
\usepackage{mathtools,amssymb}
\usepackage[section]{placeins}
\usepackage[backend=bibtex]{biblatex}
%\def\fps@figure{htbp}
%\def\fps@table{htbp}
\usepackage[colorlinks=true,allcolors=black]{hyperref}
\addbibresource{lit.bib}
\addto\extrasenglish{%
\def\subsectionautorefname{Abschnitt}
\def\figureautorefname{Abb.}
}
\begin{document}
\begin{titlepage}
(content of title page here)
\end{titlepage}
\tableofcontents
(chapters here)
\nocite{*}
\printbibliography
\end{document}
Version nr 2 gives the error "option clash for package biblatex"
Best Answer
You are mixing commands form
bibtex
andbiblatex
. If you usebiblatex
(i.e.,\usepackage[...]{biblatex}
, then the first command should be\addbibresource{lit.bib}
and at the place where you want your bibliography to be printed, use\printbibliography
. Nowadays, the default engine isbiber
(instead ofbibtex
, so you want to usebibtex
you have to addbackend=bibtex
option to biblatex,\usepackage[backend=bibtex]{biblatex}
).If you do not use
biblatex
, then you should use\bibliographystyle{...}
and\bibliography{lit}
.