Skip to content

Commit

Permalink
Fix collection-title showing for books
Browse files Browse the repository at this point in the history
  • Loading branch information
bwiernik committed Apr 11, 2019
1 parent 75a4da6 commit 1c1228a
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 7 deletions.
10 changes: 9 additions & 1 deletion apa-annotated-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,15 @@
</else>
</choose>
</else-if>
<else-if type="book broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<else-if type="book">
<choose>
<!-- book and software should not cite collection-title, only container-title -->
<if variable="container-title">
<text macro="container-booklike"/>
</if>
</choose>
</else-if>
<else-if type="broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<text macro="container-booklike"/>
</else-if>
<else-if type="bill legal_case legislation treaty" match="any">
Expand Down
10 changes: 9 additions & 1 deletion apa-cv.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,15 @@
</else>
</choose>
</else-if>
<else-if type="book broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<else-if type="book">
<choose>
<!-- book and software should not cite collection-title, only container-title -->
<if variable="container-title">
<text macro="container-booklike"/>
</if>
</choose>
</else-if>
<else-if type="broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<text macro="container-booklike"/>
</else-if>
<else-if type="bill legal_case legislation treaty" match="any">
Expand Down
10 changes: 9 additions & 1 deletion apa-no-ampersand.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,15 @@
</else>
</choose>
</else-if>
<else-if type="book broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<else-if type="book">
<choose>
<!-- book and software should not cite collection-title, only container-title -->
<if variable="container-title">
<text macro="container-booklike"/>
</if>
</choose>
</else-if>
<else-if type="broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<text macro="container-booklike"/>
</else-if>
<else-if type="bill legal_case legislation treaty" match="any">
Expand Down
10 changes: 9 additions & 1 deletion apa-no-doi-no-issue.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,15 @@
</else>
</choose>
</else-if>
<else-if type="book broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<else-if type="book">
<choose>
<!-- book and software should not cite collection-title, only container-title -->
<if variable="container-title">
<text macro="container-booklike"/>
</if>
</choose>
</else-if>
<else-if type="broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<text macro="container-booklike"/>
</else-if>
<else-if type="bill legal_case legislation treaty" match="any">
Expand Down
10 changes: 9 additions & 1 deletion apa-old-doi-prefix.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,15 @@
</else>
</choose>
</else-if>
<else-if type="book broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<else-if type="book">
<choose>
<!-- book and software should not cite collection-title, only container-title -->
<if variable="container-title">
<text macro="container-booklike"/>
</if>
</choose>
</else-if>
<else-if type="broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<text macro="container-booklike"/>
</else-if>
<else-if type="bill legal_case legislation treaty" match="any">
Expand Down
10 changes: 9 additions & 1 deletion apa-single-spaced.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,15 @@
</else>
</choose>
</else-if>
<else-if type="book broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<else-if type="book">
<choose>
<!-- book and software should not cite collection-title, only container-title -->
<if variable="container-title">
<text macro="container-booklike"/>
</if>
</choose>
</else-if>
<else-if type="broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<text macro="container-booklike"/>
</else-if>
<else-if type="bill legal_case legislation treaty" match="any">
Expand Down
10 changes: 9 additions & 1 deletion apa.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,15 @@
</else>
</choose>
</else-if>
<else-if type="book broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<else-if type="book">
<choose>
<!-- book and software should not cite collection-title, only container-title -->
<if variable="container-title">
<text macro="container-booklike"/>
</if>
</choose>
</else-if>
<else-if type="broadcast chapter entry entry-dictionary entry-encyclopedia graphic map speech" match="any">
<text macro="container-booklike"/>
</else-if>
<else-if type="bill legal_case legislation treaty" match="any">
Expand Down

0 comments on commit 1c1228a

Please sign in to comment.