Permalink
Browse files

replaced dependent obesity style with corrected new version

  • Loading branch information...
adam3smith committed Aug 19, 2012
1 parent 2e0ef46 commit 344910a359073d39b658dc7e4ee5b6a1ad6d7863
Showing with 163 additions and 13 deletions.
  1. +0 −13 dependent/obesity.csl
  2. +163 −0 obesity.csl
View
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
- <info>
- <title>Obesity</title>
- <id>http://www.zotero.org/styles/obesity</id>
- <link href="http://www.zotero.org/styles/nature" rel="independent-parent"/>
- <category citation-format="numeric"/>
- <category field="biology"/>
- <category field="medicine"/>
- <updated>2012-01-01T00: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>
-</style>
View
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="utf-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
+ <!-- This style was edited with the Visual CSL Editor (http://steveridout.com/csl/visualEditor/) -->
+ <info>
+ <title>Obesity</title>
+ <id>http://www.zotero.org/styles/obesity</id>
+ <link rel="self" href="http://www.zotero.org/styles/obesity"/>
+ <link href="http://www.zotero.org/styles/international-journal-of-radiation-oncology-biology-physics" rel="template"/>
+ <link href="http://www.nature.com/oby/pdf/obesity_guide_to_authors.pdf" rel="documentation"/>
+ <author>
+ <name>Sebastian Karcher</name>
+ </author>
+ <category citation-format="numeric"/>
+ <category field="medicine"/>
+ <issn>1930-7381</issn>
+ <issn>1930-739X</issn>
+ <summary>
+ </summary>
+ <updated>2012-08-19T19:46:45+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"/>
+ <et-al font-style="italic"/>
+ <label form="short" text-case="lowercase" strip-periods="false" prefix=" (" suffix=")."/>
+ </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"/>
+ <et-al font-style="italic"/>
+ <label form="short" prefix=" " suffix="" text-case="lowercase" strip-periods="true"/>
+ <substitute>
+ <names variable="editor"/>
+ <text macro="anon"/>
+ </substitute>
+ </names>
+ </group>
+ </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=", " prefix="(" suffix=")">
+ <text variable="citation-number"/>
+ <group>
+ <label variable="locator" form="short" strip-periods="true"/>
+ <text variable="locator"/>
+ </group>
+ </layout>
+ </citation>
+ <bibliography et-al-min="7" et-al-use-first="3" second-field-align="margin">
+ <layout>
+ <text variable="citation-number" prefix="" suffix=". "/>
+ <text macro="author" suffix=""/>
+ <choose>
+ <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
+ <group suffix=".">
+ <text macro="title" prefix=" " suffix="."/>
+ <text macro="edition" prefix=" "/>
+ <text macro="editor" prefix=" (" suffix=")"/>
+ </group>
+ <text prefix=" " suffix="" 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">
+ <text macro="title" prefix=" " suffix="."/>
+ <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 delimiter=", " prefix=", " suffix=".">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <group delimiter=" ">
+ <label strip-periods="true" variable="page" form="short"/>
+ <text variable="page" form="long"/>
+ </group>
+ </group>
+ </group>
+ </group>
+ </else-if>
+ <else>
+ <group suffix=".">
+ <text macro="title" prefix=" "/>
+ <text macro="editor" prefix=" "/>
+ </group>
+ <group prefix=" " suffix=".">
+ <text variable="container-title" form="short" strip-periods="true" font-style="italic"/>
+ <group delimiter=";" prefix=" ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <group>
+ <text variable="volume"/>
+ </group>
+ </group>
+ <text variable="page" prefix=":"/>
+ </group>
+ </else>
+ </choose>
+ </layout>
+ </bibliography>
+</style>

0 comments on commit 344910a

Please sign in to comment.