npierre wrote:
Hi All,
   I forgot to mention that I'm using Lyx 1.5.6.
   I'm new to Lyx. I'm using the elsevier document class - elsart.cls.
It comes with Lyx so I didn't have to download any files. I checked and
the elsart files all seem to be there, as is the natbib package and
plainnat.bst. For the last two days I have been trying to get Lyx to
produce author-year citations. I went to document>settings>bibliography
and selected natbib and author-year. Here's an example.

Anderson, R. and D. Reeb. "Board Composition: Balancing Family Influence
in S&P 500 Firms", Working Paper, August, 2004

In the Bibliograhy Entry Settings dialog

board_comp -> Key
Anderson et al. (2004) -> Label

In the Citation dialog I ADD board_comp and choose Anderson et al.
(2004) as my Citation style. But when I run the .dvi file, the citation
is a number instead of author-year.    I've even tried adding natbib
commands to the preamble, but no luck.  I'm at my wit's end. Any help
would be greatly appreciated.



I think you're mixing apples and oranges here. Natbib is designed to work with BibTeX, which means your references have to be in a BibTeX "database" file (.bib) and you have to use Insert -> List -> BibTeX bibliography to select the .bib file, rather than using the Bibliography environment to insert references directly into the document.

/Paul

Reply via email to