Editor label after year in the same parenthesis

I’m building a style (derived from APA) that requires that editor/translator labels be Included in the issued year parenthesis after a comma:

Hancke, Bob / Rhodes, Martin / Thatcher, Mark (2007, eds.).

I had no luck with adding a cs:names element like so:


<names variable="author">
<label form="short" prefix=", " text-case="title"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>


This would always print the author names and no labels at all.

I was more lucky with an if loop but that loop can not recognise if there are more than two editors so it always prints the singular form:


<choose>
<if variable="author" match="none">
<if variable="editor">
<text term="editor" form="short"/>
</if>
<else-if variable="translator">
<text term="translator" form="short"/>
</else-if>
</if>
</choose>
Sign In or Register to comment.