Change bibliography for book section.
In my bibliography, book sections are like this:
Hoyo, J. del, Collar, N. & Christie, D. A. 2020. Eurasian Three-toed Woodpecker (Picoides tridactylus), version 1.0., in Billerman, S. M., Keeney, B. K., Rodewald, P. G. & Schulenberg, T. S. (ed.) Birds of the World. Cornell Lab of Ornithology, Ithaca, NY, USA.
I need them to be like this, therefore no comma before 'In', the word 'In' in title case and a colon just after 'In'
Hoyo, J. del, Collar, N. & Christie, D. A. 2020. Eurasian Three-toed Woodpecker (Picoides tridactylus), version 1.0. In: Billerman, S. M., Keeney, B. K., Rodewald, P. G. & Schulenberg, T. S. (ed.) Birds of the World. Cornell Lab of Ornithology, Ithaca, NY, USA.
How can I edit the csl file so book section come out like lower example?
Hoyo, J. del, Collar, N. & Christie, D. A. 2020. Eurasian Three-toed Woodpecker (Picoides tridactylus), version 1.0., in Billerman, S. M., Keeney, B. K., Rodewald, P. G. & Schulenberg, T. S. (ed.) Birds of the World. Cornell Lab of Ornithology, Ithaca, NY, USA.
I need them to be like this, therefore no comma before 'In', the word 'In' in title case and a colon just after 'In'
Hoyo, J. del, Collar, N. & Christie, D. A. 2020. Eurasian Three-toed Woodpecker (Picoides tridactylus), version 1.0. In: Billerman, S. M., Keeney, B. K., Rodewald, P. G. & Schulenberg, T. S. (ed.) Birds of the World. Cornell Lab of Ornithology, Ithaca, NY, USA.
How can I edit the csl file so book section come out like lower example?
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<text macro="container-prefix" prefix=". " suffix=" "/>
<group delimiter=". ">
<names variable="container-author" delimiter=", ">
<label form="short" prefix=" (" suffix=")" plural="never"/>
</names>
<names variable="editor translator" delimiter=", ">
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")" plural="never"/>
</names>
</group>
</if>
</choose>
</macro>
<macro name="container-prefix">
<text term="in" text-case="capitalize-first"/>
</macro>
If this style is actually for a journal called British Birds, we'd welcome if you submitted to the repository so other users can profit from your work as well. Let us know.
Also, can I change 'ed.' to 'eds.' if there is more 1 editor?
<text macro="container-prefix" prefix=". " suffix=" "/>
to<text macro="container-prefix" prefix=". " suffix=": "/>
2. You need to set the editor label plural value from "never" to "contextual".
In this line:
'(eds.) Birds of the World'
I need a comma like this:
'(eds.), Birds of the World'
Do you know how I can do this? Just had a half hour altering various parts of the code without success.
'(eds.), Birds of the World'
I have tried adding a comma to the 'suffix' in various macros, but this does not seem to be having any effect.
Latest code: https://pastebin.com/T9QyiV0w
For book section, the bibliography entry looks like this:
Hoyo, J. del, Collar, N. & Christie, D. A. 2020. Eurasian Three-toed Woodpecker (Picoides tridactylus), version 1.0. In: Billerman, S. M., Keeney, B. K., Rodewald, P. G. & Schulenberg, T. S. (eds.) Birds of the World. Cornell Lab of Ornithology. Ithaca, NY, USA. [Retrieved from https://birdsoftheworld.org/bow/species/ettwoo1/cur/introduction?login#conserv on 15th December 2020].
But I need it to have a comma between (eds.) Birds of the World, like this:
Hoyo, J. del, Collar, N. & Christie, D. A. 2020. Eurasian Three-toed Woodpecker (Picoides tridactylus), version 1.0. In: Billerman, S. M., Keeney, B. K., Rodewald, P. G. & Schulenberg, T. S. (eds.), Birds of the World. Cornell Lab of Ornithology. Ithaca, NY, USA. [Retrieved from https://birdsoftheworld.org/bow/species/ettwoo1/cur/introduction?login#conserv on 15th December 2020].
Original code:
macro name="container-contributors"
choose
if type="chapter paper-conference" match="any"
text macro="container-prefix" prefix=". " suffix=": "/
group delimiter=". "
names variable="container-author" delimiter=", "
label form="short" prefix=" (" suffix=")" plural="contextual"/
/names
With suffix=", " added in second last line:
macro name="container-contributors"
choose
if type="chapter paper-conference" match="any"
text macro="container-prefix" prefix=". " suffix=": "/
group delimiter=". "
names variable="container-author" delimiter=", "
label form="short" prefix=" (" suffix=")" plural="contextual" suffix=", "/
/names
Also how do I make et al. in italics in the bibliography?
<text macro="container-contributors" suffix=","/>
You never answered if this style is actually for the journal British Birds. Chicago-based styles are inherently not beginner-friendly. If you are ok with it, I can go over the style and submit it to the repository for you.
Just following up here. Could you answer for which journal exactly (with a link) this is and if you're ok with me taking your code, refining and providing to all our user base and other researchers in the ornithology field?
I think my code will definitely need refining and I don't think it can be trusted. I didn't know what I was doing at all.