Permalink
Browse files

fixes Weed Science Society

  • Loading branch information...
adam3smith committed Sep 7, 2012
1 parent b3cb930 commit 4eb8492134332c0e14ee765508801203781b2eeb
Showing with 34 additions and 12 deletions.
  1. +34 −12 weed-science-society-of-america.csl
@@ -12,16 +12,20 @@
</author>
<category citation-format="author-date"/>
<category field="biology"/>
- <updated>2012-08-26T01:22:17+00:00</updated>
+ <updated>2012-08-26T01:32:59+00:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
+ <locale xml:lang="en">
+ <terms>
+ <term name="available at">available at</term>
+ </terms>
+ </locale>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
- <text term="in" form="long" plural="false" font-style="normal" suffix=" "/>
<names variable="editor translator" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
- <label form="long" prefix=", " suffix="."/>
+ <label form="short" prefix=", " />
</names>
</if>
</choose>
@@ -31,15 +35,15 @@
<if type="chapter paper-conference" match="none">
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
<name and="text" initialize-with=". " delimiter=", "/>
- <label form="short" prefix=", " text-case="capitalize-first" suffix="." strip-periods="true"/>
+ <label form="short" prefix=", " />
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name and="text" initialize-with=". " name-as-sort-order="first"/>
- <label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
+ <label form="short" prefix=" (" suffix=")" />
<substitute>
<names variable="editor"/>
<names variable="translator"/>
@@ -68,7 +72,10 @@
<choose>
<if type="webpage" match="any">
<group delimiter=". ">
- <text variable="URL"/>
+ <group delimiter=" ">
+ <text term="available at" text-case="capitalize-first"/>
+ <text variable="URL"/>
+ </group>
<group delimiter=" ">
<text term="accessed" form="long" plural="false" text-case="capitalize-first"/>
<date variable="accessed">
@@ -85,11 +92,21 @@
<group delimiter=". " prefix=". ">
<choose>
<if type="article-journal article-magazine" match="none">
- <text variable="genre"/>
- <text variable="publisher"/>
- <text variable="publisher-place"/>
- </if>
+ <group>
+ <text variable="genre"/>
+ <choose>
+ <if type="report">
+ <text variable="number"/>
+ </if>
+ </choose>
+ </group>
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
+ <text variable="publisher"/>
+ </group>
+ </if>
</choose>
+ <text variable="number-of-pages" suffix=" p."/>
</group>
</macro>
<macro name="event">
@@ -127,7 +144,7 @@
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<choose>
<if is-numeric="edition">
- <number variable="edition" form="ordinal" prefix=", "/>
+ <number variable="edition" form="ordinal" prefix=". "/>
<text term="edition" form="long" prefix=" " suffix="."/>
</if>
<else>
@@ -140,14 +157,19 @@
<macro name="locators">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
- <text variable="container-title" prefix=". "/>
+ <text variable="container-title" prefix=". " form="short"/>
<text variable="volume" prefix=" "/>
<text variable="page" prefix=":"/>
</if>
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<group prefix=". " delimiter=" ">
<label variable="page" form="long" text-case="capitalize-first"/>
<text variable="page"/>
+ <choose>
+ <if type="chapter paper-conference" match="any">
+ <text term="in" form="long" plural="false" font-style="normal" suffix=" "/>
+ </if>
+ </choose>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text variable="container-title"/>

0 comments on commit 4eb8492

Please sign in to comment.