GeneralNatbib error

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Karl Conrad
Posts: 2
Joined: Tue Jun 02, 2009 12:12 pm

Natbib error

Post by Karl Conrad »

Hello,

I am trying to write my Bachelor thesis in LaTex and spent the weekend to configure a master file for this purpose. It all works pretty good, except for the natbib package. For some reason the package tells me that my bibliography is not compatible with author-year citations. I tried a couple of fixes, among others one which was suggested in a previous post in this board (replacing the 2009 version of the package with the 2007 version). However, nothing seems to work. This community is thus my last hope ;). The details are as follows:

- Jabref bibliography, giving me the following bib.bib file:

% This file was created with JabRef 2.4.2.
% Encoding: Cp1252

@BOOK{Merz1994,
AUTHOR = {Merz, Heinz},
YEAR = {1994},
TITLE = {Berater und Mittler bei Unternehmensverkäufen und Fusionen},
PUBLISHER = {Rainer Hampp Verlag},
OWNER = {User},
TIMESTAMP = {2009.06.01}
}

- Masterfile code:

% Header / declarations
\input{extras/header}

% Glossary <-----Not part of the original master file
\usepackage[style=list,toc=true,hyper=true,number=none,acronym=true]{glossary}
\makeglossary

% Natbib package <-----Not part of the original master file
\usepackage[authoryear,round]{natbib}


\begin{document}

% Pagenumbering, roman
\pagenumbering{Roman}

% Title
\input{extras/titelseite}

% Verzeichnisse
% Kopfzeile links Kapitel, rechts leer
\ihead{\leftmark}
\ohead{}
\input{extras/verzeichnisse}

% Merke mir die römische Seitenzahl in 'roemisch' und setzte Nummeriernung
% auf arabisch für die eigentlichen Kapitel
\newpage
\newcounter{roemisch}
\setcounter{roemisch}{\value{page}}
\newpage

\pagenumbering{arabic}
\renewcommand{\chaptername}{} % uncomment to print only "1" not "Chapter 1"

% Die einzelnen Kapitel
% Kopfzeile: links Kapitel, rechts Sektion
\ihead{\leftmark}
\ohead{\rightmark}
\input{kapitel/1}
\input{kapitel/2}
\input{kapitel/Beispiele}
%\input{kapitel/kapitel4}

% Setze Numerierung wieder auf römisch zurück und setzte von oben fort
% Wert ist demnach der von 'roemisch'
\newpage
\pagenumbering{Roman}
\setcounter{page}{\value{roemisch}}

% Literaturverzeichnis (Literatur is the German word for literature, thus there is no spelling mistake)
\bibliography{literatur/bib}

% Appendix, falls vorhanden
\appendix
\input{extras/anhang}

% Eidesstattliche Erklärung
\input{extras/eidesstattliche}

\end{document}

I would be extremly grateful for any suggestions on how to deal with this problem. As you may see from the above, I have close to no LaTex experience and may have made stupid mistakes.

Thank you very much in advance!

Regards,
Karl

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Karl Conrad
Posts: 2
Joined: Tue Jun 02, 2009 12:12 pm

Natbib error

Post by Karl Conrad »

Update: I just looked into my .aux file and it gives me the following line for my citation:

\bibcite{Merz1994}{{1}{}{{}}{{}}}

Shouldn't it feature additional data like Author, Year, etc.? I am not sure whether this additional piece of information is useful. Once more; Help would be very much appreciated!

Regards,
Karl
Post Reply