Skip to content

Commit

Permalink
add Karger author date - switch audiology and neurotology dependent s…
Browse files Browse the repository at this point in the history
…tyles to it
  • Loading branch information
adam3smith committed Dec 1, 2011
1 parent 49de3f2 commit a416e68
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependent/audiology-and-neurotology-extra.csl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<info>
<title>Audiology and Neurotology Extra</title>
<id>http://www.zotero.org/styles/audiology-and-neurotology-extra</id>
<link href="http://www.zotero.org/styles/karger-journals" rel="independent-parent"/>
<link href="http://www.zotero.org/styles/karger-journals-author-date" rel="independent-parent"/>
<category citation-format="numeric"/>
<category field="medicine"/>
<updated/>
Expand Down
2 changes: 1 addition & 1 deletion dependent/audiology-and-neurotology.csl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<info>
<title>Audiology and Neurotology</title>
<id>http://www.zotero.org/styles/audiology-and-neurotology</id>
<link href="http://www.zotero.org/styles/karger-journals" rel="independent-parent"/>
<link href="http://www.zotero.org/styles/karger-journals-author-date" rel="independent-parent"/>
<category citation-format="numeric"/>
<category field="medicine"/>
<updated/>
Expand Down
190 changes: 190 additions & 0 deletions karger-journals-author-date.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
<?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">
<info>
<title>Karger Journals (Author-Date)</title>
<id>http://www.zotero.org/styles/karger-journals-author-date</id>
<link href="http://www.zotero.org/styles/karger-journals-author-date" rel="self"/>
<author>
<name>Sebastian Karcher</name>
</author>
<contributor>
<name>Sean Takats</name>
<email>stakats@gmu.edu</email>
</contributor>
<contributor>
<name>Michael Berkowitz</name>
<email>mberkowi@gmu.edu</email>
</contributor>
<category field="medicine"/>
<category citation-format="numeric"/>
<updated>2010-07-26T02:21:30+00:00</updated>
<summary>Harvard style for Journals published by Karger </summary>
<link href="http://content.karger.com/ProdukteDB/produkte.asp?Aktion=JournalGuidelines&amp;ProduktNr=224213#04" 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"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<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"/>
</names>
</macro>
<macro name="year-date">
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher-place" suffix=""/>
<text variable="publisher"/>
<group suffix="">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
<text macro="accessed-date" prefix=" "/>
</group>
</macro>
<macro name="access">
<choose>
<if variable="page"/>
<else-if variable="DOI">
<text variable="DOI" prefix=" DOI: "/>
</else-if>
<else-if variable="URL">
<group>
<text value="Available from: "/>
<text variable="URL"/>
</group>
</else-if>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="DOI"/>
<else-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>
</else-if>
</choose>
</macro>
<macro name="journal-title">
<choose>
<if type="article-journal article-magazine" match="any">
<group suffix=". ">
<choose>
<if variable="DOI"/>
<else-if variable="URL">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</else-if>
</choose>
</group>
</if>
</choose>
<text variable="container-title" form="short" prefix=". " strip-periods="true"/>
</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=" ">
<text term="edition" form="short" strip-periods="true"/>
<number variable="edition"/>
</group>
</if>
<else>
<text variable="edition" />
</else>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true">
<layout prefix="[" suffix="]" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="year-date"/>
<text variable="locator"/>
</group>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" hanging-indent="true">
<layout>
<text macro="author"/>
<text macro="title" suffix=""/>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<group prefix=". " delimiter=" " suffix=".">
<text macro="edition" prefix="" suffix=" "/>
<text macro="publisher" prefix=" "/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix="; " suffix=". ">
<text term="in" suffix=" "/>
<text macro="editor"/>
<text variable="container-title" prefix=": "/>
<text macro="edition" prefix=", "/>
</group>
<group delimiter=", " suffix=".">
<text macro="publisher" prefix=""/>
<group delimiter=" ">
<label variable="page" form="short" strip-periods="true"/>
<text variable="page"/>
</group>
</group>
</else-if>
<else>
<text macro="journal-title"/>
<group suffix=";" prefix=" ">
<date variable="issued">
<date-part name="year"/>
<date-part name="month" form="short" prefix=" " strip-periods="true"/>
<date-part name="day" prefix=" "/>
</date>
<text macro="accessed-date" prefix=" "/>
</group>
<group suffix=". ">
<text variable="volume"/>
<text variable="page" prefix=":"/>
</group>
</else>
</choose>
<text macro="access"/>
</layout>
</bibliography>
</style>

0 comments on commit a416e68

Please sign in to comment.