Skip to content
Browse files

replace Psychiatry Research with independent style; Metadata fixes fo…

…r Elsevier Harvard2
  • Loading branch information...
1 parent 4d947c7 commit 129ddae624e0ef61a106f300f10fc8b36d7e88f6 @adam3smith adam3smith committed
Showing with 216 additions and 19 deletions.
  1. +0 −17 dependent/psychiatry-research.csl
  2. +1 −2 elsevier-harvard2.csl
  3. +215 −0 psychiatry-research.csl
View
17 dependent/psychiatry-research.csl
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US">
- <info>
- <title>Psychiatry Research</title>
- <id>http://www.zotero.org/styles/psychiatry-research</id>
- <link href="http://www.zotero.org/styles/psychiatry-research" rel="self"/>
- <link href="http://www.zotero.org/styles/elsevier-harvard2" rel="independent-parent"/>
- <link href="http://www.elsevier.com/journals/psychiatry-research/0165-1781/guide-for-authors" rel="documentation"/>
- <category citation-format="author-date"/>
- <category field="biology"/>
- <issn>0165-1781</issn>
- <eissn>1872-7123</eissn>
- <summary>A style for Elsevier's journal "Psychiatry Research"</summary>
- <updated>2012-09-27T22:06:38+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>
-</style>
View
3 elsevier-harvard2.csl
@@ -5,7 +5,7 @@
<id>http://www.zotero.org/styles/elsevier-harvard2</id>
<link href="http://www.zotero.org/styles/elsevier-harvard2" rel="self"/>
<link href="http://www.zotero.org/styles/elsevier-harvard" rel="template"/>
- <link href="http://www.elsevier.com/journals/ecological-modelling/0304-3800/guide-for-authors#68000" rel="documentation"/>
+ <link href="http://www.elsevier.com/journals/drug-and-alcohol-dependence/0376-8716/guide-for-authors" rel="documentation"/>
<author>
<name>Michael Barton</name>
<email>michael.barton@asu.edu</email>
@@ -14,7 +14,6 @@
<name>Sebastian Karcher</name>
</contributor>
<category citation-format="author-date"/>
- <category field="biology"/>
<category field="generic-base"/>
<summary>This is a variant of the Elsevier Harvard Style (with titles). Book chapter use . In: instead of , in:</summary>
<updated>2012-09-27T22:06:38+00:00</updated>
View
215 psychiatry-research.csl
@@ -0,0 +1,215 @@
+<?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="never" default-locale="en-US">
+ <info>
+ <title>Psychiatry Research</title>
+ <id>http://www.zotero.org/styles/psychiatry-research</id>
+ <link href="http://www.zotero.org/styles/psychiatry-research" rel="self"/>
+ <link href="http://www.zotero.org/styles/elsevier-harvard2" rel="template"/>
+ <link href="http://www.elsevier.com/journals/psychiatry-research/0165-1781/guide-for-authors" rel="documentation"/>
+ <category citation-format="author-date"/>
+ <category field="biology"/>
+ <issn>0165-1781</issn>
+ <eissn>1872-7123</eissn>
+ <summary>A style for Elsevier's journal "Psychiatry Research"</summary>
+ <updated>2012-09-27T22:06:38+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="container">
+ <choose>
+ <if type="chapter paper-conference" match="any">
+ <text term="in" text-case="capitalize-first" prefix=". " suffix=": "/>
+ <names variable="editor translator" delimiter=", " suffix=", ">
+ <name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
+ <label form="short" text-case="capitalize-first" prefix=" (" suffix=")"/>
+ </names>
+ <group delimiter=", ">
+ <text variable="container-title" text-case="title"/>
+ <text variable="collection-title" text-case="title"/>
+ </group>
+ </if>
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
+ <group prefix=", " delimiter=", ">
+ <text variable="container-title"/>
+ <text variable="collection-title"/>
+ </group>
+ </else-if>
+ <else>
+ <group prefix=". " delimiter=", ">
+ <text variable="container-title"/>
+ </group>
+ </else>
+ </choose>
+ </macro>
+ <macro name="author">
+ <names variable="author">
+ <name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
+ <label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
+ <substitute>
+ <names variable="editor"/>
+ <names variable="translator"/>
+ <text macro="title"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="author-short">
+ <names variable="author">
+ <name form="short" and="text" delimiter=", " initialize-with=". "/>
+ <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="access">
+ <choose>
+ <if type="webpage">
+ <group delimiter=" ">
+ <text value="URL"/>
+ <text variable="URL"/>
+ <group prefix="(" suffix=").">
+ <text term="accessed" suffix=" "/>
+ <date variable="accessed">
+ <date-part name="month" form="numeric" suffix="."/>
+ <date-part name="day" suffix="."/>
+ <date-part name="year" form="short"/>
+ </date>
+ </group>
+ </group>
+ </if>
+ </choose>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="report thesis" match="any">
+ <text variable="title"/>
+ <group prefix=" (" suffix=")">
+ <text variable="genre"/>
+ <text variable="number" prefix=" No. "/>
+ </group>
+ </if>
+ <else-if type="bill book graphic legal_case legislation motion_picture report song speech" match="any">
+ <text variable="title"/>
+ <text macro="edition" prefix=", "/>
+ </else-if>
+ <else-if type="webpage">
+ <text variable="title"/>
+ <text value="WWW Document" prefix=" [" suffix="]"/>
+ </else-if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="publisher">
+ <group delimiter=", ">
+ <text variable="publisher"/>
+ <text variable="publisher-place"/>
+ </group>
+ </macro>
+ <macro name="event">
+ <choose>
+ <if variable="event">
+ <text term="presented at" text-case="capitalize-first" suffix=" "/>
+ <text variable="event"/>
+ </if>
+ </choose>
+ </macro>
+ <macro name="issued">
+ <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="edition">
+ <group delimiter=" ">
+ <choose>
+ <if is-numeric="edition">
+ <number variable="edition" form="ordinal"/>
+ </if>
+ <else>
+ <text variable="edition" suffix="."/>
+ </else>
+ </choose>
+ <text value="ed"/>
+ </group>
+ </macro>
+ <macro name="locators">
+ <choose>
+ <if type="article-journal article-magazine article-newspaper" match="any">
+ <group prefix=" " delimiter=", ">
+ <group>
+ <text variable="volume"/>
+ </group>
+ <text variable="page"/>
+ </group>
+ </if>
+ <else-if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
+ <group delimiter=", " prefix=". ">
+ <text macro="event"/>
+ <text macro="publisher"/>
+ </group>
+ </else-if>
+ <else-if type="chapter paper-conference" match="any">
+ <group delimiter=", " prefix=". ">
+ <text macro="event"/>
+ <text macro="publisher"/>
+ <group>
+ <label variable="page" form="short" suffix=" "/>
+ <text variable="page"/>
+ </group>
+ </group>
+ </else-if>
+ <else-if type="patent">
+ <text variable="number" prefix=". "/>
+ </else-if>
+ </choose>
+ </macro>
+ <citation et-al-min="3" et-al-use-first="1" disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" collapse="year" cite-group-delimiter=", ">
+ <sort>
+ <key macro="issued"/>
+ <key macro="author"/>
+ </sort>
+ <layout prefix="(" suffix=")" delimiter="; ">
+ <group delimiter=", ">
+ <text macro="author-short"/>
+ <text macro="issued"/>
+ <group delimiter=" ">
+ <label variable="locator" form="short"/>
+ <text variable="locator"/>
+ </group>
+ </group>
+ </layout>
+ </citation>
+ <bibliography hanging-indent="true" entry-spacing="0" line-spacing="1">
+ <sort>
+ <key macro="author"/>
+ <key macro="issued" sort="ascending"/>
+ </sort>
+ <layout>
+ <group suffix=".">
+ <text macro="author" suffix=","/>
+ <text macro="issued" prefix=" "/>
+ <group prefix=". ">
+ <text macro="title"/>
+ <text macro="container"/>
+ <text macro="locators"/>
+ </group>
+ </group>
+ <text macro="access" prefix=". "/>
+ </layout>
+ </bibliography>
+</style>

0 comments on commit 129ddae

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