Last active
June 25, 2023 07:00
-
-
Save zepinglee/9d23815536b7eb314d975b9a5171a2b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>===== MODE =====>> | |
citation | |
<<===== MODE =====<< | |
>>===== DESCRIPTION =====>> | |
The citperoc-js (73bc1b44) gives: | |
+ expected - actual | |
->>[0] Baines, T S et al.; Baines, T S et al. | |
-..[1] See reference 1, Baines et al. | |
->>[2] See reference 1, Baines et al. | |
+>>[0] Baines, T S, O Benedettini et al.; Baines, T S, F Gump et al. | |
+..[1] See reference 1, ‘Title One’. | |
+>>[2] See reference 1, ‘Title One’. | |
It fails to disambiguate the cites in the first note. | |
<<===== DESCRIPTION =====<< | |
>>===== RESULT =====>> | |
>>[0] Baines, T S, O Benedettini et al.; Baines, T S, F Gump et al. | |
..[1] See reference 1, ‘Title One’. | |
>>[2] See reference 1, ‘Title One’. | |
<<===== RESULT =====<< | |
>>===== CITATIONS =====>> | |
[ | |
[ | |
{ | |
"citationID": "CITATION-1", | |
"citationItems": [ | |
{ | |
"id": "ITEM-1" | |
}, | |
{ | |
"id": "ITEM-2" | |
} | |
], | |
"properties": { | |
"noteIndex": 1 | |
} | |
}, | |
[], | |
[] | |
], | |
[ | |
{ | |
"citationID": "CITATION-2", | |
"citationItems": [ | |
{ | |
"id": "ITEM-1" | |
} | |
], | |
"properties": { | |
"noteIndex": 2 | |
} | |
}, | |
[ | |
[ | |
"CITATION-1", | |
1 | |
] | |
], | |
[] | |
], | |
[ | |
{ | |
"citationID": "CITATION-3", | |
"citationItems": [ | |
{ | |
"id": "ITEM-2" | |
} | |
], | |
"properties": { | |
"noteIndex": 3 | |
} | |
}, | |
[ | |
[ | |
"CITATION-1", | |
1 | |
], | |
[ | |
"CITATION-2", | |
2 | |
] | |
], | |
[] | |
] | |
] | |
<<===== CITATIONS =====<< | |
>>==== CITATION-ITEMS ==== | |
[ | |
[ | |
{ | |
"id": "ITEM-1" | |
}, | |
{ | |
"id": "ITEM-2" | |
} | |
], | |
[ | |
{ | |
"id": "ITEM-1", | |
"position": 1, | |
"first-reference-note-number": 1 | |
} | |
], | |
[ | |
{ | |
"id": "ITEM-2", | |
"position": 1, | |
"first-reference-note-number": 1 | |
} | |
] | |
] | |
<<==== CITATION-ITEMS ==== | |
>>===== CSL =====>> | |
<?xml version="1.0" encoding="utf-8"?> | |
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB" page-range-format="expanded"> | |
<info> | |
<title>Environment and Urbanization</title> | |
<id>http://www.zotero.org/styles/environment-and-urbanization</id> | |
<link href="http://www.zotero.org/styles/environment-and-urbanization" rel="self"/> | |
<link href="http://www.zotero.org/styles/journal-of-applied-philosophy" rel="template"/> | |
<link href="https://us.sagepub.com/en-us/nam/journal/environment-and-urbanization#ReferenceStyle" rel="documentation"/> | |
<author> | |
<name>Sebastian Karcher</name> | |
</author> | |
<category citation-format="note"/> | |
<category field="geography"/> | |
<issn>0956-2478</issn> | |
<eissn>1746-0301</eissn> | |
<summary>Style calls for endnote symbols in parentheses, which CSL can't do</summary> | |
<updated>2012-10-25T21:15:26+00:00</updated> | |
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> | |
</info> | |
<citation et-al-min="7" et-al-use-first="1" disambiguate-add-names="true" disambiguate-add-givenname="true"> | |
<layout suffix="." delimiter="; "> | |
<choose> | |
<if position="subsequent"> | |
<group delimiter=", "> | |
<text variable="first-reference-note-number" prefix="See reference "/> | |
<choose> | |
<if disambiguate="true"> | |
<names variable="author"> | |
<name form="short" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1" initialize-with=" "/> | |
</names> | |
</if> | |
</choose> | |
<choose> | |
<if disambiguate="true"> | |
<text variable="title" quotes="true" text-case="title" form="short"/> | |
</if> | |
</choose> | |
</group> | |
</if> | |
<else> | |
<group delimiter=", "> | |
<names variable="author"> | |
<name and="text" sort-separator=", " delimiter=", " et-al-min="3" et-al-use-first="1" delimiter-precedes-last="never" initialize-with=" " name-as-sort-order="first" initialize="false"/> | |
</names> | |
</group> | |
</else> | |
</choose> | |
</layout> | |
</citation> | |
</style> | |
<<===== CSL =====<< | |
>>==== INPUT ====>> | |
[ | |
{ | |
"author": [ | |
{ | |
"family": "Baines", | |
"given": "T. S." | |
}, | |
{ | |
"family": "Benedettini", | |
"given": "O." | |
}, | |
{ | |
"family": "Kay", | |
"given": "J. M." | |
} | |
], | |
"id": "ITEM-1", | |
"title": "Title One", | |
"type": "article-journal" | |
}, | |
{ | |
"author": [ | |
{ | |
"family": "Baines", | |
"given": "T. S." | |
}, | |
{ | |
"family": "Gump", | |
"given": "F." | |
}, | |
{ | |
"family": "Kay", | |
"given": "J. M." | |
} | |
], | |
"id": "ITEM-2", | |
"title": "Title Two", | |
"type": "article-journal" | |
} | |
] | |
<<==== INPUT ====<< | |
>>===== VERSION =====>> | |
1.0 | |
<<===== VERSION =====<< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment