On Fri, May 05, 2006 at 01:53:22PM +0200, Martin A. Hansen wrote:
> hello
> 
> i am doing a bst file for "genome research" using natbib and makebst.
> 
> i have the reference list in perfect order (as far as i can see).
> 
> now, the in-text citation style has an excess comma:
> 
> (Hansen et al., 2005) should be (Hansen et al. 2005)
> 
> how to fix this?

Hi Martin,

If you click on the citation and from the "Citation style" dropdown you should 
be able to choose the appropriate one?  If not then you might have to muck 
around with the document preamble and add a bibpunct command something like as 
follows:

\bibpunct[:]{(}{)}{}{a}{}{}

In order the arguments are:
1. optional.  character preceding post-note (default , ) 
2. mandatory. opening bracket symbol
3. mandatory. closing bracket symbol
4. mandatory. punctuation between multiple citations (default ;)
5. mandatory. style (n, numerical), (s, numerical super), (a, author-year)
6. mandatory. punctuation bt authorname and year (default ,)
7. mandatory. punct. bt. years/numbers when common author list suppressed 
(default ,) 

Argument #6 seems like the one that you are concerned with.
It /may/ be possible to effect the change you want by clicking on a citation 
label in LyX and choosing one of the drop-down styles.  But the above is a 
definite way to do it across the whole document.

See the natbib documentation pg.10 natbib.dvi for further details.

HTH,
Oisin

Reply via email to