[texhax] bibtex : multiple entries a year for the same first author

Dan Hatton vi5u0-texhax at yahoo.co.uk
Mon Jul 24 14:05:36 CEST 2006


On Sat, 22 Jul 2006, H V wrote:

>  I use the attached .bst and .sty files.
>  When I use 2 references with the same authors, the same year (like
>  Jones, Smith and Poirot 2006a
>  and
>  Jones, Smith and Poirot 2006b
>  ), I have correct extra labels "a" and "b".
>  But if some authors change, with the same first author  (like
>  Jones, Smith and Poirot 2005
>  and
>  Jones, Poirot and Smith 2005
> and
> Jones, Smith and Müller 2005
> ), the reference in the text will be Jones et al (2005) for all papers. I'd rather have Jones et al (2005a), Jones et al (2005b) etc...
>  Where is this controlled ?

I haven't been able to track down exactly where it's controlled, but
there must be components of it in both the .bst file (to put the
letters on the end of the year in the bibliography) and the .sty file
(to put the letters on the end of the year in the citations in the
text.)

However, ref_biblio's ancestor, apalike (which also has both a .bst
file and a .sty file) does the citations the way you want. (You'll
need to use the command \cite instead of \shortcite.)

-- 

HTH,

Dan Hatton

<http://www.bib.hatton.btinternet.co.uk/dan/>


More information about the texhax mailing list