Skip to content

Commit

Permalink
Update south-african-medical-journal.csl (#5393)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Apr 20, 2021
1 parent a35360f commit a75cb35
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 16 deletions.
16 changes: 0 additions & 16 deletions dependent/south-african-medical-journal.csl

This file was deleted.

158 changes: 158 additions & 0 deletions south-african-medical-journal.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>South African Medical Journal</title>
<title-short>SAMJ</title-short>
<id>http://www.zotero.org/styles/south-african-medical-journal</id>
<link href="http://www.zotero.org/styles/south-african-medical-journal" rel="self"/>
<link href="http://www.zotero.org/styles/vancouver-superscript-brackets-only-year" rel="template"/>
<link href="http://www.samj.org.za/index.php/samj/about/submissions#References" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="numeric"/>
<category field="medicine"/>
<issn>0256-9574</issn>
<eissn>2078-5135</eissn>
<updated>2021-04-16T08:18:19+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>
<macro name="author">
<names variable="author" suffix=". ">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", " text-case="lowercase"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor" suffix=". ">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", " text-case="lowercase"/>
</names>
</macro>
<macro name="publisher">
<text variable="publisher-place" suffix=": "/>
<text variable="publisher" suffix="; "/>
<group suffix=". ">
<date variable="issued">
<date-part name="year"/>
</date>
<text macro="accessed-date" prefix=" "/>
</group>
</macro>
<macro name="access">
<choose>
<if type="article-journal" match="any">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else>
<group>
<text value="Available from: "/>
<text variable="URL"/>
</group>
</else>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group prefix="[" suffix="]" delimiter=" ">
<text term="cited" text-case="lowercase"/>
<date variable="accessed">
<date-part name="year"/>
<date-part name="month" prefix=" " form="short" strip-periods="true"/>
<date-part name="day" prefix=" "/>
</date>
</group>
</if>
</choose>
</macro>
<macro name="journal-title">
<choose>
<if type="article-journal article-magazine review review-book" match="any">
<text variable="container-title" form="short" strip-periods="true"/>
</if>
<else>
<text variable="container-title" form="short"/>
</else>
</choose>
</macro>
<macro name="title">
<group delimiter=" ">
<text variable="title"/>
<choose>
<if type="article-journal article-magazine review review-book" match="none">
<choose>
<if variable="URL">
<text term="internet" prefix="[" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</if>
</choose>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," prefix="[" suffix="]" vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="3" second-field-align="flush">
<layout>
<text variable="citation-number" suffix=". "/>
<text macro="author"/>
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
<group prefix=" " suffix=". ">
<text term="in" suffix=": " text-case="capitalize-first"/>
<text macro="editor"/>
<text variable="container-title"/>
</group>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" " suffix=".">
<label variable="page" plural="never"/>
<text variable="page"/>
</group>
</else-if>
<else>
<group delimiter=" " suffix=";">
<text macro="journal-title"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
<group suffix=". ">
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=":"/>
</group>
</else>
</choose>
<text macro="access"/>
</layout>
</bibliography>
</style>

0 comments on commit a75cb35

Please sign in to comment.