Permalink
Browse files

Kouichi's cerebral cortex style

  • Loading branch information...
1 parent 8ec7447 commit 96a883d812ec7a26aaf7386e5cad6010612f0dd9 @adam3smith adam3smith committed Jan 18, 2012
Showing with 227 additions and 0 deletions.
  1. +227 −0 cerebral-cortex.csl
View
@@ -0,0 +1,227 @@
+<?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" page-range-format="expanded">
+ <info>
+ <title>Cerebral Cortex</title>
+ <id>http://www.zotero.org/styles/cerebral-cortex</id>
+ <link href="http://www.zotero.org/styles/cerebral-cortex" rel="self"/>
+ <link href="http://www.oxfordjournals.org/our_journals/cercor/for_authors/general.html" rel="documentation"/>
+ <issn>1047-3211</issn>
+ <issn>1460-2199</issn>
+ <summary>Cerebral Cortex style</summary>
+ <link href="http://www.zotero.org/styles/elsevier-harvard" rel="template"/>
+ <author>
+ <name>Kouichi Nakamura</name>
+ <email>kouichi.nakamura@pharm.ox.ac.uk</email>
+ </author>
+ <category field="biology"/>
+ <category citation-format="author-date"/>
+ <updated>2012-01-15T01:31:03+00:00</updated>
+ <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
+ </info>
+ <macro name="container">
+ <choose>
+ <if type="chapter paper-conference" match="any">
+ <text term="in" text-case="capitalize-first" prefix=". " suffix=": "/>
+ <names variable="editor translator" delimiter=", " suffix=". ">
+ <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always" suffix=","/>
+ <label form="long" text-case="lowercase" prefix=" " suffix="." strip-periods="true"/>
+ </names>
+ <group delimiter=". ">
+ <text variable="container-title" text-case="capitalize-first"/>
+ <text macro="edition"/>
+ <text variable="collection-title" text-case="capitalize-first"/>
+ </group>
+ </if>
+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
+ <group prefix=", " delimiter=", ">
+ <text variable="container-title"/>
+ <text variable="collection-title"/>
+ </group>
+ </else-if>
+ <else>
+ <group prefix=". " delimiter=", ">
+ <text variable="container-title" form="short" strip-periods="true"/>
+ <text variable="collection-title"/>
+ </group>
+ </else>
+ </choose>
+ </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" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
+ <substitute>
+ <names variable="editor"/>
+ <names variable="translator"/>
+ <text macro="title"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="author-short">
+ <names variable="author">
+ <name form="short" and="text" delimiter=", " initialize-with=""/>
+ <substitute>
+ <names variable="editor"/>
+ <names variable="translator"/>
+ <choose>
+ <if type="bill book graphic legal_case motion_picture report song" match="any">
+ <text variable="title" form="short" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title" form="short" quotes="true"/>
+ </else>
+ </choose>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="access">
+ <choose>
+ <if type="webpage">
+ <group>
+ <text value="URL" suffix=" "/>
+ <text variable="URL"/>
+ </group>
+ </if>
+ </choose>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="report thesis" match="any">
+ <text variable="title"/>
+ <group prefix=" (" suffix=")">
+ <text variable="genre"/>
+ <text variable="number" prefix=" No. "/>
+ </group>
+ </if>
+ <else-if type="bill book graphic legal_case motion_picture report song speech" match="any">
+ <text variable="title" text-case="capitalize-first"/>
+ <text macro="edition" prefix=". "/>
+ </else-if>
+ <else-if type="webpage">
+ <text variable="title"/>
+ <text value="WWW Document" prefix=" [" suffix="]"/>
+ </else-if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="publisher">
+ <choose>
+ <if type="report thesis" match="any">
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
+ <text variable="publisher"/>
+ </group>
+ </if>
+ <else>
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
+ <text variable="publisher"/>
+ </group>
+ </else>
+ </choose>
+ </macro>
+ <macro name="event">
+ <choose>
+ <if variable="event">
+ <text term="presented at" text-case="capitalize-first" suffix=" "/>
+ <text variable="event"/>
+ </if>
+ </choose>
+ </macro>
+ <macro name="issued">
+ <choose>
+ <if variable="issued">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </if>
+ <else-if variable="accessed">
+ <choose>
+ <if type="webpage">
+ <date variable="accessed">
+ <date-part name="year"/>
+ </date>
+ </if>
+ <else>
+ <text term="no date" form="short"/>
+ </else>
+ </choose>
+ </else-if>
+ <else>
+ <text term="no date" form="short"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="edition">
+ <group delimiter=" ">
+ <choose>
+ <if is-numeric="edition">
+ <number variable="edition" form="ordinal"/>
+ </if>
+ <else>
+ <text variable="edition" suffix="."/>
+ </else>
+ </choose>
+ <text value="ed"/>
+ </group>
+ </macro>
+ <macro name="locators">
+ <choose>
+ <if type="article-journal article-magazine article-newspaper" match="any">
+ <group prefix=" " delimiter=":">
+ <group>
+ <text variable="volume"/>
+ </group>
+ <text variable="page"/>
+ </group>
+ </if>
+ <else-if type="bill book graphic legal_case motion_picture report song" match="any">
+ <group delimiter=", " prefix=". ">
+ <text macro="event"/>
+ <text macro="publisher"/>
+ </group>
+ </else-if>
+ <else-if type="chapter paper-conference" match="any">
+ <group delimiter=". " prefix=". ">
+ <text macro="event"/>
+ <text macro="publisher"/>
+ <group>
+ <text variable="page" prefix="p. "/>
+ </group>
+ </group>
+ </else-if>
+ </choose>
+ </macro>
+ <citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" collapse="year">
+ <sort>
+ <key macro="issued"/>
+ <key macro="author"/>
+ </sort>
+ <layout prefix="(" suffix=")" delimiter="; ">
+ <group delimiter=" ">
+ <text macro="author-short"/>
+ <text macro="issued"/>
+ </group>
+ </layout>
+ </citation>
+ <bibliography hanging-indent="true" entry-spacing="0" line-spacing="1">
+ <sort>
+ <key macro="author"/>
+ <key macro="issued" sort="ascending"/>
+ </sort>
+ <layout>
+ <group suffix=".">
+ <text macro="author" suffix="."/>
+ <text macro="issued" prefix=" " suffix=". "/>
+ <group>
+ <text macro="title"/>
+ <text macro="container"/>
+ </group>
+ <text macro="locators" prefix=". "/>
+ </group>
+ <text macro="access" prefix=". "/>
+ </layout>
+ </bibliography>
+</style>

0 comments on commit 96a883d

Please sign in to comment.