Bibliography - Removing delimiters on empty fields

edited March 5, 2018
Hi there

I'm slowly creating my own CSL style for my university based on the Monash University - Harvard one. I've got it working good enough for now, but one thing that's bugging me is the bibliography. For certain citations, it will print delimiters for an empty field in the bibliography. For example:

McFarlane, James 1976, ‘The mind of modernism’, in M. Bradbury & J. McFarlane (eds), Modernism, , pp. 71–93, Penguin.

As you can see, after 'Modernism' and before the page range, there is an extra comma. I can't figure out how to get it to not print that when it's not needed. Here's the bibliography section of the CSL:

<bibliography et-al-use-last="true" entry-spacing="0" line-spacing="2" hanging-indent="true" subsequent-author-substitute="_____">
<key macro="author"/>
<key macro="issued-sort" sort="ascending"/>
<key macro="title"/>
<group delimiter=", ">
<group delimiter=" ">
<text macro="author"/>
<text macro="issued" suffix=","/>
<text macro="title-plus-extra" suffix=", "/>
<text macro="container"/>
<text macro="legal-cites"/>
<text macro="locators"/>
<group delimiter=", ">
<text macro="event"/>
<text macro="publisher" suffix="."/>
<text macro="access" prefix=". "/>
<text macro="original-date" prefix=" "/>

Can anyone give me some pointers?
Sign In or Register to comment.