[BioRuby] bibtex method in reference.rb
Toshiaki Katayama
ktym at hgc.jp
Thu May 26 09:04:18 EDT 2005
Hi Michael,
Thank you for your correction and sorry for the delay in responding.
I have committed your patch into the CVS.
Thanks,
Toshiaki Katayama
On 2005/05/23, at 23:51, Michael Han wrote:
> 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 <-------
>
> _______________________________________________
> BioRuby mailing list
> BioRuby at open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioruby
>
More information about the BioRuby
mailing list