Skip to content

Commit

Permalink
Condition rendering of archive-place on presence of archive or archiv…
Browse files Browse the repository at this point in the history
…e_location
  • Loading branch information
fbennett committed Apr 30, 2014
1 parent 80171b1 commit 273cd84
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions american-anthropological-association.csl
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,15 @@
</names>
</macro>
<macro name="archive">
<group delimiter=". ">
<text variable="archive_location" text-case="capitalize-first"/>
<text variable="archive"/>
<text variable="archive-place"/>
</group>
<choose>
<if variable="archive archive_location" match="any">
<group delimiter=". ">
<text variable="archive_location" text-case="capitalize-first"/>
<text variable="archive"/>
<text variable="archive-place"/>
</group>
</if>
</choose>
</macro>
<macro name="access">
<choose>
Expand Down

0 comments on commit 273cd84

Please sign in to comment.