Hi Bernd,
I'm not sure about what you're trying to do. The file you sent has
basically no content, let alone citations. There is only one word,
"LyX". There are no citations of any kind.
Second, the \addbibresource command in the preamble should include the
absolute path to the bib file, even if it is in the same directory as
the lyx file It works as it is in the your document because the bib
file is in a standard TeX location. This is not usually the case though).
Third, I am not sure if you want to use natbib. You did select the
natbib option in the settings, but you did not load the biblatex
module, nor did you indicate to biblatex that you want to use a
natbib-like style. You need to add the natbib=true option when you
load biblatex.
I added a couple of citations to your document, modified the biblatex
loading command, and added the biblatex module. The file compiles as
expected, it seems to me (see enclosed).
Or were you trying to cite all the references in the
biblatex-example.bib file in one single swoop? In that case, you
should add the command \nocite{*} in ERT in your document (I put it in
a LyX note, if you want to try it)
Cheers,
Stefano
Dear Stefano,
Thank you very much. Yes, \nocite{*} did the trick! I'm sorry I was not
clear what I wanted to do.
Do I need to say natbib=true? Because I said so already in my preferences.
Regards,
Bernd