Skip to content

Commit

Permalink
Create stellenbosch-law-review.csl (#5322)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Mar 15, 2021
1 parent 30fb68e commit 6412083
Showing 1 changed file with 308 additions and 0 deletions.
308 changes: 308 additions & 0 deletions stellenbosch-law-review.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,308 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" page-range-format="minimal" demote-non-dropping-particle="sort-only">
<!-- Polyglot; journal publishes in English and Afrikaans -->
<info>
<title>Stellenbosch Law Review</title>
<title-short>SLR</title-short>
<id>http://www.zotero.org/styles/stellenbosch-law-review</id>
<link href="http://www.zotero.org/styles/stellenbosch-law-review" rel="self"/>
<link href="http://www.zotero.org/styles/london-review-of-international-law" rel="template"/>
<link href="https://journals.co.za/journal/jlc.slr/submit" rel="documentation"/>
<link href="http://blogs.sun.ac.za/iplaw/files/2018/02/Stellenbosch-Law-Review-Style-Guide.pdf" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="note"/>
<category field="law"/>
<issn>1016-4359</issn>
<eissn>1996-2193</eissn>
<updated>2021-03-12T14:36:14+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="en">
<style-options punctuation-in-quote="false"/>
<terms>
<term name="edition" form="short">edn</term>
<term name="translator" form="short">trans.</term>
<term name="editortranslator" form="short">ed. and trans.</term>
<term name="chapter" form="short">c.</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name and="symbol" initialize-with=""/>
<label form="short" strip-periods="true" prefix=" (" suffix=")"/>
<substitute>
<names variable="translator"/>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text"/>
<label form="short" prefix=" (" suffix=")" strip-periods="false"/>
<substitute>
<names variable="translator"/>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor-translator">
<choose>
<if variable="editor translator" match="any">
<names variable="editor translator">
<label form="short" suffix=". " strip-periods="false"/>
<name and="text" initialize-with="."/>
</names>
</if>
</choose>
</macro>
<macro name="container-editor">
<group delimiter=" ">
<text term="in" suffix=" "/>
<names variable="editor">
<name and="symbol" initialize-with=""/>
<label form="short" strip-periods="true" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<names variable="container-author"/>
<text macro="title"/>
</substitute>
</names>
</group>
</macro>
<macro name="container-editor-short">
<group delimiter=" ">
<text term="in" suffix=" "/>
<names variable="editor">
<name form="short" and="text" initialize-with=". "/>
<label form="short" prefix=" (" suffix=")" strip-periods="false"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<names variable="container-author"/>
<text macro="title"/>
</substitute>
</names>
</group>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case motion_picture report song thesis" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="collection">
<text variable="collection-title"/>
<text variable="collection-number" prefix=" "/>
</macro>
<macro name="publisher">
<choose>
<if type="paper-conference">
<group delimiter=" ">
<text term="presented at"/>
<text variable="event"/>
</group>
<text variable="event-place" prefix=", "/>
</if>
</choose>
</macro>
<macro name="date">
<choose>
<if type="webpage post post-weblog" match="any">
<date form="text" date-parts="year-month-day" variable="issued"/>
</if>
<else>
<date variable="issued">
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<macro name="volumes">
<group delimiter=" ">
<text variable="number-of-volumes"/>
<text term="volume" form="short" plural="true" strip-periods="true"/>
</group>
</macro>
<macro name="pageno">
<choose>
<if variable="locator" match="none">
<text variable="page-first"/>
</if>
</choose>
</macro>
<macro name="pageref">
<choose>
<if variable="locator">
<group delimiter=", ">
<choose>
<if variable="page-first">
<text variable="page-first"/>
</if>
</choose>
<text variable="locator"/>
</group>
</if>
</choose>
</macro>
<macro name="pageref-subsequent">
<label variable="locator" form="short" suffix=" "/>
<text variable="locator"/>
</macro>
<macro name="volref">
<group delimiter=" ">
<text variable="volume"/>
<text term="number" form="short" text-case="capitalize-first" suffix="."/>
</group>
</macro>
<macro name="container">
<choose>
<if type="chapter paper-conference" match="any">
<text variable="container-title" font-style="italic"/>
</if>
<else>
<text variable="container-title" form="short" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="container-short">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter=" ">
<text macro="container-editor-short"/>
<text variable="container-title" font-style="italic"/>
<text macro="pageno"/>
</group>
</if>
<else-if type="article-journal" match="any">
<group delimiter=", ">
<group delimiter=" ">
<text variable="container-title" form="short"/>
<text macro="volref"/>
</group>
<text macro="pageno"/>
</group>
</else-if>
<else-if type="bill book graphic legal_case motion_picture song thesis" match="any">
<group delimiter=" ">
<text variable="title" font-style="italic"/>
<number vertical-align="sup" variable="edition"/>
</group>
</else-if>
<else>
<text variable="container-title" form="short" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if type="webpage post post-weblog" match="any">
<group delimiter=" ">
<text variable="URL" prefix="&lt;" suffix="&gt;"/>
<group delimiter=" " prefix="(" suffix=")">
<text term="accessed" suffix=" "/>
<date variable="accessed">
<date-part name="day" suffix="-"/>
<date-part name="month" form="numeric" suffix="-"/>
<date-part name="year"/>
</date>
</group>
</group>
</if>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-names="true">
<layout suffix="." delimiter="; ">
<choose>
<if position="subsequent">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="container-short"/>
<text macro="pageref-subsequent"/>
</group>
</if>
<else>
<text macro="author" suffix=" "/>
<choose>
<if type="report thesis" match="any">
<group delimiter=" ">
<text macro="title"/>
<text variable="genre"/>
<text variable="collection-title"/>
<text variable="number" prefix=" "/>
<text variable="publisher"/>
<text macro="date" prefix="(" suffix=")"/>
<text macro="pageref"/>
</group>
</if>
<else-if type="bill book graphic legal_case motion_picture song" match="any">
<group delimiter=", ">
<text macro="title"/>
<text macro="editor-translator"/>
<text macro="container"/>
<text macro="volumes"/>
<text macro="volref"/>
</group>
<group delimiter=", ">
<group delimiter="; " prefix=" (" suffix=")">
<text macro="collection"/>
<group delimiter=", ">
<group delimiter=" ">
<number variable="edition"/>
<label strip-periods="true" variable="edition" form="short"/>
</group>
<text macro="date"/>
</group>
</group>
<text macro="pageref"/>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=" ">
<text macro="title"/>
<text macro="container-editor"/>
<text macro="container"/>
<text macro="collection"/>
<text macro="volref"/>
<text macro="volumes"/>
</group>
<group delimiter=" ">
<group prefix=" (" suffix=")" delimiter=", ">
<text macro="publisher"/>
<text macro="date"/>
</group>
<text macro="pageno"/>
<text macro="pageref"/>
</group>
</else-if>
<else-if type="post post-weblog webpage" match="any">
<group delimiter=", ">
<text macro="title"/>
<text macro="container"/>
<text macro="date"/>
<text macro="access"/>
</group>
</else-if>
<else>
<group delimiter=" ">
<text macro="title"/>
<text macro="date" prefix=" (" suffix=")"/>
<text macro="volref"/>
<text macro="container"/>
<text macro="pageno"/>
<text macro="pageref"/>
</group>
</else>
</choose>
</else>
</choose>
</layout>
</citation>
</style>

0 comments on commit 6412083

Please sign in to comment.