citeproc-0.10: test/extra/issue_159.txt
>>===== MODE =====>>
bibliography
<<===== MODE =====<<
>>===== RESULT =====>>
<div class="csl-bib-body">
<div class="csl-entry">Isabelle Ferreras, Julie Battilana, Dominique Méda</div>
</div>
<<===== RESULT =====<<
>>===== CSL =====>>
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0">
<info>
<title>Names substitution test</title>
<id>http://www.zotero.org/styles/names-substitution</id>
<updated>2025-07-08T00:00:00+00:00</updated>
</info>
<macro name="author">
<names variable="author">
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="author-conditional">
<names variable="author">
<substitute>
<choose>
<if match="none" type="standard">
<names variable="editor"/>
<names variable="translator"/>
</if>
</choose>
</substitute>
</names>
</macro>
<citation>
<text macro="author"/>
<layout>
</layout>
</citation>
<bibliography>
<layout>
<text macro="author-conditional"/>
</layout>
</bibliography>
</style>
<<===== CSL =====<<
>>===== CITATION-ITEMS =====>>
[ [ {"id":"FerrerasDemocratizeWorkCase2022"} ] ]
<<===== CITATION-ITEMS =====<<
>>===== INPUT =====>>
[
{
"ISBN": "978-0-226-81962-4 978-0-226-81963-1",
"citation-key": "FerrerasDemocratizeWorkCase2022",
"editor": [
{
"family": "Ferreras",
"given": "Isabelle"
},
{
"family": "Battilana",
"given": "Julie"
},
{
"family": "Méda",
"given": "Dominique"
}
],
"id": "FerrerasDemocratizeWorkCase2022",
"issued": {
"date-parts": [
[
2022
]
]
},
"language": "en",
"publisher": "University of Chicago Press",
"publisher-place": "Chicago",
"title": "Democratize work: the case for reorganizing the economy",
"title-short": "Democratize work",
"translator": [
{
"family": "Richmond Mouillot",
"given": "Miranda"
}
],
"type": "book"
}
]
<<===== INPUT =====<<
>>===== VERSION =====>>
1.0
<<===== VERSION =====<<