Skip to content

Commit

Permalink
add Tom's fertility and sterility style
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith committed Jun 15, 2012
1 parent 3c04b3e commit 0be26ea
Showing 1 changed file with 154 additions and 0 deletions.
154 changes: 154 additions & 0 deletions fertility-and-sterility.csl
Original file line number Diff line number Diff line change
@@ -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" page-range-format="minimal" default-locale="en-US">
<info>
<title>Fertility and Sterility</title>
<id>http://www.zotero.org/styles/fertility-and-sterility</id>
<link href="http://www.zotero.org/styles/fertility-and-sterility" rel="self"/>
<author>
<name>Tom Meier</name>
<email>tom.meier@einstein.yu.edu</email>
</author>
<category field="medicine"/>
<category citation-format="numeric"/>
<issn>0015-0282</issn>
<updated>2012-06-15T00:00:00+00:00</updated>
<summary>NEJM style - modified for Fert Steril</summary>
<link href="http://www.fertstert.org/authorinfo" rel="documentation"/>
<link href="http://www.zotero.org/styles/new-england-journal-of-medicine" rel="template"/>
<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="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"/>
<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="long" prefix=", " text-case="lowercase"/>
</names>
</macro>
<macro name="publisher">
<text variable="publisher-place" suffix=": "/>
<text variable="publisher" suffix="; "/>
<group suffix=". ">
<date variable="issued">
<date-part name="year"/>
</date>
<text macro="accessed-date" prefix=" "/>
</group>
</macro>
<macro name="access">
<group>
<text value="Available from: "/>
<text variable="URL"/>
</group>
</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="journal-title">
<choose>
<if type="article-journal article-magazine" match="any">
<group suffix=" ">
<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>
</if>
<else>
<text variable="container-title" suffix=". " form="short"/>
</else>
</choose>
</macro>
<macro name="title">
<group delimiter=" ">
<text variable="title"/>
<choose>
<if type="article-journal article-magazine" match="none">
<choose>
<if variable="URL">
<text term="internet" prefix="[" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</if>
</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 prefix="(" suffix=")" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="20" et-al-use-first="1" second-field-align="flush">
<layout>
<text variable="citation-number" suffix=". "/>
<text macro="author"/>
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation 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"/>
</group>
<text macro="publisher" prefix=" "/>
<text variable="page" prefix=" p. " suffix="."/>
</else-if>
<else>
<text macro="journal-title"/>
<group suffix=";">
<date variable="issued">
<date-part name="year"/>
</date>
<text macro="accessed-date" prefix=" "/>
</group>
<group suffix=". ">
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=":"/>
</group>
</else>
</choose>
<text macro="access"/>
</layout>
</bibliography>
</style>

0 comments on commit 0be26ea

Please sign in to comment.