Skip to content

Commit

Permalink
Create chinese-science-bulletin.csl (#6501)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Aug 27, 2024
1 parent bd2fa8f commit 9cb0d5f
Showing 1 changed file with 177 additions and 0 deletions.
177 changes: 177 additions & 0 deletions chinese-science-bulletin.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
<?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-US">
<info>
<title>Chinese Science Bulletin</title>
<title-short>CSB</title-short>
<id>http://www.zotero.org/styles/chinese-science-bulletin</id>
<link href="http://www.zotero.org/styles/chinese-science-bulletin" rel="self"/>
<link href="http://www.zotero.org/styles/surgical-neurology-international" rel="template"/>
<link href="https://www.sciengine.com/CSB/authorCenter?scroll=section_1" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="numeric"/>
<category field="science"/>
<issn>0023-074X</issn>
<eissn>2095-9419</eissn>
<updated>2023-04-04T09:55:35+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="editor">
<names variable="editor" delimiter=", ">
<name delimiter-precedes-last="always" initialize-with=" " name-as-sort-order="all" sort-separator=" "/>
<label form="short" strip-periods="false" prefix=", "/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" strip-periods="false" prefix=", "/>
<substitute>
<names variable="editor"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="author-sort">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")" strip-periods="true"/>
<substitute>
<names variable="editor"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if type="webpage post post-weblog">
<text value="Available:" suffix=" "/>
<text variable="URL" suffix="."/>
<group prefix=" ">
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
</group>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="cite-date">
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<text term="edition" form="short" strip-periods="true"/>
<number variable="edition" form="numeric"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="volume">
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first"/>
<text variable="volume"/>
</group>
</macro>
<macro name="pages">
<text variable="page"/>
</macro>
<macro name="container-title">
<group delimiter=", " suffix=".">
<text variable="container-title" text-case="title"/>
<text macro="edition"/>
<text variable="collection-title"/>
</group>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter="," vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="3" second-field-align="flush">
<sort>
<key macro="author-sort"/>
<key variable="title"/>
</sort>
<layout>
<text variable="citation-number" suffix=" "/>
<text macro="author" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
<group delimiter=". " prefix=" ">
<text macro="title" suffix="."/>
<text variable="genre"/>
<text macro="edition"/>
<text macro="editor"/>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="cite-date"/>
<text macro="pages"/>
</group>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=". ">
<text macro="title"/>
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<text macro="editor"/>
</group>
<group delimiter=": ">
<text macro="container-title"/>
</group>
<text macro="volume"/>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="cite-date"/>
</group>
<text macro="pages"/>
</group>
</else-if>
<else>
<group delimiter=". ">
<text macro="title"/>
<group delimiter=", ">
<text variable="container-title" form="short" strip-periods="true"/>
<text macro="cite-date"/>
<group delimiter=": ">
<text variable="volume"/>
<text variable="page"/>
</group>
</group>
</group>
</else>
</choose>
<text prefix=" " macro="access"/>
</layout>
</bibliography>
</style>

0 comments on commit 9cb0d5f

Please sign in to comment.