I am trying to submit to the Oxford Bioinformatics journal. However, I can't get the referencing style to remove the comma after the year.
Basically, it's producing:
Hucka,M. et al. (2003), The systems biology markup language (SBML): a medium for representation and exchange of biochemical network models. Bioinformatics, 19, 524–531.
I want:
Hucka,M. et al. (2003) The systems biology markup language (SBML): a medium for representation and exchange of biochemical network models. Bioinformatics, 19, 524–531.
I've been trying to changing the .bst file to achieve this. This is what I have right now. I'm including all the parts I know of are relevant, but if I'm missing anything vital information please let me know and I'll add it.
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
author format.key output
format.date "year" output.check
format.title "title" output.check
new.block
crossref missing$
{
journal
"journal" bibinfo.check
emphasize
"journal" output.check
format.vol.num.pages output
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
new.block
format.note output
fin.entry
}
FUNCTION {format.date}
{ year "year" bibinfo.check duplicate$ empty$
{
"empty year in " cite$ * "; set to ????" * warning$
pop$ "????"
}
'skip$
if$
extra.label *
before.all 'output.state :=
" (" swap$ * ")" *
}
FUNCTION {output.check}
{ 't :=
duplicate$ empty$
{ pop$ "empty " t * " in " * cite$ * warning$ }
'output.nonnull
if$
}
Example bib file entry:
@article{Hucka2003,
author = {Hucka, M. and Finney, a. and Sauro, H. M. and Bolouri, H. and Doyle, J. C. and Kitano, H. and Arkin, a. P. and Bornstein, B. J. and Bray, D. and Cornish-Bowden, a. and Cuellar, a. a. and Dronov, S. and Gilles, E. D. and Ginkel, M. and Gor, V. and Goryanin, I. I. and Hedley, W. J. and Hodgman, T. C. and Hofmeyr, J.-H. and Hunter, P. J. and Juty, N. S. and Kasberger, J. L. and Kremling, a. and Kummer, U. and {Le Novere}, N. and Loew, L. M. and Lucio, D. and Mendes, P. and Minch, E. and Mjolsness, E. D. and Nakayama, Y. and Nelson, M. R. and Nielsen, P. F. and Sakurada, T. and Schaff, J. C. and Shapiro, B. E. and Shimizu, T. S. and Spence, H. D. and Stelling, J. and Takahashi, K. and Tomita, M. and Wagner, J. and Wang, J.},
doi = {10.1093/bioinformatics/btg015},
issn = {1367-4803},
journal = {Bioinformatics},
month = {mar},
number = {4},
pages = {524--531},
title = {{The systems biology markup language (SBML): a medium for representation and exchange of biochemical network models}},
url = {http://bioinformatics.oxfordjournals.org/cgi/doi/10.1093/bioinformatics/btg015} ,
volume = {19},
year = {2003}
}
Apologies for asking another similar question, but I have read the following already and it hasn't solved my problem. So please don't mark this as a duplicate.
remove the dot after the year with natbib - This did not work for me.
remove comma between address/publisher and year and after parentheses - This is the inverse of my problem and I couldn't modify the solution for my needs.
Remove punctuation (comma) after year - The suggested solution throws an error ! LaTeX Error: \labelnamepunct undefined.
I have also tried this style sheet and it doesn't produce the required format: https://schneider.ncifcrf.gov/ftp/bioinformatics.bst
Thanks!
.bst
file you are trying to modify and provide an example of the.bib
file entry.