Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' into development

  • Loading branch information...
commit ea2f270e4096584dc45cc0160790ba47738fd89f 2 parents a02ed61 + d1b2bc8
@inukshuk inukshuk authored
View
1  biochemistry.csl
@@ -14,7 +14,6 @@
<issn>1520-4995</issn>
<updated>2008-10-29T20:22:16+00:00</updated>
<summary>A style for the ACS publication "Biochemistry"</summary>
- <issn>0006-2960</issn>
<link href="http://pubs.acs.org/paragonplus/submission/bichaw/bichaw_authguide.pdf" rel="documentation"/>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
View
1  bioconjugate-chemistry.csl
@@ -15,7 +15,6 @@
<issn>1520-4812</issn>
<updated>2008-10-29T20:22:16+00:00</updated>
<summary>A style for the ACS publication "Bioconjugate Chemistry"</summary>
- <issn>1043-1802</issn>
<link href="http://pubs.acs.org/paragonplus/submission/bcches/bcches_authguide.pdf" rel="documentation"/>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
View
1  brain.csl
@@ -14,7 +14,6 @@
<issn>1460-2156</issn>
<updated>2008-09-16T00:00:00+00:00</updated>
<link href="http://www.oxfordjournals.org/our_journals/brainj/for_authors/general.html" rel="documentation"/>
- <issn>0006-8950</issn>
<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-short">
View
1  chemical-research-in-toxicology.csl
@@ -15,7 +15,6 @@
<issn>1520-5010</issn>
<updated>2008-10-29T20:22:16+00:00</updated>
<summary>A style for the ACS publication "Chemical Research in Toxicology"</summary>
- <issn>0893-228X</issn>
<link href="http://pubs.acs.org/paragonplus/submission/crtoec/crtoec_authguide.pdf" rel="documentation"/>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
View
1  dependent/journal-of-experimental-algorithmics.csl
@@ -8,7 +8,6 @@
<link href="http://www.acm.org/publications/word_style/word-style-toc/" rel="documentation"/>
<category citation-format="author-date"/>
<category field="engineering"/>
- <issn>1084-6654</issn> <!-- Print -->
<issn>1084-6654</issn> <!-- Electronic -->
<updated>2012-07-18T12:00:00+00:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
View
2  dependent/journal-of-medicinal-chemistry.csl
@@ -3,7 +3,7 @@
<info>
<title>Journal of Medicinal Chemistry</title>
<id>http://www.zotero.org/styles/journal-of-medicinal-chemistry</id>
- <link href="http://www.zotero.org/styles/american-chemical-society" rel="independent-parent"/>
+ <link href="http://www.zotero.org/styles/american-chemical-society-with-titles" rel="independent-parent"/>
<category citation-format="numeric"/>
<category field="chemistry"/>
<updated>2012-01-01T00:00:00+00:00</updated>
View
96 international-union-of-crystallography.csl
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="utf-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="en-US" demote-non-dropping-particle="sort-only" page-range-format="expanded">
+ <!-- INFO -->
+ <info>
+ <title>International Union of Crystallography (IUCr) Journals</title>
+ <id>http://www.zotero.org/styles/international-union-of-crystallography</id>
+ <link href="http://www.zotero.org/styles/international-union-of-crystallography" rel="self"/>
+ <author>
+ <name>James Stroud</name>
+ <email>jstroud@mbi.ucla.edu</email>
+ </author>
+ <category citation-format="author-date"/>
+ <category field="chemistry"/>
+ <updated>2012-08-10T08:04:30-06:00</updated>
+ <link href="http://journals.iucr.org/d/issues/2012/02/00/me0456/index.html" rel="documentation"/>
+ <rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
+ </info>
+ <!-- MACROS -->
+ <macro name="author-short">
+ <names variable="author">
+ <name form="short" and="symbol"/>
+ </names>
+ </macro>
+ <macro name="author">
+ <names variable="author">
+ <name name-as-sort-order="all" initialize-with=". " and="symbol" delimiter-precedes-last="contextual"/>
+ </names>
+ </macro>
+ <macro name="issued">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </macro>
+ <macro name="publisher">
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
+ <text variable="publisher"/>
+ </group>
+ </macro>
+ <macro name="or">
+ <names variable="editor">
+ <name initialize-with="." and="symbol" delimiter-precedes-last="always"/>
+ <label form="verb" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
+ </names>
+ </macro>
+ <!-- CITATION -->
+ <citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix">
+ <sort>
+ <key macro="issued"/>
+ <key macro="author"/>
+ </sort>
+ <layout prefix="(" suffix=")" delimiter="; ">
+ <group delimiter=", ">
+ <text macro="author-short"/>
+ <text macro="issued"/>
+ </group>
+ </layout>
+ </citation>
+ <!-- BIBLIOGRAPHY -->
+ <bibliography et-al-min="11" et-al-use-first="10">
+ <sort>
+ <key macro="author"/>
+ <key macro="issued"/>
+ <key variable="title"/>
+ </sort>
+ <layout suffix=".">
+ <group delimiter=" ">
+ <text macro="author"/>
+ <text macro="issued" prefix="(" suffix=")."/>
+ <choose>
+ <if type="article article-magazine article-newspaper article-journal review" match="any">
+ <text variable="container-title" form="short" font-style="italic" text-case="title" suffix="."/>
+ <text variable="volume" font-weight="bold" suffix=","/>
+ <text variable="page" suffix="."/>
+ </if>
+ <else-if type="chapter paper-conference" match="any">
+ <text variable="container-title" suffix="," text-case="title" font-style="italic"/>
+ <text macro="editor" suffix=", "/>
+ <label variable="page" suffix="." form="short" strip-periods="true"/>
+ <text variable="page" suffix="."/>
+ <text macro="publisher" suffix="."/>
+ </else-if>
+ <else-if type="thesis">
+ <text variable="title" suffix="."/>
+ <text variable="genre" suffix="."/>
+ <text variable="publisher" suffix="."/>
+ </else-if>
+ <else>
+ <text variable="title"/>
+ <text macro="publisher" suffix="."/>
+ </else>
+ </choose>
+ </group>
+ </layout>
+ </bibliography>
+</style>
View
3  journal-of-the-american-academy-of-orthopaedic-surgeons.csl
@@ -1,7 +1,7 @@
<?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>Journal of the American Academy of Orthopaedic Surgeons</title>
+ <title>Journal of the American Academy of Orthopaedic Surgeons (JAAOS)</title>
<id>http://www.zotero.org/styles/journal-of-the-american-academy-of-orthopaedic-surgeons</id>
<link href="http://www.zotero.org/styles/journal-of-the-american-academy-of-orthopaedic-surgeons" rel="self"/>
<link href="http://www.zotero.org/styles/nature" rel="template"/>
@@ -14,7 +14,6 @@
<category field="medicine"/>
<category citation-format="numeric"/>
<issn>1067-151X</issn> <!-- Print -->
- <issn>1535-4970</issn> <!-- Online -->
<updated>2012-07-12T12:00:00+00:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
View
2  law1-de.csl
@@ -22,7 +22,7 @@
</contributor>
<summary>Law generic style, german variant, based on Chicago format with short notes and
full bibliography</summary>
- <category field="generic-base"/>
+ <category field="law"/>
<category citation-format="numeric"/>
<updated>2008-01-01T11:11:11+00:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
View
1  oxford-brookes-university-faculty-of-health-and-life-sciences.csl
@@ -28,7 +28,6 @@
<name and="text" name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter-precedes-last="never" delimiter=", "/>
<label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
<substitute>
- <text macro="editor"/>
<text macro="anon"/>
</substitute>
</names>
View
409 pontifical-athenaeum-regina-apostolorum.csl
@@ -0,0 +1,409 @@
+<?xml version="1.0" encoding="utf-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" initialize-with-hyphen="true" page-range-format="expanded" demote-non-dropping-particle="sort-only" name-delimiter=" - " names-delimiter=" - " delimiter-precedes-last="always" et-al-min="4" et-al-use-first="1" name-form="long" initialize-with=". " sort-separator=", ">
+ <info>
+ <title>Pontifical Athenaeum Regina Apostolorum</title>
+ <id>http://www.zotero.org/styles/pontifical-athenaeum-regina-apostolorum</id>
+ <link href="http://www.zotero.org/styles/pontifical-athenaeum-regina-apostolorum" rel="self"/>
+ <link href="http://www.uprait.org/" rel="documentation"/>
+ <author>
+ <name>Devin Roza LC</name>
+ <email>devin (.) roza (@) legionaries {.} org (remove spaces and parenthesis/brackets but leave periods to get email)</email>
+ </author>
+ <summary>The Pontifical Athenaeum Regina Apostolorum style</summary>
+ <category field="theology"/>
+ <category citation-format="note"/>
+ <updated>2012-07-27T07:46:01+00:00</updated>
+ <rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
+ </info>
+ <locale>
+ <style-options punctuation-in-quote="false"/>
+ <terms>
+ <term name="et-al">et al.</term>
+ <term name="ibid">ibid</term>
+ <term name="editor" form="short">
+ <single>ed.</single>
+ <multiple>edd.</multiple>
+ </term>
+ <term name="collection-editor" form="short">
+ <single>ed.</single>
+ <multiple>edd.</multiple>
+ </term>
+ </terms>
+ </locale>
+ <macro name="author">
+ <names variable="author">
+ <name font-variant="small-caps"/>
+ </names>
+ </macro>
+ <macro name="author-bibliography">
+ <names variable="author">
+ <name font-variant="small-caps" name-as-sort-order="all"/>
+ </names>
+ </macro>
+ <macro name="author-short">
+ <names variable="author">
+ <name font-variant="small-caps"/>
+ </names>
+ </macro>
+ <macro name="editor">
+ <choose>
+ <if type="chapter entry entry-dictionary entry-encyclopedia paper-conference">
+ <names variable="editor">
+ <name font-variant="small-caps"/>
+ <et-al font-variant="normal"/>
+ <label form="short" prefix=" (" suffix=")" strip-periods="false" text-case="lowercase"/>
+ </names>
+ </if>
+ <else-if variable="editor">
+ <names variable="editor">
+ <name font-variant="small-caps"/>
+ <et-al font-variant="normal"/>
+ <label form="short" prefix=" (" suffix=")" strip-periods="false" text-case="lowercase"/>
+ </names>
+ </else-if>
+ <else>
+ <names variable="collection-editor" font-variant="small-caps">
+ <name font-variant="small-caps"/>
+ <et-al font-variant="normal"/>
+ <label form="short" prefix=" (" suffix=")" strip-periods="false" text-case="lowercase"/>
+ </names>
+ </else>
+ </choose>
+ </macro>
+ <macro name="editor-bibliography">
+ <choose>
+ <if type="chapter entry entry-dictionary entry-encyclopedia paper-conference"/>
+ <else-if variable="editor">
+ <names variable="editor">
+ <name font-variant="small-caps" name-as-sort-order="all"/>
+ <et-al font-variant="normal"/>
+ <label form="short" prefix=" (" suffix=")" strip-periods="false" text-case="lowercase"/>
+ </names>
+ </else-if>
+ <else>
+ <names font-variant="small-caps" variable="collection-editor">
+ <name font-variant="small-caps" name-as-sort-order="all"/>
+ <et-al font-variant="normal"/>
+ <label form="short" prefix=" (" suffix=")" strip-periods="false" text-case="lowercase"/>
+ </names>
+ </else>
+ </choose>
+ </macro>
+ <macro name="editor-short">
+ <choose>
+ <if type="chapter entry entry-dictionary entry-encyclopedia paper-conference"></if>
+ <else-if variable="editor">
+ <names variable="editor">
+ <name font-variant="small-caps"/>
+ <et-al font-variant="normal"/>
+ <label form="short" prefix=" (" suffix=")" strip-periods="false" text-case="lowercase"/>
+ </names>
+ </else-if>
+ <else>
+ <names variable="collection-editor">
+ <name font-variant="small-caps"/>
+ <et-al font-variant="normal"/>
+ <label form="short" prefix=" (" suffix=")" strip-periods="false" text-case="lowercase"/>
+ </names>
+ </else>
+ </choose>
+ </macro>
+ <macro name="editors-when-author">
+ <choose>
+ <if variable="editor">
+ <names variable="editor">
+ <label form="short" suffix=" " strip-periods="false" text-case="lowercase"/>
+ <name font-variant="small-caps"/>
+ <et-al font-variant="normal"/>
+ </names>
+ </if>
+ <else-if variable="collection-editor">
+ <names variable="collection-editor">
+ <label form="short" suffix=" " strip-periods="false" text-case="lowercase"/>
+ <name font-variant="small-caps"/>
+ <et-al font-variant="normal"/>
+ </names>
+ </else-if>
+ </choose>
+ </macro>
+ <macro name="contributors">
+ <choose>
+ <if type="manuscript" match="none">
+ <choose>
+ <if variable="author">
+ <text macro="author"/>
+ </if>
+ <else>
+ <text macro="editor"/>
+ </else>
+ </choose>
+ </if>
+ </choose>
+ </macro>
+ <macro name="contributors-bibliography">
+ <choose>
+ <if type="manuscript" match="none">
+ <choose>
+ <if variable="author">
+ <text macro="author-bibliography"/>
+ </if>
+ <else>
+ <text macro="editor-bibliography"/>
+ </else>
+ </choose>
+ </if>
+ </choose>
+ </macro>
+ <macro name="contributors-short">
+ <choose>
+ <if type="manuscript" match="none">
+ <choose>
+ <if variable="author">
+ <text macro="author-short"/>
+ </if>
+ <else>
+ <text macro="editor-short"/>
+ </else>
+ </choose>
+ </if>
+ </choose>
+ </macro>
+ <macro name="title">
+ <group delimiter=". ">
+ <choose>
+ <if type="book thesis paper-conference">
+ <text variable="title" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title" prefix="&#171;" suffix="&#187;"/>
+ </else>
+ </choose>
+ </group>
+ <choose>
+ <if type="book" variable="author" match="all">
+ <text macro="editors-when-author" prefix=", " suffix=","/>
+ </if>
+ </choose>
+ </macro>
+ <macro name="title-short">
+ <choose>
+ <if type="book thesis paper-conference">
+ <text variable="title" form="short" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title" form="short" prefix="&#171;" suffix="&#187;"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="container-title">
+ <choose>
+ <if type="chapter entry entry-dictionary entry-encyclopedia" match="any">
+ <text term="in" suffix=" " text-case="lowercase"/>
+ <group delimiter=", ">
+ <text macro="editor"/>
+ <text variable="container-title" font-style="italic"/>
+ <text variable="archive_location"/>
+ </group>
+ </if>
+ <else-if type="paper-conference">
+ <group delimiter=" ">
+ <text term="in" suffix=" " text-case="lowercase"/>
+ <text variable="container-title" font-style="italic"/>
+ <text variable="volume"/>
+ <date variable="issued" prefix=" (" suffix=")">
+ <date-part name="year"/>
+ </date>
+ </group>
+ </else-if>
+ <else-if type="article article-magazine article-newspaper article-journal">
+ <text variable="container-title" font-style="italic"/>
+ <group delimiter="/" prefix=" ">
+ <number variable="volume" form="numeric"/>
+ <text variable="issue"/>
+ </group>
+ <date variable="issued" prefix=" (" suffix=")">
+ <date-part name="year"/>
+ </date>
+ </else-if>
+ </choose>
+ </macro>
+ <macro name="collection-title">
+ <group delimiter=" ">
+ <text variable="collection-title"/>
+ <text variable="collection-number"/>
+ </group>
+ </macro>
+ <macro name="volume-number">
+ <choose>
+ <if type="book chapter">
+ <choose>
+ <if is-numeric="volume">
+ <number variable="volume" form="roman" text-case="uppercase"/>
+ </if>
+ <else>
+ <text variable="volume"/>
+ </else>
+ </choose>
+ </if>
+ </choose>
+ </macro>
+ <macro name="publisher-place">
+ <group delimiter=", ">
+ <text variable="publisher-place"/>
+ </group>
+ </macro>
+ <macro name="edition-note">
+ <choose>
+ <if type="book chapter paper-conference entry entry-dictionary entry-encyclopedia" match="any">
+ <choose>
+ <if is-numeric="edition">
+ <group delimiter=" ">
+ <number variable="edition"/>
+ </group>
+ </if>
+ <else>
+ <text variable="edition"/>
+ </else>
+ </choose>
+ </if>
+ </choose>
+ </macro>
+ <macro name="issued">
+ <choose>
+ <if variable="note">
+ <text variable="note"/>
+ </if>
+ <else-if type="graphic report article-newspaper" match="any">
+ <date variable="issued">
+ <date-part name="day" suffix=" "/>
+ <date-part name="month" suffix=" "/>
+ <date-part name="year"/>
+ </date>
+ </else-if>
+ <else>
+ <date variable="issued">
+ <date-part name="year" />
+ </date>
+ <text macro="edition-note" vertical-align="sup"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="publisher">
+ <group delimiter=", ">
+ <text variable="publisher" />
+ <text variable="publisher-place" />
+ </group>
+ </macro>
+ <macro name="issue-note">
+ <choose>
+ <if type="article article-magazine article-newspaper article-journal paper-conference"></if>
+ <else-if variable="collection-title collection-number" match="any">
+ <group>
+ <text macro="collection-title" suffix=", "/>
+ </group>
+ <group delimiter=" ">
+ <text macro="publisher"/>
+ <text macro="issued"/>
+ </group>
+ </else-if>
+ <else>
+ <text macro="publisher"/>
+ <text macro="issued" prefix=" "/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="pages">
+ <text variable="page"/>
+ </macro>
+ <macro name="locator">
+ <choose>
+ <if locator="page">
+ <text variable="locator" prefix=", "/>
+ </if>
+ <else>
+ <text variable="locator" prefix=" "/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="access-note">
+ <choose>
+ <if type="webpage post-weblog" match="any">
+ <text variable="container-title" font-style="italic" suffix=", "/>
+ <text term="in" suffix=" " text-case="lowercase"/>
+ <text variable="URL"/>
+ <group prefix=" [" suffix="]">
+ <date variable="accessed" delimiter="-">
+ <date-part name="day"/>
+ <date-part name="month" form="numeric"/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </if>
+ <else-if variable="URL accessed" match="all">
+ <text term="in" suffix=" " text-case="lowercase"/>
+ <text variable="URL" prefix=" "/>
+ <group prefix=" [" suffix="]">
+ <date variable="accessed" delimiter="-">
+ <date-part name="day"/>
+ <date-part name="month" form="numeric"/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </else-if>
+ </choose>
+ </macro>
+ <citation disambiguate-add-names="true" disambiguate-add-givenname="true" disambiguate-add-year-suffix="false" et-al-min="4" et-al-use-first="1" et-al-subsequent-min="4" et-al-subsequent-use-first="1">
+ <layout suffix="." delimiter="; ">
+ <choose>
+ <if position="ibid-with-locator">
+ <text term="ibid" text-case="capitalize-first" font-style="italic"/>
+ <text macro="locator"/>
+ </if>
+ <else-if position="ibid">
+ <text term="ibid" text-case="capitalize-first" font-style="italic"/>
+ </else-if>
+ <else-if position="subsequent">
+ <group delimiter=", ">
+ <text macro="contributors-short"/>
+ <text macro="title-short"/>
+ <choose>
+ <if type="paper-conference">
+ <text macro="volume-number"/>
+ </if>
+ </choose>
+ </group>
+ <text macro="locator"/>
+ </else-if>
+ <else>
+ <group delimiter=", ">
+ <text macro="contributors"/>
+ <text macro="title"/>
+ <text macro="container-title"/>
+ <text macro="volume-number"/>
+ <text macro="issue-note"/>
+ <text macro="pages"/>
+ </group>
+ <text macro="access-note" prefix=", "/>
+ <text macro="locator"/>
+ </else>
+ </choose>
+ </layout>
+ </citation>
+ <bibliography et-al-use-first="6" et-al-min="6" hanging-indent="true" subsequent-author-substitute="&#8211;&#8211;&#8211;">
+ <sort>
+ <key macro="author"/>
+ <key variable="title"/>
+ </sort>
+ <layout suffix=".">
+ <group delimiter=", ">
+ <text macro="contributors-bibliography"/>
+ <text macro="title"/>
+ <text macro="container-title"/>
+ <text macro="volume-number"/>
+ <text macro="issue-note"/>
+ <text macro="access-note"/>
+ <text macro="pages"/>
+ </group>
+ </layout>
+ </bibliography>
+</style>
View
2  review-of-financial-studies.csl
@@ -19,7 +19,7 @@
<updated>2012-07-13T06:31:01+00:00</updated>
<link href="http://www.oxfordjournals.org/our_journals/revfin/for_authors/ms_preparation.html" rel="documentation"/>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
- <issn>1465-7368</issn>
+ <issn>0893-9454</issn>
<issn>1465-7368</issn>
<summary>RFS style based on Chicago - the instructions say to follow Chicago's latest edition, but that's not what the journal does.</summary>
</info>
View
6 spec/repository_spec.rb
@@ -13,7 +13,7 @@
end
it "contains no duplicate ISSNs" do
- ISSN.select { |k,v| v.length > 1 }.should == []
+ ISSN.select { |_, styles| styles.length > 1 }.should == {}
end
-
-end
+
+end
View
36 spec/spec_helper.rb
@@ -4,6 +4,20 @@
ISSN = Hash.new { |h,k| h[k] = [] }
+# These styles are ignored when checking for duplicate ISSNs
+ISSN_FILTER = %w{
+ science science-without-title molecular-psychiatry
+ molecular-psychiatry-letters frontiers-in-aging-neuroscience
+ frontiers-in-behavioral-neuroscience frontiers-in-evolutionary-neuroscience
+ frontiers-in-human-neuroscience frontiers-in-integrative-neuroscience
+ frontiers-in-molecular-neuroscience frontiers-in-neural-circuits
+ frontiers-in-neuroanatomy frontiers-in-neuroenergetics
+ frontiers-in-neuroengineering frontiers-in-neuroinformatics
+ frontiers-in-neurorobotics frontiers-in-synaptic-neuroscience
+ frontiers-in-systems-neuroscience frontiers-in-cellular-neuroscience
+ frontiers-in-computational-neuroscience
+}
+
def load_style(path)
filename = File.basename(path)
id = filename[0..-5]
@@ -15,17 +29,19 @@ def load_style(path)
end
begin
- if style.info.has_issn?
- Array(style.info.issn).each do |issn|
- ISSN[issn.to_s] << id
- end
- end
+ unless ISSN_FILTER.include?(id)
+ if style.info.has_issn?
+ Array(style.info.issn).each do |issn|
+ ISSN[issn.to_s] << id
+ end
+ end
- if style.info.has_eissn?
- Array(style.info.eissn).each do |issn|
- ISSN[issn.to_s] << id
- end
- end
+ if style.info.has_eissn?
+ Array(style.info.eissn).each do |issn|
+ ISSN[issn.to_s] << id
+ end
+ end
+ end
rescue
warn "Failed to extract ISSN of style #{id}"
end
View
146 springer-protocols.csl
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="utf-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US">
+ <info>
+ <title>Springer Protocols</title>
+ <id>http://www.zotero.org/styles/springer-protocols</id>
+ <link href="http://www.zotero.org/styles/springer-protocols" rel="self"/>
+ <link href="http://www.zotero.org/styles/springer-plasmonics" rel="template"/>
+ <link href="http://www.springerprotocols.com/cdp/view/contributors#ref" rel="documentation"/>
+ <author>
+ <name>Charles Parnot</name>
+ <email>charles@mekentosj.com</email>
+ <uri>http://twitter.com/cparnot</uri>
+ </author>
+ <category citation-format="numeric"/>
+ <category field="generic-base"/>
+ <category field="biology"/>
+ <updated>2012-08-06T12:00:00+00:00</updated>
+ <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">
+ <group suffix="">
+ <names variable="author">
+ <name initialize-with="." delimiter=", " and="text"/>
+ <label form="short" prefix=", " suffix=", " text-case="capitalize-first" strip-periods="true"/>
+ <substitute>
+ <names variable="editor"/>
+ </substitute>
+ </names>
+ </group>
+ </macro>
+ <macro name="editor">
+ <names variable="editor">
+ <name initialize-with="." delimiter=", " and="text" name-as-sort-order="all" sort-separator=", "/>
+ <label form="short" prefix=" (" text-case="lowercase" suffix=".)" strip-periods="true"/>
+ </names>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
+ <text variable="title"/>
+ </if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="publisher">
+ <text variable="publisher"/>
+ <text variable="publisher-place" prefix=", "/>
+ </macro>
+ <macro name="access">
+ <text variable="URL"/>
+ </macro>
+ <macro name="page">
+ <group>
+ <label variable="page" form="short" suffix=". " strip-periods="true"/>
+ <text variable="page"/>
+ </group>
+ </macro>
+ <citation et-al-min="3" et-al-use-first="1" collapse="citation-number">
+ <sort>
+ <key variable="citation-number"/>
+ </sort>
+ <layout prefix="(" suffix=")" delimiter=", " font-weight="bold" font-style="italic">
+ <text variable="citation-number"/>
+ </layout>
+ </citation>
+ <bibliography et-al-min="4" et-al-use-first="3" entry-spacing="0" second-field-align="flush">
+ <layout suffix=".">
+ <text variable="citation-number" suffix=". "/>
+ <text macro="author" prefix=" " suffix=" "/>
+ <choose>
+ <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
+ <group delimiter=" ">
+ <date variable="issued">
+ <date-part name="year" prefix="(" suffix=")"/>
+ </date>
+ <text macro="title" suffix=", "/>
+ <text macro="publisher"/>
+ </group>
+ </if>
+ <else-if type="article-journal">
+ <group delimiter=" ">
+ <date variable="issued">
+ <date-part name="year" prefix="(" suffix=")"/>
+ </date>
+ <text macro="title" suffix=","/>
+ <text variable="container-title" suffix="."/>
+ <text variable="volume" suffix=","/>
+ <text variable="page"/>
+ </group>
+ </else-if>
+ <else-if type="chapter paper-conference" match="any">
+ <group delimiter=" ">
+ <date variable="issued">
+ <date-part name="year" prefix="(" suffix=")"/>
+ </date>
+ <text macro="title" suffix=","/>
+ <choose>
+ <if variable="container-title">
+ <text macro="editor" prefix="In: " suffix=" "/>
+ <text variable="container-title" suffix=", "/>
+ <text macro="page"/>
+ <text macro="publisher"/>
+ </if>
+ <else>
+ <text term="presented at" text-case="capitalize-first" suffix=" "/>
+ <text variable="event"/>
+ <text variable="event-place" prefix=", "/>
+ <date variable="issued" prefix=" ">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=" "/>
+ </date>
+ </else>
+ </choose>
+ </group>
+ </else-if>
+ <else-if type="webpage">
+ <group delimiter=", ">
+ <text macro="title"/>
+ <text variable="URL"/>
+ </group>
+ </else-if>
+ <else-if type="speech">
+ <group delimiter=" ">
+ <date variable="issued">
+ <date-part name="year" prefix="(" suffix=")"/>
+ </date>
+ <text macro="title" suffix=","/>
+ <text variable="event" suffix="."/>
+ <text variable="event-place" prefix=", "/>
+ </group>
+ </else-if>
+ <else>
+ <group delimiter=", ">
+ <date variable="issued">
+ <date-part name="year" prefix="(" suffix=")"/>
+ </date>
+ <text macro="title"/>
+ <text variable="URL"/>
+ </group>
+ </else>
+ </choose>
+ </layout>
+ </bibliography>
+</style>
View
236 stem-cells.csl
@@ -0,0 +1,236 @@
+<?xml version="1.0" encoding="utf-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US">
+ <info>
+ <title>Stem Cells</title>
+ <id>http://www.zotero.org/styles/stem-cells</id>
+ <link href="http://www.zotero.org/styles/stem-cells" rel="self"/>
+ <link href="http://www.zotero.org/styles/american-medical-association" rel="template"/>
+ <link href="http://onlinelibrary.wiley.com/store/10.1002/(ISSN)1549-4918/asset/homepages/InfoforAuthors.pdf;jsessionid=23E98BF81365094DA7E6D172E1D76B8E.d01t03?v=1&amp;s=b35bb15bf61cca9945d838810f52c128f63b87d6" rel="documentation"/>
+ <author>
+ <name>Charles Parnot</name>
+ <email>charles@mekentosj.com</email>
+ <uri>http://twitter.com/cparnot</uri>
+ </author>
+ <category citation-format="numeric"/>
+ <category field="biology"/>
+ <category field="medicine"/>
+ <issn>1549-4918</issn> <!-- Online -->
+ <updated>2012-08-07T12:00:00+00:00</updated>
+ <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="editor">
+ <names variable="editor">
+ <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
+ <label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
+ </names>
+ </macro>
+ <macro name="anon">
+ <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
+ </macro>
+ <macro name="author">
+ <group suffix=".">
+ <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="lowercase" strip-periods="true"/>
+ <substitute>
+ <names variable="editor"/>
+ <text macro="anon"/>
+ </substitute>
+ </names>
+ </group>
+ </macro>
+ <macro name="author-short">
+ <names variable="author">
+ <name form="short" and="symbol" delimiter=", " initialize-with="."/>
+ <substitute>
+ <names variable="editor"/>
+ <names variable="translator"/>
+ <text macro="anon"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="access">
+ <choose>
+ <if type="article-newspaper" match="none">
+ <choose>
+ <if variable="URL">
+ <text value="Available at:" suffix=" "/>
+ <group delimiter=". ">
+ <text variable="URL"/>
+ <group>
+ <text term="accessed" text-case="capitalize-first" suffix=" "/>
+ <date variable="accessed">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
+ </if>
+ </choose>
+ </if>
+ </choose>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
+ <text variable="title" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="publisher">
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
+ <text variable="publisher"/>
+ </group>
+ </macro>
+ <macro name="year-date">
+ <group prefix=" ">
+ <choose>
+ <if variable="issued">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </if>
+ <else>
+ <text term="no date" form="short"/>
+ </else>
+ </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 delimiter=", " prefix="[" suffix="]">
+ <text variable="citation-number"/>
+ </layout>
+ </citation>
+ <bibliography hanging-indent="true" et-al-min="4" et-al-use-first="3" line-spacing="2">
+ <layout>
+ <text variable="citation-number" suffix=". "/>
+ <text macro="author"/>
+ <text macro="title" prefix=" " suffix="."/>
+ <choose>
+ <if type="bill book graphic legislation motion_picture report song" match="any">
+ <group suffix="." prefix=" " delimiter=" ">
+ <text macro="edition"/>
+ <text macro="editor" prefix="(" suffix=")"/>
+ </group>
+ <text prefix=" " macro="publisher"/>
+ <group suffix="." prefix="; ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text variable="page" prefix=":"/>
+ </group>
+ </if>
+ <else-if type="chapter paper-conference" match="any">
+ <group prefix=" ">
+ <text term="in" text-case="capitalize-first" suffix=": "/>
+ <text macro="editor"/>
+ <text variable="container-title" prefix=" " suffix="."/>
+ <text variable="volume" prefix="Vol " suffix="."/>
+ <text macro="edition" prefix=" "/>
+ <text variable="collection-title" prefix=" " suffix="."/>
+ <group suffix=".">
+ <text macro="publisher" prefix=" "/>
+ <group suffix="." prefix="; ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text variable="page" prefix=":"/>
+ </group>
+ </group>
+ </group>
+ </else-if>
+ <else-if type="article-newspaper">
+ <text variable="container-title" font-weight="bold" prefix=" " suffix=" " text-case="uppercase"/>
+ <choose>
+ <if variable="URL">
+ <group delimiter=". " suffix=".">
+ <text variable="URL"/>
+ <group prefix="Published ">
+ <date variable="issued">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ <group>
+ <text term="accessed" text-case="capitalize-first" suffix=" "/>
+ <date variable="accessed">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
+ </if>
+ <else>
+ <group delimiter=":" suffix=".">
+ <group>
+ <date variable="issued">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ <text variable="page"/>
+ </group>
+ </else>
+ </choose>
+ </else-if>
+ <else-if type="legal_case">
+ <group suffix="," prefix=" " delimiter=" ">
+ <text macro="editor" prefix="(" suffix=")"/>
+ </group>
+ <group prefix=" " suffix=" " delimiter=" ">
+ <text variable="container-title"/>
+ <text variable="volume"/>
+ </group>
+ <text variable="page" prefix=", " suffix=" "/>
+ <group prefix="(" suffix=")." delimiter=" ">
+ <text variable="authority"/>
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </group>
+ </else-if>
+ <else>
+ <text macro="editor" prefix=" " suffix="."/>
+ <group prefix=" " suffix=".">
+ <text variable="container-title" font-weight="bold" form="short" prefix=" " suffix=" " text-case="uppercase"/>
+ <group delimiter=";" prefix=" ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <group>
+ <text variable="volume"/>
+ <text variable="issue" prefix="(" suffix=")"/>
+ </group>
+ </group>
+ <text variable="page" prefix=":"/>
+ </group>
+ </else>
+ </choose>
+ <text prefix=" " macro="access" suffix="."/>
+ </layout>
+ </bibliography>
+</style>
View
158 strahlentherapie-und-onkologie.csl
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="utf-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-GB">
+ <info>
+ <title>Strahlentherapie und Onkologie</title>
+ <id>http://www.zotero.org/styles/strahlentherapie-und-onkologie</id>
+ <link href="http://www.zotero.org/styles/strahlentherapie-und-onkologie" rel="self"/>
+ <link href="http://www.zotero.org/styles/new-england-journal-of-medicine" rel="template"/>
+ <link href="http://www.springer.com/cda/content/document/cda_downloaddocument/66_guidelines_Autorenhinw_suon-2011-dez.pdf?SGWID=0-0-45-148812-p1116023" rel="documentation"/>
+ <author>
+ <name>Charles Parnot</name>
+ <email>charles@mekentosj.com</email>
+ <uri>http://twitter.com/cparnot</uri>
+ </author>
+ <category citation-format="numeric"/>
+ <category field="medicine"/>
+ <issn>0179-7158</issn> <!-- Print -->
+ <updated>2012-08-06T12:00:00+00:00</updated>
+ <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 delimiter="," prefix="[" suffix="]">
+ <text variable="citation-number"/>
+ </layout>
+ </citation>
+ <bibliography et-al-min="7" et-al-use-first="3" second-field-align="flush">
+ <sort>
+ <key variable="author"/>
+ <key variable="issued"/>
+ </sort>
+ <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>
View
1  the-journal-of-neuroscience.csl
@@ -4,7 +4,6 @@
<title>The Journal of Neuroscience</title>
<id>http://www.zotero.org/styles/the-journal-of-neuroscience</id>
<link href="http://www.zotero.org/styles/the-journal-of-neuroscience" rel="self"/>
- <issn>0270-6474</issn>
<author>
<name>Ullrich Bartsch</name>
<email>ubartsch@gmail.com</email>
Please sign in to comment.
Something went wrong with that request. Please try again.