Skip to content

Commit

Permalink
Update universitetet-i-oslo-rettsvitenskap.csl (#4886)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo authored Jun 25, 2020
1 parent 7e0828d commit 5213c2f
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion universitetet-i-oslo-rettsvitenskap.csl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<category citation-format="note"/>
<category field="law"/>
<summary>University of Oslo Law Library's citation style. Created for use primarily with Norwegian legal sources.</summary>
<updated>2017-11-16T10:04:01+00:00</updated>
<updated>2020-06-24T21:21:00+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>
<locale xml:lang="nb-NO">
Expand Down Expand Up @@ -165,6 +165,25 @@
</else>
</choose>
</macro>
<macro name="locator">
<choose>
<if type="legislation bill" match="none">
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</if>
<else-if locator="section paragraph" match="any">
<text variable="locator" prefix=" § "/>
</else-if>
<else>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</else>
</choose>
</macro>
<citation disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name" disambiguate-add-year-suffix="true" et-al-min="2" et-al-use-first="1">
<sort>
<key macro="author-short"/>
Expand Down Expand Up @@ -192,6 +211,7 @@
<text variable="title"/>
</else>
</choose>
<text macro="locator"/>
</group>
</layout>
</citation>
Expand Down

0 comments on commit 5213c2f

Please sign in to comment.