Skip to content

Commit b390657

Browse files
abeekenrmzelle
authored andcommitted
Changed term on access macro, added rules for bill (JabRef#4407)
1 parent 95c24f9 commit b390657

File tree

1 file changed

+27
-13
lines changed

1 file changed

+27
-13
lines changed

Diff for: university-of-lincoln-harvard.csl

+27-13
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<category citation-format="author-date"/>
1515
<category field="generic-base"/>
1616
<summary>The Harvard author-date style, 2nd edition, as outlined by the library of the University of Lincoln.</summary>
17-
<updated>2019-03-26T13:11:32+00:00</updated>
17+
<updated>2019-11-13T14:03:41+00:00</updated>
1818
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1919
</info>
2020
<locale xml:lang="en">
@@ -61,16 +61,18 @@
6161
</macro>
6262
<macro name="access">
6363
<choose>
64-
<if type="webpage article-journal article-newspaper" match="any">
65-
<text term="available at" text-case="capitalize-first" suffix=" "/>
66-
<text variable="URL"/>
67-
<group delimiter=" " prefix=" [" suffix="]">
68-
<text term="accessed"/>
69-
<date variable="accessed">
70-
<date-part name="day" suffix=" "/>
71-
<date-part name="month" suffix=" "/>
72-
<date-part name="year"/>
73-
</date>
64+
<if type="bill webpage article-journal article-newspaper" match="any">
65+
<group delimiter=" ">
66+
<text term="available at" text-case="capitalize-first"/>
67+
<text variable="URL"/>
68+
<group delimiter=" " prefix="[" suffix="]">
69+
<text term="accessed"/>
70+
<date variable="accessed">
71+
<date-part name="day" suffix=" "/>
72+
<date-part name="month" suffix=" "/>
73+
<date-part name="year"/>
74+
</date>
75+
</group>
7476
</group>
7577
</if>
7678
</choose>
@@ -166,8 +168,14 @@
166168
<key variable="title"/>
167169
</sort>
168170
<layout suffix=".">
169-
<text macro="author"/>
170-
<text macro="year-date" prefix=" (" suffix=")"/>
171+
<choose>
172+
<if type="bill" match="none">
173+
<group delimiter=" ">
174+
<text macro="author"/>
175+
<text macro="year-date" prefix="(" suffix=")"/>
176+
</group>
177+
</if>
178+
</choose>
171179
<choose>
172180
<if type="thesis">
173181
<group prefix=" " delimiter=". " suffix=".">
@@ -177,6 +185,12 @@
177185
<text macro="publisher"/>
178186
</group>
179187
</if>
188+
<else-if type="bill">
189+
<text variable="title" font-style="italic"/>
190+
<text variable="authority" prefix=" [" suffix="]"/>
191+
<text variable="number" prefix=" Bill " suffix=", "/>
192+
<text variable="chapter-number" suffix=". "/>
193+
</else-if>
180194
<else-if type="webpage">
181195
<group prefix=" " delimiter=". ">
182196
<text macro="title"/>

0 commit comments

Comments
 (0)