Skip to content
Browse files

Use a `<choose>` element for `american-society-for-microbiology.csl` …

…to avoid output of the publisher for journal or magazine
  • Loading branch information...
1 parent 24368af commit 0e684734a3f1ea2d4026f0a4f193c56364300969 @cparnot cparnot committed Feb 21, 2012
Showing with 8 additions and 4 deletions.
  1. +8 −4 american-society-for-microbiology.csl
View
12 american-society-for-microbiology.csl
@@ -19,7 +19,7 @@
</contributor>
<category citation-format="numeric"/>
<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>
<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>
@@ -87,9 +87,13 @@
</macro>
<macro name="publisher">
<group delimiter=", " prefix=". ">
- <text variable="genre"/>
- <text variable="publisher"/>
- <text variable="publisher-place"/>
+ <choose>
+ <if type="article-journal article-magazine" match="none">
+ <text variable="genre"/>
+ <text variable="publisher"/>
+ <text variable="publisher-place"/>
+ </if>
+ </choose>
</group>
</macro>
<macro name="locators">

0 comments on commit 0e68473

Please sign in to comment.
Something went wrong with that request. Please try again.