[BioRuby] bibtex method in reference.rb

Michael Han m.han at gsf.de
Mon May 23 10:51:52 EDT 2005


I got some problems with the bibtex output from reference.rb:
it puts commas between all but the last authors in the bibtex format 
which makes bibtex complain a lot :-(

If i understand it correctly, it should place ' and ' between the 
authors
something like:
Author = {Imanishi, T. and Itoh, T. and Suzuki, Y. and O'Donovan, C. 
and Fukuchi, S. and Koyanagi, K.}
instead it does now:
Author = {Imanishi, T., Itoh, T., Suzuki, Y., O'Donovan, C., Fukuchi, 
S. and Koyanagi, K.}
which makes BibTex complain about too many commas in the author list. 
(BibTeX 0.99c from fink)

As far as i can see, a small change in the references.rb definition of 
the bibtex method fixes the thing.

Could you check if i missed something?

thanks in advance,

Michael Han

------------> references.rb <-------
120c120
<       authors = authors_join(' and ')
---
 >       authors = authors_join(' and ',' and ')
------------> references.rb <-------



More information about the BioRuby mailing list