Skip to content

Commit 4479a5a

Browse files
authored
haaga-helia-university-of-applied-sciences-harvard.csl: no date cites need to be unique (#5726)
Cites need to be unique when citing references from the same author without known issuing date. Example of unique citing of four different references: (Musk s.a. a; Musk s.a. b; Github s.a.; Musk 2006) Also resort elements
1 parent d00e046 commit 4479a5a

File tree

1 file changed

+74
-71
lines changed

1 file changed

+74
-71
lines changed

haaga-helia-university-of-applied-sciences-harvard.csl

+74-71
Original file line numberDiff line numberDiff line change
@@ -13,49 +13,39 @@
1313
<category citation-format="author-date"/>
1414
<category field="generic-base"/>
1515
<summary>Haaga-Helia University of Applied Sciences referencing style (Finnish and English)</summary>
16-
<updated>2021-02-21T03:51:30Z</updated>
16+
<updated>2021-11-14T07:02:42+00:00</updated>
1717
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1818
</info>
19-
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true">
20-
<layout prefix="(" suffix=")" delimiter="; ">
21-
<group delimiter=" ">
22-
<text macro="author-citation"/>
23-
<text macro="issued"/>
24-
<!-- note needed when cite must include Creative Commons license information in relevant graphic/figure -->
25-
<text macro="note"/>
26-
</group>
27-
<text macro="locator"/>
28-
</layout>
29-
</citation>
30-
<bibliography>
31-
<sort>
32-
<key macro="author-bibliography"/>
33-
</sort>
34-
<layout>
35-
<choose>
36-
<if type="legislation">
37-
<text macro="author-bibliography" suffix=". "/>
38-
<text macro="publisher"/>
39-
<text macro="container"/>
40-
<text macro="access"/>
41-
</if>
42-
<else>
43-
<text macro="author-bibliography"/>
44-
<text macro="issued" prefix=" " suffix="."/>
45-
<group delimiter=". " prefix=" " suffix=".">
46-
<!-- author's job title is needed in case of personal communication / presentation references. CSL does not support job titles, so work-around is to add job title to the actual title -->
47-
<text macro="title"/>
48-
<text macro="genre"/>
49-
<text macro="publisher"/>
50-
<text macro="container"/>
51-
<text macro="source"/>
52-
<text macro="event"/>
53-
<text macro="access"/>
54-
</group>
55-
</else>
56-
</choose>
57-
</layout>
58-
</bibliography>
19+
<locale xml:lang="fi">
20+
<date form="text">
21+
<date-part name="day" suffix="."/>
22+
<date-part name="month" suffix="." form="numeric"/>
23+
<date-part name="year"/>
24+
</date>
25+
<terms>
26+
<term name="no date">s.a.</term>
27+
<term name="and">&amp;</term>
28+
<term name="et-al">ym.</term>
29+
<!-- In FI references, depending on reference material, the localization would be "Luettavissa" / "Nähtävissä" / "Kuunneltavissa". According to Thesis instructors, using "URL" in FI localization is allowed. -->
30+
<term name="available at">URL</term>
31+
<term name="accessed">Luettu</term>
32+
<term name="page">s.</term>
33+
</terms>
34+
</locale>
35+
<locale xml:lang="en">
36+
<date form="text">
37+
<date-part name="day" suffix=" "/>
38+
<date-part name="month" suffix=" "/>
39+
<date-part name="year"/>
40+
</date>
41+
<terms>
42+
<term name="no date">s.a.</term>
43+
<term name="and">&amp;</term>
44+
<term name="et-al">&amp; al.</term>
45+
<term name="available at">URL</term>
46+
<term name="page">pp.</term>
47+
</terms>
48+
</locale>
5949
<macro name="access">
6050
<choose>
6151
<if variable="DOI" match="all">
@@ -162,11 +152,14 @@
162152
</if>
163153
<else>
164154
<date variable="issued" form="text" date-parts="year"/>
155+
<text variable="year-suffix"/>
165156
</else>
166157
</choose>
167158
</else-if>
168159
<else>
169160
<text term="no date"/>
161+
<!-- no date cites need to be unique -->
162+
<text variable="year-suffix"/>
170163
</else>
171164
</choose>
172165
</macro>
@@ -212,34 +205,44 @@
212205
<macro name="title">
213206
<text variable="title"/>
214207
</macro>
215-
<locale xml:lang="fi">
216-
<date form="text">
217-
<date-part name="day" suffix="."/>
218-
<date-part name="month" suffix="." form="numeric"/>
219-
<date-part name="year"/>
220-
</date>
221-
<terms>
222-
<term name="no date">s.a.</term>
223-
<term name="and">&amp;</term>
224-
<term name="et-al">ym.</term>
225-
<!-- In FI references, depending on reference material, the localization would be "Luettavissa" / "Nähtävissä" / "Kuunneltavissa". According to Thesis instructors, using "URL" in FI localization is allowed. -->
226-
<term name="available at">URL</term>
227-
<term name="accessed">Luettu</term>
228-
<term name="page">s.</term>
229-
</terms>
230-
</locale>
231-
<locale xml:lang="en">
232-
<date form="text">
233-
<date-part name="day" suffix=" "/>
234-
<date-part name="month" suffix=" "/>
235-
<date-part name="year"/>
236-
</date>
237-
<terms>
238-
<term name="no date">s.a.</term>
239-
<term name="and">&amp;</term>
240-
<term name="et-al">&amp; al.</term>
241-
<term name="available at">URL</term>
242-
<term name="page">pp.</term>
243-
</terms>
244-
</locale>
208+
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true">
209+
<layout prefix="(" suffix=")" delimiter="; ">
210+
<group delimiter=" ">
211+
<text macro="author-citation"/>
212+
<text macro="issued"/>
213+
<!-- note needed when cite must include Creative Commons license information in relevant graphic/figure -->
214+
<text macro="note"/>
215+
</group>
216+
<text macro="locator"/>
217+
</layout>
218+
</citation>
219+
<bibliography>
220+
<sort>
221+
<key macro="author-bibliography"/>
222+
</sort>
223+
<layout>
224+
<choose>
225+
<if type="legislation">
226+
<text macro="author-bibliography" suffix=". "/>
227+
<text macro="publisher"/>
228+
<text macro="container"/>
229+
<text macro="access"/>
230+
</if>
231+
<else>
232+
<text macro="author-bibliography"/>
233+
<text macro="issued" prefix=" " suffix="."/>
234+
<group delimiter=". " prefix=" " suffix=".">
235+
<!-- author's job title is needed in case of personal communication / presentation references. CSL does not support job titles, so work-around is to add job title to the actual title -->
236+
<text macro="title"/>
237+
<text macro="genre"/>
238+
<text macro="publisher"/>
239+
<text macro="container"/>
240+
<text macro="source"/>
241+
<text macro="event"/>
242+
<text macro="access"/>
243+
</group>
244+
</else>
245+
</choose>
246+
</layout>
247+
</bibliography>
245248
</style>

0 commit comments

Comments
 (0)