commit d7e164459cbf6c64152fdc4e0d56517c46cbf707
parent 0a385c9e2ecb22cda72b6bcb9e8996b00d2bf4c6
Author: Julian Onions <julian.onions@gmail.com>
Date: Wed, 14 Nov 2007 09:39:26 +0000
Science journal format
Diffstat:
| A | csl/science.csl | | | 126 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 126 insertions(+), 0 deletions(-)
diff --git a/csl/science.csl b/csl/science.csl
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
+ <info>
+ <title>Science journal format</title>
+ <id>http://www.zotero.org/styles/science</id>
+ <link>http://www.zotero.org/styles/science</link>
+ <author>
+ <name>Julian Onions</name>
+ <email>julian.onions@gmail.com</email>
+ </author>
+ <category term="author-date"/>
+ <updated/>
+ <summary>The Science journal style.</summary>
+ <source>http://www.sciencemag.org/about/authors/prep/res/refs.dtl</source>
+ </info>
+ <macro name="editor">
+ <names variable="editor" prefix="" suffix="" delimiter=", ">
+ <name initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
+ <label form="short" prefix=", " text-transform="capitalize" suffix="."/>
+ </names>
+ </macro>
+ <macro name="author">
+ <names variable="author">
+ <name sort-separator=", " initialize-with=". "
+ delimiter=", " delimiter-precedes-last="always"/>
+ <label form="short" prefix=", " suffix="." text-transform="capitalize"/>
+ <substitute>
+ <names variable="editor"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="access">
+ <text variable="URL"/>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="book">
+ <text variable="title" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="publisher">
+ <group delimiter=", ">
+ <text variable="publisher"/>
+ <text variable="publisher-place"/>
+ </group>
+ </macro>
+ <macro name="volume">
+ <text variable="volume" prefix="vol. "/>
+ </macro>
+ <macro name="pages">
+ <label variable="page" form="short" suffix=". "/>
+ <text variable="page"/>
+ </macro>
+ <macro name="issued">
+ <date variable="issued" delimiter=" ">
+ <date-part name="month" form="long" suffix=" "/>
+ <date-part name="year"/>
+ </date>
+ </macro>
+ <citation>
+ <option name="collapse" value="citation-number"/>
+ <layout prefix="(" suffix=")" delimiter=", " font-style="italic">
+ <text variable="citation-number" />
+ </layout>
+ </citation>
+ <bibliography>
+ <option name="hanging-indent" value="false"/>
+ <option name="et-al-min" value="5"/>
+ <option name="et-al-use-first" value="1"/>
+ <layout suffix=".">
+ <text variable="citation-number" suffix=". "/>
+ <text macro="author" suffix=", "/>
+ <choose>
+ <if type="thesis">
+ <text value="thesis, "/>
+ <text macro="publisher"/>
+ <text macro="issued" prefix=" (" suffix=")"/>
+ </if>
+ <else-if type="book">
+ <group>
+ <text macro="title" prefix=" "/>
+ <text macro="editor" prefix=" "/>
+ </group>
+ <group prefix=" (" suffix=")" delimiter=", ">
+ <text macro="publisher"/>
+ <text variable="edition"/>
+ <text macro="issued"/>
+ </group>
+ <text macro="pages" prefix=", "/>
+ </else-if>
+ <else-if type="chapter">
+ <group class="container" prefix=" ">
+ <text term="in" text-transform="lowercase"/>
+ <text variable="container-title" font-style="italic" prefix=" " suffix=","/>
+ <text variable="collection-title" prefix=" " suffix="."/>
+ <text macro="editor" prefix=" "/>
+ <group prefix=" (" suffix=")" delimiter=", ">
+ <text macro="publisher" />
+ <text macro="issued"/>
+ </group>
+ </group>
+ <group delimiter=", " prefix=", ">
+ <text macro="volume"/>
+ <text macro="pages"/>
+ </group>
+ </else-if>
+ <else>
+ <group suffix=".">
+ <text macro="editor" prefix=" "/>
+ </group>
+ <group class="container" prefix=" ">
+ <text variable="container-title" font-style="italic" suffix=". "/>
+ <text variable="volume" font-weight="bold"/>
+ <text variable="page" prefix=", "/>
+ </group>
+ <text macro="issued" prefix=" (" suffix=")"/>
+ </else>
+ </choose>
+ <text prefix=" " macro="access" suffix="."/>
+ </layout>
+ </bibliography>
+</style>