Skip to content
Browse files

replace dependent pharmacogenomics journal style with correct style

  • Loading branch information...
1 parent 3030c9d commit 7eea995fd5e40366dbcfd6ac15c4825d63ebebdd @adam3smith adam3smith committed Aug 30, 2011
Showing with 153 additions and 12 deletions.
  1. +0 −12 dependent/pharmacogenomics-journal.csl
  2. +153 −0 pharmacogenomics-journal.csl
View
12 dependent/pharmacogenomics-journal.csl
@@ -1,12 +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>The Pharmacogenomics Journal</title>
- <id>http://www.zotero.org/styles/pharmacogenomics-journal</id>
- <link href="http://www.zotero.org/styles/nature" rel="independent-parent"/>
- <category citation-format="numeric"/>
- <category field="biology"/>
- <category field="medicine"/>
- <updated/>
- </info>
-</style>
View
153 pharmacogenomics-journal.csl
@@ -0,0 +1,153 @@
+<?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" page-range-format="minimal">
+ <info>
+ <title>The Pharmacogenomics Journal</title>
+ <id>http://www.zotero.org/styles/pharmacogenomics-journal</id>
+ <link href="http://www.zotero.org/styles/pharmacogenomics-journal" rel="self"/>
+ <link href="http://www.zotero.org/styles/bmj-vancouver" rel="template"/>
+ <author>
+ <name>Sebastian Karcher</name>
+ </author>
+ <category field="medicine"/>
+ <category citation-format="numeric"/>
+ <updated>2011-05-12T00:16:05+00:00</updated>
+ <summary>
+ Vancouver style adapted for the Nature Journal - the Pharmacogenomics Journal
+ </summary>
+ <link href="http://mts-tpj.nature.com/cgi-bin/main.plex?form_type=display_auth_instructions#style" rel="documentation"/>
+ <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
+ </info>
+ <macro name="author">
+ <names variable="author" suffix=". ">
+ <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
+ <label form="long" prefix=", " text-case="lowercase"/>
+ <et-al term="et-al" font-style="italic"/>
+ <substitute>
+ <names variable="editor"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="editor">
+ <names variable="editor" suffix=". ">
+ <name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
+ <label form="short" prefix=" (" suffix=")" text-case="lowercase" strip-periods="true"/>
+ <et-al term="et-al" font-style="italic"/>
+ </names>
+ </macro>
+ <macro name="publisher">
+ <group delimiter=", ">
+ <group delimiter=": ">
+ <text variable="publisher-place" />
+ <text variable="publisher"/>
+ </group>
+ <group>
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
+ </macro>
+ <macro name="access">
+ <choose>
+ <if variable="page" match="none">
+ <choose>
+ <if variable="DOI">
+ <text variable="DOI" prefix=" doi:"/>
+ </if>
+ <else-if variable="URL">
+ <text variable="URL"/>
+ <group prefix=" (" suffix=")." delimiter=" ">
+ <text term="accessed" text-case="lowercase"/>
+ <date variable="accessed" suffix="">
+ <date-part name="day" prefix=" "/>
+ <date-part name="month" prefix=" " form="short" strip-periods="true"/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </else-if>
+ </choose>
+ </if>
+ </choose>
+ </macro>
+ <macro name="journal-title">
+ <choose>
+ <if type="article-journal article-magazine" match="any">
+ <text variable="container-title" form="short" font-style="italic" strip-periods="true"/>
+ </if>
+ <else>
+ <text variable="container-title" suffix=". " form="short"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="book thesis" match="any">
+ <text variable="title" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+ </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"/>
+ </layout>
+ </citation>
+ <bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
+ <layout suffix=".">
+ <text variable="citation-number" suffix=" "/>
+ <text macro="author"/>
+ <text macro="title" suffix=". "/>
+ <choose>
+ <if type="bill book graphic legal_case motion_picture report song" match="any">
+ <text macro="edition" prefix=" " suffix=" "/>
+ <text macro="publisher" prefix=" "/>
+ </if>
+ <else-if type="chapter paper-conference" match="any">
+ <group prefix=" " suffix=". ">
+ <text term="in" suffix=": " text-case="capitalize-first"/>
+ <text macro="editor"/>
+ <text variable="container-title" font-style="italic"/>
+ </group>
+ <group prefix=" " delimiter=", ">
+ <text macro="publisher" />
+ <group delimiter=" ">
+ <label variable="page" form="short" strip-periods="true"/>
+ <text variable="page"/>
+ </group>
+ </group>
+ </else-if>
+ <else>
+ <text macro="journal-title"/>
+ <group suffix=".">
+ <date variable="issued" prefix=" ">
+ <date-part name="year"/>
+ </date>
+ <group prefix="; ">
+ <text variable="volume" font-weight="bold"/>
+ <text variable="page" prefix=": "/>
+ </group>
+ </group>
+ </else>
+ </choose>
+ <text macro="access"/>
+ </layout>
+ </bibliography>
+</style>

0 comments on commit 7eea995

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