Skip to content
Browse files

remove "Anon" from AMA style and replace by title substitute (and som…

…e clean-up)
  • Loading branch information...
1 parent a6fb9ff commit b18c75b21bd4ca215adcea92667a09307fd95869 @adam3smith adam3smith committed Sep 30, 2012
Showing with 5 additions and 9 deletions.
  1. +5 −9 american-medical-association.csl
View
14 american-medical-association.csl
@@ -18,20 +18,17 @@
<macro name="editor">
<names variable="editor">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
- <label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
+ <label form="short" prefix=", "/>
</names>
</macro>
- <macro name="anon">
- <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
- </macro>
<macro name="author">
<group suffix=".">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
- <label form="short" prefix=" " suffix="" text-case="lowercase" strip-periods="true"/>
+ <label form="short" prefix=", "/>
<substitute>
<names variable="editor"/>
- <text macro="anon"/>
+ <text macro="title"/>
</substitute>
</names>
</group>
@@ -42,7 +39,6 @@
<substitute>
<names variable="editor"/>
<names variable="translator"/>
- <text macro="anon"/>
</substitute>
</names>
</macro>
@@ -103,7 +99,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>
@@ -202,7 +198,7 @@
<group suffix="," prefix=" " delimiter=" ">
<text macro="editor" prefix="(" suffix=")"/>
</group>
- <group prefix=" " suffix=" " delimiter=" ">
+ <group prefix=" " delimiter=" ">
<text variable="container-title"/>
<text variable="volume"/>
</group>

0 comments on commit b18c75b

Please sign in to comment.
Something went wrong with that request. Please try again.