Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Switching the style for AJO-DO from using Vancouver to AMA as a templ…

…ate, but still needs to customize and strip periods in container title.
  • Loading branch information...
commit 69cbcdb557b4ac185616c382fde42da73ea855a2 1 parent bf0e671
@cparnot cparnot authored
Showing with 179 additions and 186 deletions.
  1. +179 −186 american-journal-of-orthodontics-and-dentofacial-orthopedics.csl
View
365 american-journal-of-orthodontics-and-dentofacial-orthopedics.csl
@@ -4,244 +4,237 @@
<title>American Journal of Orthodontics and Dentofacial Orthopedics</title>
<id>http://www.zotero.org/styles/american-journal-of-orthodontics-and-dentofacial-orthopedics</id>
<link href="http://www.zotero.org/styles/american-journal-of-orthodontics-and-dentofacial-orthopedics" rel="self"/>
- <link href="http://www.zotero.org/styles/vancouver-superscript" rel="template"/>
+ <link href="http://www.zotero.org/styles/american-medical-association" rel="template"/>
<link href="http://journals.elsevierhealth.com/periodicals/ymod/authorinfo" rel="documentation"/>
<category citation-format="numeric"/>
<category field="medicine"/>
<issn>0889-5406</issn>
+ <eissn>1097-6752</eissn>
<author>
<name>Charles Parnot</name>
<email>charles@mekentosj.com</email>
<uri>http://twitter.com/cparnot</uri>
</author>
- <updated>2012-07-25T12:00:00+00:00</updated>
+ <updated>2012-09-18T12:00:00+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
- <locale xml:lang="en">
- <terms>
- <term name="retrieved">available</term>
- <term name="section" form="short">sect.</term>
- </terms>
- </locale>
- <locale xml:lang="de">
- <terms>
- <term name="retrieved">verfügbar</term>
- <term name="from">unter</term>
- </terms>
- </locale>
+ <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"/>
+ </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"/>
+ <substitute>
+ <names variable="editor"/>
+ <text macro="anon"/>
+ </substitute>
+ </names>
+ </group>
+ </macro>
+ <macro name="author-short">
<names variable="author">
- <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
- <label form="long" prefix=", "/>
+ <name form="short" and="symbol" delimiter=", " initialize-with="."/>
<substitute>
<names variable="editor"/>
+ <names variable="translator"/>
+ <text macro="anon"/>
</substitute>
</names>
</macro>
- <macro name="editor">
- <group delimiter=": ">
- <choose>
- <if type="chapter paper-conference">
- <text term="in" text-case="capitalize-first"/>
- </if>
- </choose>
- <names variable="editor" suffix=".">
- <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
- <label form="long" prefix=", "/>
- </names>
- </group>
- </macro>
- <macro name="publisher">
- <group delimiter=": " suffix=";">
- <choose>
- <if type="thesis">
- <text variable="publisher-place" prefix="[" suffix="]"/>
- </if>
- <else>
- <text variable="publisher-place"/>
- </else>
- </choose>
- <text variable="publisher"/>
- </group>
- </macro>
<macro name="access">
<choose>
- <if variable="URL">
- <group delimiter=": ">
- <group delimiter=" ">
- <text term="retrieved" text-case="capitalize-first"/>
- <text term="from"/>
- </group>
- <text variable="URL"/>
- </group>
- </if>
- </choose>
- </macro>
- <macro name="accessed-date">
- <choose>
- <if variable="URL">
- <group prefix="[" suffix="]" delimiter=" ">
- <text term="cited" text-case="lowercase"/>
- <date variable="accessed" suffix="">
- <date-part name="year"/>
- <date-part name="month" prefix=" " form="short" strip-periods="true"/>
- <date-part name="day" prefix=" "/>
- </date>
- </group>
- </if>
- </choose>
- </macro>
- <macro name="container-title">
- <choose>
- <if type="article-journal article-magazine chapter paper-conference article-newspaper" match="any">
- <group suffix="." delimiter=" ">
- <text variable="container-title" form="short" strip-periods="true"/>
- <choose>
- <if variable="URL">
- <text term="internet" prefix="[" suffix="]" text-case="capitalize-first"/>
- </if>
- </choose>
- </group>
- <text macro="edition" prefix=" "/>
- </if>
- <!--add event-name and event-place once they become available-->
- <else-if type="bill legislation">
- <group delimiter=", ">
- <group delimiter=". ">
- <text variable="container-title" form="short" strip-periods="true"/>
- <group delimiter=" ">
- <text term="section" form="short" text-case="capitalize-first"/>
- <text variable="section"/>
- </group>
- </group>
- <text variable="number"/>
- </group>
- </else-if>
- <else>
- <text variable="container-title" suffix="." form="short" strip-periods="true"/>
- </else>
- </choose>
- </macro>
- <macro name="title">
- <text variable="title"/>
- <choose>
- <if type="article-journal article-magazine chapter paper-conference article-newspaper" match="none">
+ <if type="article-newspaper" match="none">
<choose>
<if variable="URL">
- <text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
+ <text value="Available at:" suffix=" "/>
+ <group delimiter=". ">
+ <text variable="URL"/>
+ <group>
+ <text term="accessed" text-case="capitalize-first" suffix=" "/>
+ <date variable="accessed">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
</if>
</choose>
- <text macro="edition" prefix=". "/>
- </if>
- </choose>
- <choose>
- <if type="thesis">
- <text variable="genre" prefix=" [" suffix="]"/>
</if>
</choose>
</macro>
- <macro name="edition">
+ <macro name="title">
<choose>
- <if is-numeric="edition">
- <group delimiter=" ">
- <number variable="edition" form="ordinal"/>
- <text term="edition" form="short"/>
- </group>
+ <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
+ <text variable="title" font-style="italic"/>
</if>
<else>
- <text variable="edition" suffix="."/>
+ <text variable="title"/>
</else>
</choose>
</macro>
- <macro name="date">
- <choose>
- <if type="article-journal article-magazine article-newspaper" match="any">
- <group suffix=";" delimiter=" ">
- <date variable="issued" delimiter=" ">
- <date-part name="year"/>
- </date>
- <text macro="accessed-date"/>
- </group>
- </if>
- <else-if type="bill legislation">
- <group delimiter=", ">
- <date variable="issued" delimiter=" ">
- <date-part name="month" form="short" strip-periods="true"/>
- <date-part name="day"/>
- </date>
- <date variable="issued">
- <date-part name="year"/>
- </date>
- </group>
- </else-if>
- <else-if type="report">
- <date variable="issued" delimiter=" ">
- <date-part name="year"/>
- <date-part name="month" form="short" strip-periods="true"/>
- </date>
- </else-if>
- <else>
- <group suffix=".">
+ <macro name="publisher">
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
+ <text variable="publisher"/>
+ </group>
+ </macro>
+ <macro name="year-date">
+ <group prefix=" ">
+ <choose>
+ <if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
- <text macro="accessed-date" prefix=" "/>
- </group>
- </else>
- </choose>
+ </if>
+ <else>
+ <text term="no date" form="short"/>
+ </else>
+ </choose>
+ </group>
</macro>
- <macro name="pages">
+ <macro name="edition">
<choose>
- <if type="article-journal article-magazine article-newspaper" match="any">
- <text variable="page" prefix=":"/>
+ <if is-numeric="edition">
+ <group delimiter=" ">
+ <number variable="edition" form="ordinal"/>
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
+ </group>
</if>
<else>
- <text variable="page" prefix=" p. "/>
+ <text variable="edition" suffix="."/>
</else>
</choose>
</macro>
- <macro name="journal-location">
- <choose>
- <if type="article-journal article-magazine" match="any">
- <text variable="volume"/>
- <text variable="issue" prefix="(" suffix=")"/>
- </if>
- </choose>
- </macro>
- <macro name="report-details">
- <choose>
- <if type="report">
- <text variable="number" prefix="Report No.: "/>
- </if>
- </choose>
- </macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," vertical-align="sup">
<text variable="citation-number"/>
+ <group prefix="(" suffix=")">
+ <label variable="locator" form="short" strip-periods="true"/>
+ <text variable="locator"/>
+ </group>
</layout>
</citation>
- <bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
+ <bibliography hanging-indent="false" et-al-min="7" et-al-use-first="3">
<layout>
<text variable="citation-number" suffix=". "/>
- <group delimiter=". " suffix=". ">
- <text macro="author"/>
- <text macro="title"/>
- </group>
- <group delimiter=" " suffix=". ">
- <text macro="editor"/>
- <text macro="container-title"/>
- <text macro="publisher"/>
- <group>
- <text macro="date"/>
- <text macro="journal-location"/>
- <text macro="pages"/>
- </group>
- </group>
- <text macro="report-details" suffix=". "/>
- <text macro="access"/>
+ <text macro="author"/>
+ <text macro="title" prefix=" " suffix="."/>
+ <choose>
+ <if type="bill book graphic legislation motion_picture report song" match="any">
+ <group suffix="." prefix=" " delimiter=" ">
+ <text macro="edition"/>
+ <text macro="editor" prefix="(" suffix=")"/>
+ </group>
+ <text prefix=" " macro="publisher"/>
+ <group suffix="." prefix="; ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text variable="page" prefix=":"/>
+ </group>
+ </if>
+ <else-if type="chapter paper-conference" match="any">
+ <group prefix=" ">
+ <text term="in" text-case="capitalize-first" suffix=": "/>
+ <text macro="editor"/>
+ <text variable="container-title" font-style="italic" prefix=" " suffix="." strip-periods="true"/>
+ <text variable="volume" prefix="Vol " suffix="."/>
+ <text macro="edition" prefix=" "/>
+ <text variable="collection-title" prefix=" " suffix="."/>
+ <group suffix=".">
+ <text macro="publisher" prefix=" "/>
+ <group suffix="." prefix="; ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text variable="page" prefix=":"/>
+ </group>
+ </group>
+ </group>
+ </else-if>
+ <else-if type="article-newspaper">
+ <text variable="container-title" font-style="italic" prefix=" " suffix=". " strip-periods="true"/>
+ <choose>
+ <if variable="URL">
+ <group delimiter=". " suffix=".">
+ <text variable="URL"/>
+ <group prefix="Published ">
+ <date variable="issued">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ <group>
+ <text term="accessed" text-case="capitalize-first" suffix=" "/>
+ <date variable="accessed">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
+ </if>
+ <else>
+ <group delimiter=":" suffix=".">
+ <group>
+ <date variable="issued">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ <text variable="page"/>
+ </group>
+ </else>
+ </choose>
+ </else-if>
+ <else-if type="legal_case">
+ <group suffix="," prefix=" " delimiter=" ">
+ <text macro="editor" prefix="(" suffix=")"/>
+ </group>
+ <group prefix=" " suffix=" " delimiter=" ">
+ <text variable="container-title" strip-periods="true"/>
+ <text variable="volume"/>
+ </group>
+ <text variable="page" prefix=", " suffix=" "/>
+ <group prefix="(" suffix=")." delimiter=" ">
+ <text variable="authority"/>
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </group>
+ </else-if>
+ <else>
+ <text macro="editor" prefix=" " suffix="."/>
+ <group prefix=" " suffix=".">
+ <text variable="container-title" font-style="italic" form="short" suffix="." strip-periods="true"/>
+ <group delimiter=";" prefix=" ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <group>
+ <text variable="volume"/>
+ <text variable="issue" prefix="(" suffix=")"/>
+ </group>
+ </group>
+ <text variable="page" prefix=":"/>
+ </group>
+ </else>
+ </choose>
+ <text prefix=" " macro="access" suffix="."/>
</layout>
</bibliography>
-</style>
+</style>
Please sign in to comment.
Something went wrong with that request. Please try again.