Am Thursday, 15. August 2013, 15:18:04 schrieb Richard Heck:
> On 08/15/2013 06:47 AM, Wolfgang Engelmann wrote:
> > I get this error:
> > 
> > ! Package natbib Error: Bibliography not compatible with author-year
> > citations.
> > 
> > Check the bibliography entries for non-compliant syntax,
> > 
> > or select author-year BibTeX style, e.g. plainnat
> > 
> > Where do I choose the proposed style?
> 
> The style is chosen from a dialog you will get if you click on the
> bibliography inset itself.

Thanks, Richard. 

If I choose vancouver (which is shown in the dropdown dialog) 

I get:
##########
I'm skipping whatever remI'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :          {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
ains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :          {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
###########

and the references in the pdf output are shown as ???

What have I done wrongly? Do I have to remove the .aux file first, because 
lyx might have taken an older aux file? And where would I find this aux-file?

If I export the document as .tex and run latex on it 3 times and afterward 
bibtex, I get:

############

This is BibTeX, Version 0.99d (TeX Live 2012)
The top-level auxiliary file: PBR-20130815A.20.aux
I couldn't open style file srtnat.bst
---line 19 of file PBR-20130815A.20.aux
 : \bibstyle{srtnat
 :                 }
############
this is strange, I tried srtnat before, but in the current run used 
vancouver
############
continued error output:
I'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
 : \bibstyle
 :          {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux


Wolfgang

Reply via email to