citeproc-0.1: test/csl/disambiguate_SetsOfNames.txt
>>===== MODE =====>>
citation
<<===== MODE =====<<
Test a combination reported by Zotero user @gauthamg, 2012-03-12
>>===== RESULT =====>>
(Ely, Gautam, et al. 2001; Ely, Inouye, et al. 2001; Ely, Margolin, et al. 2001)
<<===== RESULT =====<<
>>===== CSL =====>>
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>Harvard Reference format 3</title>
<id>http://www.zotero.org/styles/harvard3</id>
<link href="http://www.zotero.org/styles/harvard3" rel="self"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<category citation-format="author-date"/>
<category field="generic-base"/>
<updated>2012-01-01T00:00:00+00:00</updated>
<summary>The Australian version of the Harvard author-date style</summary>
<link href="http://www.lib.monash.edu.au/tutorials/citing/harvard.html" rel="documentation"/>
<link href="http://www.swinburne.edu.au/lib/researchhelp/harvard_system.htm" rel="documentation"/>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<locale xml:lang="en-GB">
<terms>
<term name="editor" form="short">
<single>ed.</single>
<multiple>eds</multiple>
</term>
</terms>
</locale>
<macro name="editor">
<group delimiter=" ">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in"/>
</if>
</choose>
<names variable="editor" delimiter=", " suffix=",">
<name and="symbol" initialize-with="" delimiter=", " delimiter-precedes-last="never"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</group>
</macro>
<macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="" delimiter=", " delimiter-precedes-last="never"/>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="bill book thesis graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</if>
<else>
<text term="no date" form="short"/>
<text variable="year-suffix"/>
</else>
</choose>
</macro>
<macro name="locators-journal">
<choose>
<if type="article-journal article-magazine" match="any">
<group delimiter=", ">
<text variable="volume" prefix="vol. "/>
<text variable="issue" prefix="no. "/>
</group>
</if>
<else-if type="article-newspaper">
<date variable="issued" delimiter=" ">
<date-part name="day"/>
<date-part name="month"/>
</date>
<text variable="year-suffix"/>
</else-if>
</choose>
</macro>
<macro name="pages">
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" strip-periods="true"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if variable="URL">
<text value="viewed"/>
<group prefix=" " delimiter=", ">
<date variable="accessed" delimiter=" ">
<date-part name="day"/>
<date-part name="month" suffix=","/>
<date-part name="year"/>
</date>
<text variable="URL" prefix="<" suffix=">"/>
</group>
</if>
</choose>
</macro>
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year" givenname-disambiguation-rule="by-cite">
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<group delimiter=" ">
<label variable="locator" plural="never" form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography hanging-indent="true">
<sort>
<key macro="author"/>
<key variable="title"/>
</sort>
<layout suffix=".">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author"/>
<text macro="year-date"/>
</group>
<text macro="title"/>
<group delimiter=" ">
<text macro="editor"/>
<text variable="container-title" font-style="italic"/>
</group>
<text macro="locators-journal"/>
<text macro="edition"/>
<text variable="genre"/>
<text macro="publisher"/>
<text macro="pages"/>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>
<<===== CSL =====<<
>>===== INPUT =====>>
[
{
"DOI": "10.1007/s00134-001-1132-2",
"URL": "http://www.ncbi.nlm.nih.gov/pubmed/11797025",
"author": [
{
"family": "Ely",
"given": "E W"
},
{
"family": "Gautam",
"given": "S"
},
{
"family": "Margolin",
"given": "R"
},
{
"family": "Francis",
"given": "J"
}
],
"container-title": "Intensive Care Medicine",
"id": 15892,
"issue": "12",
"issued": {
"date-parts": [
[
"2001",
12
]
]
},
"key": "CX6579SQ",
"note": "PMID: 11797025",
"page": "1892–1900",
"title": "The impact of delirium in the intensive care unit on hospital length of stay",
"type": "article-journal",
"volume": "27"
},
{
"DOI": "10.1001/jama.286.21.2703",
"URL": "http://jama.ama-assn.org/content/286/21/2703.abstract",
"author": [
{
"family": "Ely",
"given": "E W"
},
{
"family": "Inouye",
"given": "Sharon K."
},
{
"family": "Bernard",
"given": "Gordon R."
},
{
"family": "Gordon",
"given": "Sharon"
}
],
"container-title": "JAMA: The Journal of the American Medical Association",
"id": 15893,
"issue": "21",
"issued": {
"date-parts": [
[
"2001",
12
]
]
},
"key": "VKWUI22E",
"page": "2703 –2710",
"title": "Delirium in Mechanically Ventilated Patients",
"type": "article-journal",
"volume": "286"
},
{
"URL": "http://www.ncbi.nlm.nih.gov/pubmed/11445689",
"author": [
{
"family": "Ely",
"given": "E W"
},
{
"family": "Margolin",
"given": "R"
},
{
"family": "Francis",
"given": "J"
},
{
"family": "May",
"given": "L"
}
],
"container-title": "Critical Care Medicine",
"id": 15894,
"issue": "7",
"issued": {
"date-parts": [
[
"2001",
7
]
]
},
"key": "9E5QVF4E",
"note": "PMID: 11445689",
"page": "1370–1379",
"title": "Evaluation of delirium in critically ill patients: validation of the Confusion Assessment Method for the Intensive Care Unit (CAM-ICU)",
"title-short": "Evaluation of delirium in critically ill patients",
"type": "article-journal",
"volume": "29"
}
]
<<===== INPUT =====<<
>>===== VERSION =====>>
1.0
<<===== VERSION =====<<