Making a number of minor modifications to PLoS CSL style so that it agrees more

closely with http://journals.plos.org/plosbiology/guidelines.php
Most are relatively minor involving moving periods and spaces around.  Also 
changed macro for dating references to just use year and removed DOI from
spec.  I have used XML commenting to remove these chunks in case they are
ever wanted again.
This commit is contained in:
David Kaplan 2008-06-16 13:44:11 +00:00
parent 9bcdf021dd
commit 0b4bfec8fe

View file

@ -18,7 +18,7 @@
<names variable="editor" delimiter=", "> <names variable="editor" delimiter=", ">
<name initialize-with="" name-as-sort-order="all" sort-separator=" " <name initialize-with="" name-as-sort-order="all" sort-separator=" "
delimiter=", " delimiter-precedes-last="always"/> delimiter=", " delimiter-precedes-last="always"/>
<label form="long" text-case="lowercase" prefix=" "/> <label form="long" text-case="lowercase" prefix=", "/>
</names> </names>
</macro> </macro>
<macro name="author"> <macro name="author">
@ -55,13 +55,26 @@
<text variable="publisher"/> <text variable="publisher"/>
</group> </group>
</macro> </macro>
<macro name="cite-date"> <macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date"/>
</else>
</choose>
</macro>
<!-- <macro name="cite-date">
<date variable="issued"> <date variable="issued">
<date-part name="month" suffix=" "/> <date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/> <date-part name="day" suffix=", "/>
<date-part name="year"/> <date-part name="year"/>
</date> </date>
</macro> </macro>
-->
<macro name="edition"> <macro name="edition">
<choose> <choose>
<if is-numeric="edition"> <if is-numeric="edition">
@ -87,48 +100,49 @@
<layout suffix="."> <layout suffix=".">
<text variable="citation-number" suffix=". "/> <text variable="citation-number" suffix=". "/>
<text macro="author"/> <text macro="author"/>
<text macro="cite-date" prefix=" (" suffix=")"/> <text macro="year-date" prefix=" (" suffix=")"/>
<choose> <choose>
<if type="book"> <if type="book">
<group delimiter=" " prefix=" "> <group delimiter=" " prefix=" ">
<text macro="title" suffix="."/> <text macro="title" suffix="."/>
<text macro="edition"/> <text macro="edition"/>
<text macro="editor" /> <text macro="editor" />
<text macro="publisher" /> <text macro="publisher" suffix="." />
<text variable="page" suffix=" "/> <text variable="page"/>
<label variable="page" form="short" /> <label variable="page" form="short" suffix="." />
</group> </group>
</if> </if>
<else-if type="chapter"> <else-if type="chapter">
<text macro="title" prefix=" " suffix=". "/> <text macro="title" prefix=" " suffix="."/>
<group class="container" prefix=" " delimiter=" " suffix="."> <group class="container" prefix=" " delimiter=". " suffix=".">
<text term="in" text-case="capitalize-first" suffix=":"/> <group>
<group delimiter=". "> <text term="in" text-case="capitalize-first"
<text macro="editor"/> suffix=":"/>
<text variable="container-title"/> <text macro="editor" prefix=" "/>
<text variable="collection-title" prefix=" " suffix="."/>
</group> </group>
<text variable="container-title"/>
<text variable="collection-title"/>
</group> </group>
<group suffix="." delimiter=", "> <group suffix="." delimiter=", ">
<text macro="publisher" prefix=" "/> <text macro="publisher" prefix=" "/>
<text variable="volume" prefix="Vol. "/> <text variable="volume" prefix="Vol. "/>
<group> </group>
<label variable="page" suffix=". " form="short"/> <group prefix=" ">
<text variable="page"/> <label variable="page" suffix=". " form="short"/>
</group> <text variable="page" suffix="." />
</group> </group>
</else-if> </else-if>
<else> <else>
<text macro="title" prefix=" " suffix="."/> <text macro="title" prefix=" " suffix="."/>
<group class="container" delimiter=" " prefix=" " suffix="."> <group class="container" delimiter=" " prefix=" " suffix="">
<text variable="container-title" form="short"/> <text variable="container-title" form="short"/>
<text variable="volume"/> <text variable="volume"/>
</group> </group>
<text variable="page" prefix=":"/> <text variable="page" prefix=":" suffix="." />
<text variable="DOI"/>
</else> </else>
</choose> </choose>
<text prefix=" " macro="access" /> <text prefix=" " macro="access" />
<!-- <text variable="DOI"/> -->
</layout> </layout>
</bibliography> </bibliography>
</style> </style>