Skip to content

Commit

Permalink
Use a <choose> element for biochemistry.csl to avoid output of th…
Browse files Browse the repository at this point in the history
…e publisher for journal or magazine
  • Loading branch information
cparnot committed Feb 6, 2012
1 parent d553ecd commit 64174f5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions biochemistry.csl
Expand Up @@ -86,9 +86,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="event">
Expand Down

0 comments on commit 64174f5

Please sign in to comment.