Skip to content

Commit

Permalink
Merge pull request #6253 from nschneid/patch-1
Browse files Browse the repository at this point in the history
ACL: check if edition is ordinal before printing the word "edition"
  • Loading branch information
denismaier authored Nov 9, 2022
2 parents 77fab39 + cebec0e commit cc7d016
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions association-for-computational-linguistics.csl
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,17 @@
</choose>
</macro>
<macro name="edition">
<number variable="edition" form="ordinal"/>
<text term="edition" prefix=" "/>
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<macro name="volume-or-number">
<choose>
Expand Down

0 comments on commit cc7d016

Please sign in to comment.