4

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"

Bernard
  • 271,350
  • Welcome to TeX SX! A minimal (non)working example would help to help. Dib you run bibtex or biber? The normal cycle is pdflatex -> bibtex/biber -> pdflatex -> pdflatex. It seems that you use biblatex. In such a case, you should add to your preamble: \addbibresource{lit.bib} rather than \bibliography, and simply write printbibliography (no argument \ tat's why you find ‘lit.bib’ in your .pdf)). – Bernard May 24 '15 at 18:53
  • I just tried out the cycle you described and nothing changed, although I also did not get any error messages so it appears to compile "correctly" – user78853 May 24 '15 at 18:57
  • What does the .blg file say? – Bernard May 24 '15 at 18:58
  • There is no .blg file ?! – user78853 May 24 '15 at 19:02
  • Looks like you are failing to run Biber, which is the standard 'back-end' for biblatex. 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
  • These tell me to access the .blg file which I don't have and 2. mention non-working citations, however my citations work.
  • – user78853 May 24 '15 at 19:12