Hi!
I've the following problem:
I'd like to list my references with natbib and authordate, like:
Author, date, ...
So I chose:
> Settings > Bibliography Settings > "Use NatBib"
> "Cite Style: Author-year".
and:
Insert > Citation Reference > Citation style: "Name-year".
However I am still getting brackets and numbers, like
[1] Author, date, ...
I am using the documentclass elsevier article.
I added a .tex file which contains an extraction of my article settings (see below).
I already recognized that \usepackage[authoryear]{natbib} doesn't show up in the .tex file.
So I added that line in the preamble. Unfortunately I am getting the message:
LaTeX Error: Option clash for package natbib.
discription:
\usepackage
{multicol}
The package natbib has already been loaded with options:
[numbers]
There has now been an attempt to load it with options
[authoryear]
Adding the global options:
numbers,authoryear
to your \documentclass declaration may fix this.
Try typing <return> to proceed.
Well I don't know how to add those global options to a lyx documentclass..
I am using the ecology.bst file from Patrick W. Daly
Thank you in advance!
rb
BibTeX, biblatex and biber ⇒ natbib authoryear - problem in Lyx
natbib authoryear - problem in Lyx
- Attachments
-
- bug1.tex
- Tex file
- (1.23 KiB) Downloaded 636 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: natbib authoryear - problem in Lyx
Got it!
I just had to add "\bibpunct{(}{)}{,}{a}{,}{,}" in the preamble.
Thanks anyway.
rb
I just had to add "\bibpunct{(}{)}{,}{a}{,}{,}" in the preamble.
Thanks anyway.
rb
Re: natbib authoryear - problem in Lyx
This was very useful for me, thanks!