Permalink
Browse files

Adds style for 'Journal of Oral and Maxillofacial Surgery'.

  • Loading branch information...
1 parent b33028d commit 9ad79d23153a3eadf23bebfab89ef2296e1bec47 @cparnot cparnot committed Jul 16, 2012
Showing with 234 additions and 0 deletions.
  1. +234 −0 journal-of-oral-and-maxillofacial-surgery.csl
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="utf-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
+ <info>
+ <title>Journal of Oral and Maxillofacial Surgery</title>
+ <id>http://www.zotero.org/styles/journal-of-oral-and-maxillofacial-surgery</id>
+ <link href="http://www.zotero.org/styles/journal-of-oral-and-maxillofacial-surgery" rel="self"/>
+ <link href="http://www.zotero.org/styles/american-medical-association" rel="template"/>
+ <link href="http://www.joms.org/authorinfo" rel="documentation"/>
+ <author>
+ <name>Charles Parnot</name>
+ <uri>http://twitter.com/cparnot</uri>
+ <email>charles@mekentosj.com</email>
+ </author>
+ <category citation-format="numeric"/>
+ <category field="medicine"/>
+ <issn>0278-2391</issn>
+ <updated>2012-07-16T12:00:00+00:00</updated>
+ <rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
+ </info>
+ <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 form="short" and="symbol" delimiter=", " initialize-with="."/>
+ <substitute>
+ <names variable="editor"/>
+ <names variable="translator"/>
+ <text macro="anon"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="access">
+ <choose>
+ <if type="article-newspaper" match="none">
+ <choose>
+ <if variable="URL">
+ <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>
+ </if>
+ </choose>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
+ <text variable="title" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+ </macro>
+ <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>
+ </if>
+ <else>
+ <text term="no date" form="short"/>
+ </else>
+ </choose>
+ </group>
+ </macro>
+ <macro name="edition">
+ <choose>
+ <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="edition" suffix="."/>
+ </else>
+ </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 hanging-indent="false" et-al-min="51" et-al-use-first="50">
+ <layout>
+ <text variable="citation-number" suffix=". "/>
+ <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="."/>
+ <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=". "/>
+ <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"/>
+ <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" strip-periods="true"/>
+ <text variable="volume"/>
+ <text variable="page" prefix=":"/>
+ <date variable="issued" prefix=", ">
+ <date-part name="year"/>
+ </date>
+ </group>
+ </else>
+ </choose>
+ <text prefix=" " macro="access" suffix="."/>
+ </layout>
+ </bibliography>
+</style>

0 comments on commit 9ad79d2

Please sign in to comment.