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.

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}

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:

bla bla \citep{Keiser2005,Keiser2005b} bla bla



Any help would be greatly appreciated!

  • 1
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Do you know what bibliography style you use? Is it compatible with natbib? Have you processed the document itself 3 times after running bibtex (this is important, it's not 2 times, it's 3 times for natbib)? I'm not sure how does all this work in LyX, but these are the typical problems people have with natbib in LaTeX... – yo' Mar 17 '15 at 9:41
  • @yo' Thanks for your suggestion but it doesn't seem to be the problem. I have edited the question a little bit so that it contains a hopefully proper example. – Robbie Mar 17 '15 at 11:18

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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.