Skip to content

Commit

Permalink
Use a <choose> element for american-society-for-microbiology.csl
Browse files Browse the repository at this point in the history
…to avoid output of the publisher for journal or magazine
  • Loading branch information
cparnot committed Feb 22, 2012
1 parent 24368af commit 0e68473
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions american-society-for-microbiology.csl
Expand Up @@ -19,7 +19,7 @@
</contributor> </contributor>
<category citation-format="numeric"/> <category citation-format="numeric"/>
<category field="biology"/> <category field="biology"/>
<updated>2012-01-01T00:00:00+00:00</updated> <updated>2012-02-21T00:00:00+00:00</updated>
<summary>Style for all American Society for Microbiology journals.</summary> <summary>Style for all American Society for Microbiology journals.</summary>
<link href="http://aem.asm.org/misc/journal-ita_org.dtl#03" rel="documentation"/> <link href="http://aem.asm.org/misc/journal-ita_org.dtl#03" rel="documentation"/>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights> <rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
Expand Down Expand Up @@ -87,9 +87,13 @@
</macro> </macro>
<macro name="publisher"> <macro name="publisher">
<group delimiter=", " prefix=". "> <group delimiter=", " prefix=". ">
<text variable="genre"/> <choose>
<text variable="publisher"/> <if type="article-journal article-magazine" match="none">
<text variable="publisher-place"/> <text variable="genre"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
</if>
</choose>
</group> </group>
</macro> </macro>
<macro name="locators"> <macro name="locators">
Expand Down

0 comments on commit 0e68473

Please sign in to comment.