[Tex/LaTex] LyX says apalike isn’t compatible with author-year

apa-stylelyxnatbib

I am pretty new to LyX, and have no expirience with LaTeX. I'm writing my master's thesis in LyX, though, and I'm supposed to turn it in in a week. I want my bibliography to be "apa-ish", and have set the bibliography style to apalike.

The problem is, when i try to export my document to pdf format, I get an error message saying
Package natbib Error: Bibliography not compatible with author-year citations.

What's wrong?

I'm using Jabref to organice my references, by the way, but i doubt that has got anything to do with it.

Edit: I should probably add that I do not face any such problems when using author-year citations with the plainnat bibliography style.

Best Answer

It seems the solution this time was to simply remove the bibliography from my table of contents, then save and close LyX, then open the document again and reinsert the bibliography, before saving, closing and opening the document once more. I have no idea why it worked, though.

Related Question