Hallo,
ich verwende MikTex und TexStudio und möchte ein Literaturverzeichnis in meine Arbeit einfügen. Ich habe das Beispiel eines Tutorials in mein Minimalbeispiel eingefügt um es auszuprobieren. Meine gewünschte zitierweise sieht so aus:
"\citet{petz08} --> Petz (2008)"
Ich bekomme jedoch folgenden Fehler:
"Package natbib Error: Bibliography not compatible with author-year citations ...mmand\NAT@force@numbers{}\NAT@force@numbers"
Außerdem folgende Warnung:
"Author undefined for citation`b1' (natbib) on page 1"
Was mache ich falsch?.
\documentclass[12pt,a4paper,fleqn]{scrreprt}
\usepackage{natbib}
\begin{document}
\chapter{Erstes Kapitel}
It was shown in \citet{petz08} ...
\bibliographystyle{plaindin}
\bibliography{Literatur}
\end{document}
Meine Literatur.bib Datei sieht so aus:
@Book{petz08,
author = {Dude Petz},
title = {Quantum Information Theory and Statistics},
publisher = {Springer},
year = 2008
}