Created a new style for all ASM (American Society for Microbiology) journals, based on jbact.csl, which contained some errors.

Corrected errors:
Removed spacing between the bibliography entries.
Put a space after the journal name instead of a period.
Deleted one of the two spaces after the author listing.
Removed one of the two spaces after the journal title.
Journal abbreviations are now used when available.

This changed style was validated using RNV and csl.rnc.
This commit is contained in:
Rintze Zelle 2008-08-14 16:30:42 +00:00
parent 96e88bda1e
commit 552008468e

100
csl/asm-journals.csl Normal file
View file

@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" xml:lang="en">
<info>
<title>American Society for Microbiology</title>
<id>http://www.zotero.org/styles/asm-journals</id>
<link href="http://www.zotero.org/styles/jbact"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>
<category term="numeric"/>
<category term="biology"/>
<updated>2008-01-14T22:50:57+00:00</updated>
<summary>Style for all American Society for Microbiology journals.</summary>
<link href="http://aem.asm.org/cgi/content/full/74/1/1#References." rel="documentation"/>
</info>
<macro name="author">
<names variable="author" suffix=".">
<name sort-separator=" " initialize-with=". "
and="text" font-weight="bold"
name-as-sort-order="first" delimiter=", "
delimiter-precedes-last="always"/>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name sort-separator=" " initialize-with=". " and="text"
delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" text-case="lowercase" suffix=")"/>
</names>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher" />
<text variable="publisher-place" />
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</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="entry-spacing" value="0"/>
<sort>
<key macro="author"/>
<key variable="title"/>
</sort>
<layout suffix="." >
<group delimiter=" ">
<text variable="citation-number" suffix=". "/>
<text macro="author"/>
<date variable="issued" suffix=".">
<date-part name="year"/>
</date>
<text variable="title" suffix="."/>
<choose>
<if type="chapter">
<group class="container" delimiter=" ">
<text variable="page" prefix="p. " suffix="."/>
<text term="in" text-case="capitalize-first" font-style="italic"/>
<group delimiter=", ">
<text macro="editor"/>
<text variable="container-title" />
<text variable="collection-title" prefix=" " suffix="."/>
<text macro="edition" />
<text variable="volume" prefix="vol. " suffix="."/>
</group>
<text macro="publisher"/>
</group>
</if>
<else>
<text variable="container-title" form="short" suffix=" "/>
<group delimiter=":">
<text variable="volume" font-weight="bold"/>
<text variable="page"/>
</group>
</else>
</choose>
</group>
</layout>
</bibliography>
</style>