Skip to content

Commit

Permalink
APA: Always print Version label (#7154)
Browse files Browse the repository at this point in the history
Co-authored-by: Rafał Kopicki <[email protected]>
  • Loading branch information
bwiernik and rkopicki authored Aug 6, 2024
1 parent df939b8 commit 4e4bc8f
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 99 deletions.
15 changes: 4 additions & 11 deletions apa-annotated-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1313,17 +1313,10 @@
</choose>
</macro>
<macro name="version">
<choose>
<if is-numeric="version">
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</if>
<else>
<text variable="version"/>
</else>
</choose>
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</macro>
<macro name="edition">
<choose>
Expand Down
15 changes: 4 additions & 11 deletions apa-cv.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1313,17 +1313,10 @@
</choose>
</macro>
<macro name="version">
<choose>
<if is-numeric="version">
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</if>
<else>
<text variable="version"/>
</else>
</choose>
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</macro>
<macro name="edition">
<choose>
Expand Down
15 changes: 4 additions & 11 deletions apa-no-ampersand.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1363,17 +1363,10 @@
</choose>
</macro>
<macro name="version">
<choose>
<if is-numeric="version">
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</if>
<else>
<text variable="version"/>
</else>
</choose>
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</macro>
<macro name="edition">
<choose>
Expand Down
15 changes: 4 additions & 11 deletions apa-no-initials.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1313,17 +1313,10 @@
</choose>
</macro>
<macro name="version">
<choose>
<if is-numeric="version">
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</if>
<else>
<text variable="version"/>
</else>
</choose>
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</macro>
<macro name="edition">
<choose>
Expand Down
15 changes: 4 additions & 11 deletions apa-numeric-superscript-brackets.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1314,17 +1314,10 @@
</choose>
</macro>
<macro name="version">
<choose>
<if is-numeric="version">
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</if>
<else>
<text variable="version"/>
</else>
</choose>
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</macro>
<macro name="edition">
<choose>
Expand Down
15 changes: 4 additions & 11 deletions apa-numeric-superscript.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1314,17 +1314,10 @@
</choose>
</macro>
<macro name="version">
<choose>
<if is-numeric="version">
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</if>
<else>
<text variable="version"/>
</else>
</choose>
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</macro>
<macro name="edition">
<choose>
Expand Down
15 changes: 4 additions & 11 deletions apa-single-spaced.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1313,17 +1313,10 @@
</choose>
</macro>
<macro name="version">
<choose>
<if is-numeric="version">
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</if>
<else>
<text variable="version"/>
</else>
</choose>
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</macro>
<macro name="edition">
<choose>
Expand Down
15 changes: 4 additions & 11 deletions apa-with-abstract.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1313,17 +1313,10 @@
</choose>
</macro>
<macro name="version">
<choose>
<if is-numeric="version">
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</if>
<else>
<text variable="version"/>
</else>
</choose>
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</macro>
<macro name="edition">
<choose>
Expand Down
15 changes: 4 additions & 11 deletions apa.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1313,17 +1313,10 @@
</choose>
</macro>
<macro name="version">
<choose>
<if is-numeric="version">
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</if>
<else>
<text variable="version"/>
</else>
</choose>
<group delimiter=" ">
<label variable="version" text-case="capitalize-first"/>
<text variable="version"/>
</group>
</macro>
<macro name="edition">
<choose>
Expand Down

0 comments on commit 4e4bc8f

Please sign in to comment.