Skip to content

Commit

Permalink
Capitalize container-titles for Books in APA
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith committed Sep 20, 2012
1 parent ce27f1f commit 56abb98
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions apa.csl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
Expand Down Expand Up @@ -291,7 +291,7 @@
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="." strip-periods="true"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
Expand Down Expand Up @@ -320,11 +320,11 @@
<group prefix=" (" suffix=")" delimiter=", ">
<text macro="edition"/>
<group>
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=". " strip-periods="true"/>
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=" "/>
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
</group>
<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
<number variable="volume" form="numeric"/>
</group>
<group>
Expand Down Expand Up @@ -371,7 +371,15 @@
<macro name="container-title">
<choose>
<if type="bill legal_case legislation" match="none">
<text variable="container-title" font-style="italic"/>
<choose>
<if type="article-journal article-newspaper article-magazine">
<text variable="container-title" font-style="italic"/>
</if>
<else>
<!--Book Title and other containers should be Title Cased in APA. We're not title-casing periodicals because proper names can be tricky-->
<text variable="container-title" font-style="italic" text-case="title"/>
</else>
</choose>
</if>
<else>
<group delimiter=" " prefix=", ">
Expand Down

0 comments on commit 56abb98

Please sign in to comment.