[Tex/LaTex] Natbib doesn’t add a’s and b’s to same-author-same-year references

bibtexlyxnatbib

I am using natbib with bibtex8 in lyx to get my references sorted. It all seems to work fine except that natbib does not properly deal with "same-author-same-year" references. Rather than giving me: (Keiser 2005a,b) it gives me (Keiser 2005,?).

I am using a custom *.bst file, so I think that the problem might be in the bst file which can be downloaded from here. An example of my *.bib items is given below.

@article{Keiser2005b,
author = {Keiser, Jennifer and Maltese, Michael F and Erlanger, Tobias E and Bos, Robert and Tanner, Marcel and Singer, Burton H and Utzinger, Jurg},
journal = {Acta Tropica},
number = {1},
pages = {40--57},
title = {{Effect of irrigated rice agriculture on Japanese encephalitis, including challenges and opportunities for integrated vector management.}},
volume = {95},
year = {2005}
}

@article{Keiser2005,
author = {Keiser, Jennifer and Singer, Burton H and Utzinger, Jurg},
journal = {The Lancet infectious diseases},
number = {11},
pages = {695--708},
title = {{Reducing the burden of malaria in different eco-epidemiological settings with environmental management: a systematic review}},
volume = {5},
year = {2005}
}

Here is an example that generates the problem:

\documentclass[british]{report}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=1.5in,bmargin=1.4in,lmargin=1.5in,rmargin=1in}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setcounter{secnumdepth}{0}
\setcounter{tocdepth}{3}
\setlength{\parindent}{1.5cm}
\usepackage[authoryear]{natbib}
\usepackage{babel}
\begin{document}
bla bla \citep{Keiser2005,Keiser2005b} bla bla

\bibliographystyle{Naresuan_style_nat}
\bibliography{library.bib}

\end{document}

Any help would be greatly appreciated!

Best Answer

The problem appeared to be in the bst file that was created using bib-it, which is an outdated software. Hence, it does not work properly for the newest version of natbib. It seems to be the same problem as that occurs when using the standard chicago.bst style file. In order to solve the problems with the chicago.bst one can apparently add

\usepackage{chicago}

to the preamble. This did't really solve the issue with the custom bst file, because not all the functions in both bst files are named the same. I re-created the bst file using makebst instead of bib-it and everything seems to be okay now.