Permalink
Browse files

commit vancouver-superscript-bracket-only, oikos, and proc-roy-soc-b

  • Loading branch information...
1 parent 7991bb1 commit 3b4d8cdb0809b694766c2589ed2f90e22d19ea3b @adam3smith adam3smith committed May 7, 2011
Showing with 530 additions and 307 deletions.
  1. +190 −148 oikos.csl
  2. +174 −159 proc-roy-soc-b.csl
  3. +166 −0 vancouver-superscript-bracket-only-year.csl
View
@@ -1,148 +1,190 @@
-<?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">
- <info>
- <title>Oikos</title>
- <id>http://www.zotero.org/styles/oikos</id>
- <link href="http://www.zotero.org/styles/oikos" rel="self"/>
- <author>
- <name>Johan Asplund</name>
- <email>asplundj@gmail.com</email>
- </author>
- <category field="biology"/>
- <category field="generic-base"/>
- <updated>2008-01-16T09:53:49+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="editor-translator">
- <names variable="editor translator" prefix="(" suffix=")" delimiter=", ">
- <name and="text" initialize-with="" delimiter=", "/>
- <label form="short" prefix=", " text-case="capitalize-first" suffix="." strip-periods="true"/>
- </names>
- </macro>
- <macro name="edition">
- <choose>
- <if is-numeric="edition">
- <group delimiter=" ">
- <number variable="edition" form="ordinal"/>
- <text term="edition" form="short" suffix="n." strip-periods="true"/>
- </group>
- </if>
- <else>
- <text variable="edition" suffix="."/>
- </else>
- </choose>
- </macro>
- <macro name="author">
- <names variable="author">
- <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
- <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"/>
- </if>
- <else>
- <text variable="title" form="short" quotes="true"/>
- </else>
- </choose>
- </substitute>
- </names>
- </macro>
- <macro name="title">
- <choose>
- <if type="bill book graphic legal_case motion_picture report song" match="any">
- <text variable="title"/>
- </if>
- <else>
- <text variable="title"/>
- </else>
- </choose>
- </macro>
- <macro name="publisher">
- <text variable="publisher"/>
- </macro>
- <citation collapse="year-suffix" et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true">
- <sort>
- <key variable="issued"/>
- <key variable="author"/>
- </sort>
- <layout prefix="(" suffix=")" delimiter="; ">
- <group delimiter=" ">
- <text macro="author-short"/>
- <date variable="issued">
- <date-part name="year"/>
- </date>
- <group>
- <label variable="locator" suffix="." form="short" strip-periods="true"/>
- <text variable="locator" prefix=" "/>
- </group>
- </group>
- </layout>
- </citation>
- <bibliography et-al-min="3" et-al-use-first="1" hanging-indent="false">
- <sort>
- <key macro="author-short"/>
- <key variable="issued"/>
- </sort>
- <layout>
- <text macro="author" suffix=""/>
- <date variable="issued" prefix=" " suffix=".">
- <date-part name="year"/>
- </date>
- <choose>
- <if type="bill book graphic legal_case motion_picture report song" match="any">
- <group suffix=".">
- <text macro="title" prefix=" "/>
- <text macro="editor-translator" prefix=" "/>
- </group>
- <text prefix=" - " suffix="." macro="publisher"/>
- </if>
- <else-if type="chapter paper-conference" match="any">
- <text macro="title" prefix=" "/>
- <group prefix=". - ">
- <text term="in" text-case="capitalize-first" suffix=": "/>
- <names variable="editor translator">
- <name name-as-sort-order="all" sort-separator=" " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
- <label form="short" prefix=" (" suffix=".)," strip-periods="true"/>
- </names>
- <text variable="container-title" prefix=" " suffix="."/>
- <text macro="edition" prefix=" " suffix=""/>
- <text variable="collection-title" prefix=" " suffix="."/>
- <group suffix=".">
- <text macro="publisher" prefix=" " suffix=","/>
- <group prefix=" " suffix="">
- <label variable="page" form="short" suffix=". " strip-periods="true"/>
- <text variable="page"/>
- </group>
- </group>
- </group>
- </else-if>
- <else>
- <group suffix=".">
- <text macro="title" prefix=" "/>
- <text macro="editor-translator" prefix=" "/>
- </group>
- <group prefix=" - " suffix=".">
- <text variable="container-title" form="short"/>
- <group prefix=" ">
- <text variable="volume"/>
- </group>
- <text variable="page" prefix=": "/>
- </group>
- </else>
- </choose>
- </layout>
- </bibliography>
-</style>
+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
+<info>
+ <title>Oikos</title>
+ <id>http://www.zotero.org/styles/oikos</id>
+ <link href="http://www.zotero.org/styles/oikos" rel="self"/>
+ <author>
+ <name>Johan Asplund</name>
+ <email>asplundj@gmail.com</email>
+ </author>
+ <contributor>
+ <name>Josefa Bleu</name>
+ <email>josefa.bleu@gmail.com</email>
+ </contributor>
+ <category field="biology"/>
+ <updated>2011-05-07T09:53:49+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="editor-translator">
+ <names variable="editor translator" prefix="(" suffix=")" delimiter=", ">
+ <name and="text" initialize-with="" delimiter=", "/>
+ <label form="short" prefix=", " text-case="capitalize-first" suffix="." strip-periods="true"/>
+ </names>
+</macro>
+
+<macro name="edition">
+ <choose>
+ <if is-numeric="edition">
+ <group delimiter=" ">
+ <number variable="edition" form="ordinal"/>
+ <text term="edition" form="short" suffix="n."/>
+ </group>
+ </if>
+ <else>
+ <text variable="edition" suffix="."/>
+ </else>
+ </choose>
+</macro>
+
+<macro name="author">
+ <names variable="author">
+ <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". "
+ delimiter=", " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1"/>
+ <label form="short" text-case="capitalize-first"/>
+ </names>
+</macro>
+
+<macro name="author-count">
+ <names variable="author">
+ <name form="count"/>
+ </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="book">
+ <text variable="title" form="short"/>
+ </if>
+ <else>
+ <text variable="title" form="short" quotes="true"/>
+ </else>
+ </choose>
+ </substitute>
+ </names>
+</macro>
+
+<macro name="title">
+ <choose>
+ <if type="book">
+ <text variable="title"/>
+ </if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+</macro>
+
+<macro name="publisher">
+ <text variable="publisher"/>
+</macro>
+
+<macro name="issued">
+ <choose>
+ <if variable="issued">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </if>
+ <else>
+ <text term="in press"/>
+ </else>
+ </choose>
+</macro>
+
+<macro name="page-chapter">
+ <choose>
+ <if variable="page">
+ <label variable="page" form="short" prefix="p" suffix=" " plural="never"/>
+ <text variable="page"/>
+ </if>
+ <else>
+ <text term="in press"/>
+ </else>
+ </choose>
+</macro>
+
+<citation collapse="year-suffix" et-al-min="3" et-al-use-first="1"
+ et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true">
+ <sort>
+ <key variable="issued"/>
+ <key variable="author"/>
+ </sort>
+ <layout prefix="(" suffix=")" delimiter=", ">
+ <group delimiter=" ">
+ <text macro="author-short"/>
+ <text macro="issued"/>
+ <group>
+ <label variable="locator" suffix="." form="short"/>
+ <text variable="locator" prefix=" "/>
+ </group>
+ </group>
+ </layout>
+</citation>
+
+<bibliography hanging-indent="true">
+ <sort>
+ <key macro="author-short" names-min="1" names-use-first="1"/>
+ <key macro="author-count" names-min="3" names-use-first="3"/>
+ <key variable="issued"/>
+ </sort>
+ <layout>
+ <text macro="author" suffix=""/>
+ <date variable="issued" prefix=" " suffix=".">
+ <date-part name="year"/>
+ </date>
+ <choose>
+ <if type="book">
+ <group suffix=".">
+ <text macro="title" prefix=" "/>
+ <text macro="editor-translator" prefix=" "/>
+ </group>
+ <text prefix=" - " suffix="." macro="publisher"/>
+ </if>
+ <else-if type="chapter">
+ <text macro="title" prefix=" "/>
+ <group prefix=". - ">
+ <text term="in" text-case="capitalize-first" suffix=": "/>
+ <names variable="editor translator">
+ <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". "
+ delimiter=", " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1"/>
+ <label form="short" prefix=" (" suffix=")," strip-periods="true"/>
+ </names>
+ <text variable="container-title" prefix=" " suffix="."/>
+ <text macro="edition" prefix=" " suffix=""/>
+ <text variable="collection-title" prefix=" " suffix="."/>
+ <group suffix=".">
+ <text macro="publisher" prefix=" " suffix=","/>
+ <text macro="page-chapter" prefix=" "/>
+ </group>
+ </group>
+ </else-if>
+ <else>
+ <group suffix=".">
+ <text macro="title" prefix=" " />
+ <text macro="editor-translator" prefix=" "/>
+ </group>
+ <text variable="container-title" form="short" prefix=" - "/>
+ <choose>
+ <if variable="page">
+ <text variable="volume" prefix=" "/>
+ <text variable="page" prefix=": " suffix="."/>
+ </if>
+ <else>
+ <text term="in press" prefix=" " suffix="."/>
+ </else>
+ </choose>
+ </else>
+ </choose>
+ </layout>
+</bibliography>
+
+</style>
+
+
+
Oops, something went wrong.

0 comments on commit 3b4d8cd

Please sign in to comment.