My guess would be that the bibliography style expects years to be four characters long, so you're losing the first character. But the solution is simple: In the .bib file, you can just have both papers be "2005". BibTeX will sort out the "a" and "b" for you automagically.
Richard Bruce Pourciau wrote: > Sorry about the title of this email: this is far less sensational than > the Wendy's finger in the chili episode. > > A certain author had two papers appear in 2005; so I dated them 2005a > and 2005b. That seemed to work just fine. But after revising my LyX > file -- including a change of .bib file, but the new .bib file has the > same 2005a, 2005b references -- the citations now appear as 005a and > 005b. Where, oh where, has my digit 2 gone? > > I used the apalike bib style before and after revision. Other bib > styles seem to be OK. > > In the references, I see, for example, > > [Smith, 005a] Smith, B. (2005a) blah blah > > In the text, I get > > [Smith, 005a, p. 10] > > Any thoughts? > > Bruce