Skip to content

Instantly share code, notes, and snippets.

@aurimasv
Created July 10, 2014 02:37
Show Gist options
  • Save aurimasv/3e080f84e1f2a238479b to your computer and use it in GitHub Desktop.
Save aurimasv/3e080f84e1f2a238479b to your computer and use it in GitHub Desktop.
CSE citation-name
<?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">
<!-- This style was edited with the Visual CSL Editor (http://steveridout.com/csl/visualEditor/) -->
<info>
<title>Council of Science Editors (citation-name)</title>
<title-short>CSE</title-short>
<id>http://www.zotero.org/styles/council-of-science-editors-citation-name</id>
<link href="http://www.zotero.org/styles/council-of-science-editors-citation-name" rel="self"/>
<link href="http://bcs.bedfordstmartins.com/resdoc5e/RES5e_ch11_o.html" rel="documentation"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>
<category citation-format="numeric"/>
<category field="science"/>
<summary>The Council of Science Editors style (citation-name).</summary>
<updated>2012-09-09T21:58:08+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">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", " suffix="."/>
</names>
</macro>
<macro name="author">
<group suffix=".">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" " strip-periods="true"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title" form="short"/>
</substitute>
</names>
</group>
</macro>
<macro name="author-count">
<names variable="author">
<name form="count"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title" form="short"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " initialize-with="."/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title" form="short"/>
</substitute>
</names>
</macro>
<macro name="access">
<group>
<text value="Available from:" suffix=" "/>
<text variable="URL"/>
</group>
</macro>
<macro name="title">
<group delimiter=" ">
<text variable="title"/>
<choose>
<if type="thesis" match="any">
<text variable="genre" form="long" prefix="[" suffix="]"/>
</if>
</choose>
</group>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="issued">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" prefix=" "/>
<date-part name="day" prefix=" "/>
</date>
<group prefix=" [" suffix="]" delimiter=" ">
<text term="cited"/>
<date variable="accessed">
<date-part name="year"/>
<date-part name="month" prefix=" "/>
<date-part name="day" prefix=" "/>
</date>
</group>
</macro>
<macro name="pages">
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</macro>
<macro name="journal">
<text variable="container-title"/>
<choose>
<if variable="URL">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</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="," vertical-align="sup">
<text variable="citation-number"/>
<group prefix="(" suffix=")">
<label variable="locator" form="short" strip-periods="true"/>
<text variable="locator"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="false" et-al-min="11" et-al-use-first="10">
<sort>
<key macro="author" names-min="1" names-use-first="1"/>
<key macro="author-count" names-min="2" names-use-first="2"/>
<key macro="author"/>
<key variable="title"/>
</sort>
<layout>
<text variable="citation-number" suffix=". "/>
<text macro="author"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
<group prefix=" " suffix="." delimiter=" ">
<text macro="title" suffix="."/>
<text macro="edition"/>
<text macro="editor" prefix="(" suffix=")"/>
</group>
<text prefix=" " macro="publisher"/>
<group suffix="." prefix="; " delimiter=" ">
<date variable="issued">
<date-part name="year"/>
</date>
<text macro="pages"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<text macro="title" prefix=" " suffix="."/>
<group prefix=" " delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text macro="editor"/>
<text variable="container-title" suffix="."/>
<text variable="volume" prefix="Vol. " suffix="."/>
<text macro="edition"/>
<text variable="collection-title" suffix="."/>
<group suffix=".">
<text macro="publisher"/>
<group suffix="." prefix="; " delimiter=". ">
<date variable="issued">
<date-part name="year"/>
</date>
<text macro="pages"/>
</group>
</group>
</group>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
</group>
<group prefix=" " suffix=".">
<text macro="journal" suffix="."/>
<group delimiter=";" prefix=" ">
<text macro="issued"/>
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
</group>
<text variable="page" prefix=":"/>
</group>
</else>
</choose>
<text prefix=" " macro="access"/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment