Skip to content

Commit

Permalink
fix localization for p. in Vancouver; Fix sorting and group delimiter…
Browse files Browse the repository at this point in the history
… in Elsevier Harvards; Add Neurobiology of Aging dep. on Elsevier Harvard; add EJNMMI - slight variant of Vancouver (brackets)
  • Loading branch information
adam3smith committed Sep 13, 2012
1 parent b1d20fd commit d810fc1
Show file tree
Hide file tree
Showing 9 changed files with 287 additions and 11 deletions.
15 changes: 15 additions & 0 deletions dependent/neurobiology-of-aging.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
<info>
<title>Neurobiology of Aging</title>
<id>http://www.zotero.org/styles/neurobiology-of-aging</id>
<link href="http://www.zotero.org/styles/elsevier-harvard" rel="independent-parent"/>
<category field="biology"/>
<category citation-format="author-date"/>
<updated>2012-01-01T00:00:00+00:00</updated>
<summary>A style for Elsevier's journal "Neurobiology of Aging"</summary>
<issn>0197-4580</issn>
<link href="http://www.elsevier.com/wps/find/journaldescription.cws_home/525480/authorinstructions" rel="documentation"/>
<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>
4 changes: 2 additions & 2 deletions elsevier-harvard.csl
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@
</else-if>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" collapse="year">
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" collapse="year" cite-group-delimiter=", ">
<sort>
<key macro="issued"/>
<key macro="author"/>
<key macro="issued" sort="descending"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
Expand Down
4 changes: 2 additions & 2 deletions elsevier-harvard2.csl
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@
</else-if>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" collapse="year">
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" collapse="year" cite-group-delimiter=", ">
<sort>
<key macro="issued"/>
<key macro="author"/>
<key macro="issued" sort="descending"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
Expand Down
246 changes: 246 additions & 0 deletions european-journal-of-nuclear-medicine-and-molecular-imaging.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
<?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>European Journal of Nuclear Medicine and Molecular Imaging</title>
<title-short>EJNMMI</title-short>
<id>http://www.zotero.org/styles/european-journal-of-nuclear-medicine-and-molecular-imaging</id>
<link href="http://www.zotero.org/styles/european-journal-of-nuclear-medicine-and-molecular-imaging" rel="self"/>
<link href="http://www.zotero.org/styles/vancouver-brackets" rel="template"/>
<author>
<name>Sebastian Karcher</name>
</author>
<category field="medicine"/>
<category citation-format="numeric"/>
<updated>2008-09-16T00:00:00+00:00</updated>
<issn>1619-7070</issn>
<eissn>1619-7089</eissn>
<summary>
Vancouver brackets style adapted for the Springer journal EJNMMI: No periods in journal abbreviations, no issue numbers, no months for journals, pp. instead of p. for chapters.
</summary>
<link href="http://www.nlm.nih.gov/bsd/uniform_requirements.html" rel="documentation"/>
<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>
<locale xml:lang="en">
<terms>
<term name="retrieved">available</term>
<term name="section" form="short">sect.</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", "/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<group delimiter=": ">
<choose>
<if type="chapter paper-conference">
<text term="in" text-case="capitalize-first"/>
</if>
</choose>
<names variable="editor" suffix=".">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", "/>
</names>
</group>
</macro>
<macro name="publisher">
<group delimiter=": " suffix=";">
<choose>
<if type="thesis">
<text variable="publisher-place" prefix="[" suffix="]"/>
</if>
<else>
<text variable="publisher-place"/>
</else>
</choose>
<text variable="publisher"/>
</group>
</macro>
<macro name="access">
<choose>
<if variable="URL">
<group delimiter=": ">
<group delimiter=" ">
<text term="retrieved" text-case="capitalize-first"/>
<text term="from"/>
</group>
<text variable="URL"/>
</group>
</if>
</choose>
</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="container-title">
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper" match="any">
<group suffix="." delimiter=" ">
<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>
<text macro="edition" prefix=" "/>
</if>
<!--add event-name and event-place once they become available-->
<else-if type="bill legislation">
<group delimiter=", ">
<group delimiter=". ">
<text variable="container-title" form="short"/>
<group delimiter=" ">
<text term="section" form="short" text-case="capitalize-first"/>
<text variable="section"/>
</group>
</group>
<text variable="number"/>
</group>
</else-if>
<else>
<text variable="container-title" suffix="." form="short"/>
</else>
</choose>
</macro>
<macro name="title">
<text variable="title"/>
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper" match="none">
<choose>
<if variable="URL">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
<text macro="edition" prefix=". "/>
</if>
</choose>
<choose>
<if type="thesis">
<text variable="genre" prefix=" [" suffix="]"/>
</if>
</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>
<macro name="date">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group suffix=";" delimiter=" ">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
</date>
<text macro="accessed-date"/>
</group>
</if>
<else-if type="bill legislation">
<group delimiter=", ">
<date variable="issued" delimiter=" ">
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="report">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
</date>
</else-if>
<else>
<group suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
<text macro="accessed-date" prefix=" "/>
</group>
</else>
</choose>
</macro>
<macro name="pages">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<text variable="page" prefix=":"/>
</if>
<else>
<group prefix=" " delimiter=" ">
<label variable="page"/>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
<macro name="journal-location">
<choose>
<if type="article-journal article-magazine" match="any">
<text variable="volume"/>
</if>
</choose>
</macro>
<macro name="report-details">
<choose>
<if type="report">
<text variable="number" prefix="Report No.: "/>
</if>
</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="7" et-al-use-first="6" second-field-align="flush">
<layout>
<text variable="citation-number" suffix=". "/>
<group delimiter=". " suffix=". ">
<text macro="author"/>
<text macro="title"/>
</group>
<group delimiter=" " suffix=". ">
<text macro="editor"/>
<text macro="container-title"/>
<text macro="publisher"/>
<group>
<text macro="date"/>
<text macro="journal-location"/>
<text macro="pages"/>
</group>
</group>
<text macro="report-details" suffix=". "/>
<text macro="access"/>
</layout>
</bibliography>
</style>
7 changes: 5 additions & 2 deletions vancouver-brackets-no-et-al.csl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<category citation-format="numeric"/>
<updated>2012-08-05T00:00:00+00:00</updated>
<summary>
Vancouver style as outlined by International Committee of Medical Journal Editors Uniform Requirements for Manuscripts Submitted to Biomedical Journals: Sample References. Modified to use brackets and to list all authors in the bibliography.
Vancouver style as outlined by International Committee of Medical Journal Editors Uniform Requirements for Manuscripts Submitted to Biomedical Journals: Sample References. Modified to use brackets and to list all authors in the bibliography.
</summary>
<link href="http://www.nlm.nih.gov/bsd/uniform_requirements.html" rel="documentation"/>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
Expand Down Expand Up @@ -209,7 +209,10 @@
<text variable="page" prefix=":"/>
</if>
<else>
<text variable="page" prefix=" p. "/>
<group prefix=" " delimiter=" ">
<label variable="page" plural="never"/>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
Expand Down
5 changes: 4 additions & 1 deletion vancouver-brackets.csl
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@
<text variable="page" prefix=":"/>
</if>
<else>
<text variable="page" prefix=" p. "/>
<group prefix=" " delimiter=" ">
<label variable="page" plural="never"/>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
Expand Down
7 changes: 5 additions & 2 deletions vancouver-superscript-brackets-only-year.csl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<category citation-format="numeric"/>
<updated>2011-05-06T00:06:00+05:30</updated>
<summary>
Vancouver style as outlined by International Committee of Medical Journal Editors Uniform Requirements for Manuscripts Submitted to Biomedical Journals: Sample References
Vancouver style as outlined by International Committee of Medical Journal Editors Uniform Requirements for Manuscripts Submitted to Biomedical Journals: Sample References
</summary>
<link href="http://www.nlm.nih.gov/bsd/uniform_requirements.html" rel="documentation"/>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
Expand Down Expand Up @@ -142,7 +142,10 @@
<text variable="container-title"/>
</group>
<text macro="publisher" prefix=" "/>
<text variable="page" prefix=" p. " suffix="."/>
<group prefix=" " delimiter=" " suffix=".">
<label variable="page" plural="never"/>
<text variable="page"/>
</group>
</else-if>
<else>
<text macro="journal-title"/>
Expand Down
5 changes: 4 additions & 1 deletion vancouver-superscript.csl
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@
<text variable="page" prefix=":"/>
</if>
<else>
<text variable="page" prefix=" p. "/>
<group prefix=" " delimiter=" ">
<label variable="page" plural="never"/>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
Expand Down
5 changes: 4 additions & 1 deletion vancouver.csl
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,10 @@
<text variable="page" prefix=":"/>
</if>
<else>
<text variable="page" prefix=" p. "/>
<group prefix=" " delimiter=" ">
<label variable="page" plural="never"/>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
Expand Down

0 comments on commit d810fc1

Please sign in to comment.