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"
bibtexorbiber? The normal cycle ispdflatex -> bibtex/biber -> pdflatex -> pdflatex. It seems that you usebiblatex. In such a case, you should add to your preamble:\addbibresource{lit.bib}rather than\bibliography, and simply writeprintbibliography(no argument \ tat's why you find ‘lit.bib’ in your .pdf)). – Bernard May 24 '15 at 18:53.blgfile say? – Bernard May 24 '15 at 18:58biblatex. See for example http://tex.stackexchange.com/questions/63852/question-mark-instead-of-citation-number and http://tex.stackexchange.com/questions/154751/biblatex-with-biber-configuring-my-editor-to-avoid-undefined-citations for some guidance. – Joseph Wright May 24 '15 at 19:04