BibTeX, biblatex and biberBibliography conflict with author-year citations

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Bibliography conflict with author-year citations

Post by svend_tveskaeg »

Hi all.

First of all: I have never used BibTeX (or any other LaTeX bibliography tool) before, so sorry if the following question is stupid.

Consider the following document:

Code: Select all

\documentclass{article}
\usepackage{natbib}

\begin{document}

Test: \cite{klafki}

\bibliographystyle{chicago}

\begin{thebibliography}{Klafki}
\bibitem[Klafki]{klafki}
Klafki, Wolfgang:
\newblock {\em Neue Studien zur Bildungstheorie und Didaktik}.

\end{thebibliography}

\end{document}
If I compile the document via latex test.tex, I get the following error message:

Code: Select all

! Package natbib Error: Bibliography not compatible with author-year citations.
What do I have to do i order to get rid of this error?

Thank you in advance!
Attachments
test.log
The log file I get when compiling via latex.
(2.56 KiB) Downloaded 140 times
Last edited by svend_tveskaeg on Wed Mar 23, 2011 9:28 pm, edited 1 time in total.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bibliography conflict with author-year citations

Post by localghost »

svend_tveskaeg wrote:[…] What do I have to do i order to get rid of this error? […]
Choose another bibliography style or try biblatex instead.


Thorsten
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Bibliography conflict with author-year citations

Post by svend_tveskaeg »

I have tried using the apalike style but I get the same error.

If someone will take their time to modify the example above so that it works (i.e., compiles properly), I will be very happy. Then I can play around with it in order to (try to) learn how to make bibliographies in LaTeX.

Thank you in advance!

PS. If I have understood it correctly, I have to compile via latex --> bibtex --> latex --> latex (or pdflatex --> bibtex --> pdflatex --> pdflatex if I want a PDF file) but I cannot get past the first (pdf)latex compilation.
Is this the case?
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
Post Reply