Add period to end of last author (Biology Letters .bst)
I had an issue today where I wanted to create a custom .bst file for Biology Letters that would format as follows:
- Parmesan C, Yohe G. 2003 A globally coherent fingerprint of climate change impacts across natural systems. Nature 421, 37–42.
I was using makebst, incrementally editing my .dbj file, but I couldn’t seem to get that ‘.’ on the end of the author list to come out. The problem seemed to be some interaction between the default for blocks and authors.
My options for author were
So going with the default invoked (I think) this section of the .dbj file
Unfortunately the “else commas” up there means commas after the author block. So the combination above was producing
- Parmesan C, Yohe G, 2003 A globally coherent fingerprint of climate change impacts across natural systems. Nature 421, 37–42.
When I tried going for the default, i.e.
I was still getting a comma. I’m not sure what the openbib option is so that might have been the answer there.
Instead, my solution (if you can call it that) was to leave the punctuation between sections as default, and change the author section to
I then went into the .bst file and initially tried to replace all instances of ‘add.colon’ with ‘add.period’, but when that didn’t work, I found the ‘add.colon’ function and put a new ‘add.period’ function under it.
The .bst file now produced what I needed.
You can find the .bst files here: biologyletters.bst, biologyletters.dbj.