Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Browse files

Create discovery-medicine.csl (#2399)

  • Loading branch information
POBrien333 authored and rmzelle committed Jan 13, 2017
1 parent 2358ea3 commit 88556616f0538ee3d952506d970931dd9c5bfb18
Showing with 154 additions and 0 deletions.
  1. +154 −0 discovery-medicine.csl
@@ -0,0 +1,154 @@
<?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">
<info>
<title>Discovery Medicine</title>
<title-short>DM</title-short>
<id>http://www.zotero.org/styles/discovery-medicine</id>
<link href="http://www.zotero.org/styles/discovery-medicine" rel="self"/>
<link href="http://www.zotero.org/styles/brain" rel="template"/>
<link href="http://www.discoverymedicine.com/about/information-for-authors-of-discovery-medicine/" rel="documentation"/>
<author>
<name>Patrick O'Brien, PhD</name>
<email>obrienpat86@gmail.com</email>
</author>
<category citation-format="author-date"/>
<category field="medicine"/>
<issn>1539-6509</issn>
<eissn>1944-7930</eissn>
<updated>2017-01-06T10:47:39+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>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". " delimiter-precedes-last="never"/>
<et-al font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="citation-locator">
<group>
<label variable="locator" form="short"/>
<text variable="locator" prefix=" "/>
</group>
</macro>
<macro name="author">
<names variable="author" suffix=". ">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title" form="short" quotes="true"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name suffix=" " delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label form="short" prefix="(" suffix=")"/>
</names>
</macro>
<macro name="publisher">
<text variable="publisher" suffix=", "/>
<text variable="publisher-place" suffix=", "/>
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="title">
<choose>
<if type="book" 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"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-givenname="true" collapse="year">
<sort>
<key macro="issued-year"/>
<key macro="author-short"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="issued-year"/>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography et-al-min="21" et-al-use-first="20">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout suffix=".">
<text macro="author"/>
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<text term="in" text-case="capitalize-first" font-style="italic" suffix=": "/>
<group delimiter=". " suffix=". ">
<text variable="container-title" font-style="italic"/>
<text macro="editor"/>
</group>
<label variable="page" form="short" plural="contextual"/>
<text variable="page" suffix="."/>
<text macro="publisher" prefix=" "/>
</else-if>
<else>
<text variable="container-title" form="short" strip-periods="true" font-style="italic"/>
<text variable="volume" prefix=" "/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=":" suffix=","/>
<date variable="issued" prefix=" ">
<date-part name="year"/>
</date>
</else>
</choose>
</layout>
</bibliography>
</style>

0 comments on commit 8855661

Please sign in to comment.
You can’t perform that action at this time.