commit fadef0c9d9a45ed00c05bf2edeaf1646e17977da
parent f43034d8936f3b062f146d12ef30c9443f197807
Author: Julian Onions <julian.onions@gmail.com>
Date: Fri, 30 Nov 2007 08:23:52 +0000
Updated to provide the internet tag and the access date - couple of other minor tweaks too.
Diffstat:
| M | csl/nlm.csl | | | 174 | ++++++++++++++++++++++++++++++++++++++++++++++--------------------------------- |
1 file changed, 101 insertions(+), 73 deletions(-)
diff --git a/csl/nlm.csl b/csl/nlm.csl
@@ -1,77 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" xml:lang="en">
- <info>
- <title>National Library of Medicine</title>
- <id>http://www.zotero.org/styles/nlm</id>
- <link>http://www.zotero.org/styles/nlm</link>
- <author>
- <name>Michael Berkowitz</name>
- <email>mberkowi@gmu.edu</email>
- </author>
- <category term="generic-base"/>
- <category term="numeric"/>
- <updated></updated>
- </info>
- <macro name="author">
- <names variable="author" suffix=". ">
- <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
- </names>
- </macro>
- <macro name="editor">
- <names variable="editor" suffix=", editor(s). ">
- <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
- </names>
- </macro>
- <macro name="publisher">
- <text variable="publisher-place" suffix=": "/>
- <text variable="publisher" suffix="; "/>
- <date variable="issued">
- <date-part name="year" suffix=". "/>
- </date>
- </macro>
- <citation>
- <option name="collapse" value="citation-number"/>
- <sort>
- <key variable="citation-number"/>
- </sort>
- <layout prefix="(" suffix=")" delimiter="; ">
- <text variable="citation-number"/>
- </layout>
- </citation>
- <bibliography>
- <option name="et-al-min" value="7"/>
- <option name="et-al-use-first" value="6"/>
- <option name="second-field-align" value="true"/>
- <layout>
- <text variable="citation-number" suffix=". "/>
- <text macro="author"/>
- <text variable="title" suffix=". "/>
- <choose>
- <if type="book">
- <text variable="edition" prefix=" " suffix=" ed. "/>
- <text macro="publisher" prefix=" "/>
- </if>
- <else-if type="chapter">
- <group prefix=" In: " suffix=". ">
- <text macro="editor"/>
- <text variable="container-title"/>
- </group>
- <text macro="publisher" prefix=" "/>
- <text variable="page" prefix=" p. " suffix="."/>
- </else-if>
- <else>
- <text variable="container-title" suffix=". " form="short"/>
- <date variable="issued" suffix=";">
- <date-part name="year" suffix=" "/>
- <date-part name="month" form="short" suffix=" "/>
- <date-part name="day"/>
- </date>
- <text variable="volume"/>
- <text variable="issue" prefix="(" suffix="):"/>
- <text variable="page" suffix="."/>
- </else>
- </choose>
- </layout>
- </bibliography>
+ <info>
+ <title>National Library of Medicine</title>
+ <id>http://www.zotero.org/styles/nlm</id>
+ <link>http://www.zotero.org/styles/nlm</link>
+ <author>
+ <name>Michael Berkowitz</name>
+ <email>mberkowi@gmu.edu</email>
+ </author>
+ <category term="generic-base"/>
+ <category term="numeric"/>
+ <updated></updated>
+ </info>
+ <macro name="author">
+ <names variable="author" suffix=". ">
+ <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
+ </names>
+ </macro>
+ <macro name="editor">
+ <names variable="editor" suffix=", editor(s). ">
+ <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
+ </names>
+ </macro>
+ <macro name="publisher">
+ <text variable="publisher-place" suffix=": "/>
+ <text variable="publisher" suffix="; "/>
+ <date variable="issued">
+ <date-part name="year" suffix=". "/>
+ </date>
+ </macro>
+ <macro name="access">
+ <group delimiter=" ">
+ <group prefix="[" suffix="]" delimiter=" ">
+ <text value="cited" text-case="lowercase"/>
+ <date variable="accessed" suffix=" ">
+ <date-part name="year"/>
+ <date-part name="month" prefix=" " form="short"/>
+ <date-part name="day" prefix=" "/>
+ </date>
+ </group>
+ <group>
+ <text value="Available from: "/>
+ <text variable="URL"/>
+ </group>
+ </group>
+ </macro>
+ <macro name="title">
+ <group delimiter=" ">
+ <text variable="title"/>
+ <choose>
+ <if variable="URL">
+ <text value="[Internet]"/>
+ </if>
+ </choose>
+ </group>
+ </macro>
+ <citation>
+ <option name="collapse" value="citation-number"/>
+ <sort>
+ <key variable="citation-number"/>
+ </sort>
+ <layout prefix="(" suffix=")" delimiter="; ">
+ <text variable="citation-number"/>
+ </layout>
+ </citation>
+ <bibliography>
+ <option name="et-al-min" value="7"/>
+ <option name="et-al-use-first" value="6"/>
+ <option name="second-field-align" value="true"/>
+ <layout>
+ <text variable="citation-number" suffix=". "/>
+ <text macro="author"/>
+ <text macro="title" suffix=". "/>
+ <choose>
+ <if type="book">
+ <text variable="edition" prefix=" " suffix=" ed. "/>
+ <text macro="publisher" prefix=" "/>
+ </if>
+ <else-if type="chapter">
+ <group prefix=" " suffix=". ">
+ <text term="in" suffix=": " text-case="capitalize-first"/>
+ <text macro="editor"/>
+ <text variable="container-title"/>
+ </group>
+ <text macro="publisher" prefix=" "/>
+ <text variable="page" prefix=" p. " suffix="."/>
+ </else-if>
+ <else>
+ <text variable="container-title" suffix=". " form="short"/>
+ <date variable="issued" suffix=";">
+ <date-part name="year" suffix=" "/>
+ <date-part name="month" form="short" suffix=" "/>
+ <date-part name="day"/>
+ </date>
+ <text variable="volume"/>
+ <text variable="issue" prefix="(" suffix="):"/>
+ <text variable="page" suffix="."/>
+ </else>
+ </choose>
+ <text macro="access"/>
+ </layout>
+ </bibliography>
</style>