Skip to content

Commit

Permalink
adds title case to book titles-both monographs and containers-in all …
Browse files Browse the repository at this point in the history
…AMA styles. closes citation-style-language#977
  • Loading branch information
adam3smith committed Jun 10, 2014
1 parent 7d6b7a6 commit 101fadd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions american-medical-association-alphabetical.csl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
<text variable="title" font-style="italic" text-case="title"/>
</if>
<else>
<text variable="title"/>
Expand Down Expand Up @@ -161,7 +161,7 @@
<group prefix=" ">
<text term="in" text-case="capitalize-first" suffix=": "/>
<text macro="editor"/>
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
<text variable="container-title" font-style="italic" prefix=" " suffix="." text-case="title"/>
<text variable="volume" prefix="Vol " suffix="."/>
<text macro="edition" prefix=" "/>
<text variable="collection-title" prefix=" " suffix="."/>
Expand Down Expand Up @@ -232,7 +232,7 @@
<else>
<text macro="editor" prefix=" " suffix="."/>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic" form="short" strip-periods="true" suffix="."/>
<text variable="container-title" font-style="italic" strip-periods="true" form="short" suffix="."/>
<group delimiter=";" prefix=" ">
<date variable="issued">
<date-part name="year"/>
Expand Down
8 changes: 4 additions & 4 deletions american-medical-association-no-et-al.csl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
<text variable="title" font-style="italic" text-case="title"/>
</if>
<else>
<text variable="title"/>
Expand Down Expand Up @@ -142,7 +142,7 @@
<if type="bill book graphic legislation motion_picture report song" match="any">
<group suffix="." prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="editor" prefix=" (" suffix=")"/>
<text macro="editor" prefix="(" suffix=")"/>
</group>
<text prefix=" " macro="publisher"/>
<group suffix="." prefix="; ">
Expand All @@ -156,7 +156,7 @@
<group prefix=" ">
<text term="in" text-case="capitalize-first" suffix=": "/>
<text macro="editor"/>
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
<text variable="container-title" font-style="italic" prefix=" " suffix="." text-case="title"/>
<text variable="volume" prefix="Vol " suffix="."/>
<text macro="edition" prefix=" "/>
<text variable="collection-title" prefix=" " suffix="."/>
Expand Down Expand Up @@ -227,7 +227,7 @@
<else>
<text macro="editor" prefix=" " suffix="."/>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic" form="short" strip-periods="true" suffix="."/>
<text variable="container-title" font-style="italic" strip-periods="true" form="short" suffix="."/>
<group delimiter=";" prefix=" ">
<date variable="issued">
<date-part name="year"/>
Expand Down
6 changes: 3 additions & 3 deletions american-medical-association-no-url.csl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
<text variable="title" font-style="italic" text-case="title"/>
</if>
<else>
<text variable="title"/>
Expand Down Expand Up @@ -130,7 +130,7 @@
<group prefix=" ">
<text term="in" text-case="capitalize-first" suffix=": "/>
<text macro="editor"/>
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
<text variable="container-title" font-style="italic" prefix=" " suffix="." text-case="title"/>
<text variable="volume" prefix="Vol " suffix="."/>
<text macro="edition" prefix=" "/>
<text variable="collection-title" prefix=" " suffix="."/>
Expand Down Expand Up @@ -201,7 +201,7 @@
<else>
<text macro="editor" prefix=" " suffix="."/>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic" form="short" strip-periods="true" suffix="."/>
<text variable="container-title" font-style="italic" strip-periods="true" form="short" suffix="."/>
<group delimiter=";" prefix=" ">
<date variable="issued">
<date-part name="year"/>
Expand Down
4 changes: 2 additions & 2 deletions american-medical-association.csl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
<text variable="title" font-style="italic" text-case="title"/>
</if>
<else>
<text variable="title"/>
Expand Down Expand Up @@ -156,7 +156,7 @@
<group prefix=" ">
<text term="in" text-case="capitalize-first" suffix=": "/>
<text macro="editor"/>
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
<text variable="container-title" font-style="italic" prefix=" " suffix="." text-case="title"/>
<text variable="volume" prefix="Vol " suffix="."/>
<text macro="edition" prefix=" "/>
<text variable="collection-title" prefix=" " suffix="."/>
Expand Down

0 comments on commit 101fadd

Please sign in to comment.