Bioconductor / BiocStyle

Issues and pull requests for BiocStyle should go here.
12 stars 19 forks source link

extra comma after the second last author while inserting multiple authors #100

Closed luwanglw425 closed 1 year ago

luwanglw425 commented 1 year ago

hi there, just noticed that there is an extra comma after the second last author while you have multiple authors, is it possible to remove that? I've noticed the same thing with the title for biocstyle manual too. Thanks!

Screen Shot 2022-08-04 at 10 02 11 am
almahmoud commented 1 year ago

I think it’s generally advised to have the serial/Oxford comma, especially as it is standard in many citation formats afaik. I suppose it could be a feature request to toggle it off by choice, but it’s generally correct to have it I think https://en.wikipedia.org/wiki/Serial_comma

hpages commented 1 year ago

Oh thanks for putting a name on this @almahmoud (Oxford comma) and for providing the link! A couple of years ago I started to use the Oxford comma quite systematically in my own documentation (e.g. https://github.com/Bioconductor/SparseArray/blob/a8723c69ad45a3cf37ed57ffa713354cfb914d0a/man/COO_SparseArray-class.Rd#L66) but was not sure if this was actually considered correct. And I had no idea how to Google it. I feel good now :wink: