Skip to content

Commit

Permalink
some small fixes to ACS with titles and rename to no-et-al, create a …
Browse files Browse the repository at this point in the history
…version with et all for >10 authors. Change dependents to the no-et-al version and the journal of physical chemistry to the et al version. @rmzelle - this passes the test suite, but please double check I haven't done anything stupid
  • Loading branch information
adam3smith committed Aug 28, 2013
1 parent 897db7e commit 498efd3
Show file tree
Hide file tree
Showing 11 changed files with 254 additions and 20 deletions.
223 changes: 223 additions & 0 deletions american-chemical-society-with-titles-no-et-al.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
<?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>American Chemical Society (with titles, no "et al.")</title>
<title-short>ACS</title-short>
<id>http://www.zotero.org/styles/american-chemical-society-with-titles-no-et-al</id>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles-no-et-al" rel="self"/>
<link href="http://pubs.acs.org/doi/pdf/10.1021/bk-2006-STYG.ch014" rel="documentation"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>
<contributor>
<name>Ivan Bushmarinov</name>
<email>ib@ineos.ac.ru</email>
</contributor>
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<category citation-format="numeric"/>
<category field="chemistry"/>
<summary>The American Chemical Society style with article titles</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="editor">
<names variable="editor">
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="capitalize-first"/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="capitalize-first"/>
</names>
</macro>
<macro name="access">
<text variable="URL"/>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song">
<text variable="title" text-case="title" font-style="italic"/>
</if>
<else>
<text variable="title" text-case="title"/>
</else>
</choose>
</macro>
<macro name="volume">
<group delimiter=" ">
<text term="volume" form="short" suffix="." text-case="capitalize-first" strip-periods="true"/>
<text variable="volume"/>
</group>
</macro>
<macro name="series">
<text variable="collection-title"/>
</macro>
<macro name="pages">
<label variable="page" form="short" suffix=". " strip-periods="true"/>
<text variable="page"/>
</macro>
<macro name="book-container">
<group delimiter=" ">
<text macro="title" suffix="."/>
<text term="in" text-case="capitalize-first"/>
<text variable="container-title" font-style="italic"/>
</group>
</macro>
<macro name="issued">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
</date>
</macro>
<macro name="full-issued">
<date variable="issued" delimiter=" ">
<date-part name="month" form="long" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</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>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography second-field-align="flush" entry-spacing="0">
<layout suffix=".">
<text variable="citation-number" prefix="(" suffix=") "/>
<text macro="author" suffix=" "/>
<choose>
<if type="article-magazine">
<group delimiter=" ">
<text macro="title" suffix="."/>
<text variable="container-title" font-style="italic" suffix="."/>
<text macro="edition"/>
<text macro="publisher"/>
<text macro="full-issued" suffix=","/>
<text macro="pages"/>
</group>
</if>
<else-if type="thesis">
<group delimiter=", ">
<group delimiter=". ">
<text macro="title"/>
<text variable="genre"/>
</group>
<text macro="publisher"/>
<text macro="issued"/>
<text macro="volume"/>
<text macro="pages"/>
</group>
</else-if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter="; ">
<text macro="title"/>
<text macro="editor" prefix=" "/>
<text macro="series"/>
<text macro="edition"/>
<choose>
<if type="report">
<group delimiter=" ">
<text variable="genre"/>
<text variable="number"/>
</group>
</if>
</choose>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="issued"/>
</group>
<group delimiter=", ">
<text macro="volume"/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="patent">
<group delimiter=", ">
<group delimiter=". ">
<text macro="title"/>
<text variable="number"/>
</group>
<date variable="issued" form="text"/>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<group delimiter="; ">
<text macro="book-container"/>
<text macro="editor"/>
<text macro="series"/>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="issued"/>
</group>
<group delimiter=", ">
<text macro="volume"/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="webpage">
<group delimiter=" ">
<text variable="title"/>
<text variable="URL"/>
<date variable="accessed" prefix="(accessed " suffix=")" delimiter=" ">
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="article-journal">
<group delimiter=" ">
<text macro="title" suffix="."/>
<text variable="container-title" font-style="italic" form="short"/>
<group delimiter=", ">
<text macro="issued" font-weight="bold"/>
<text variable="volume" font-style="italic"/>
<text variable="page"/>
</group>
</group>
</else-if>
<else>
<group delimiter=" ">
<group delimiter=". ">
<text macro="title"/>
<text variable="container-title" font-style="italic" form="short"/>
</group>
<group delimiter=", ">
<text macro="issued" font-weight="bold"/>
<text variable="volume" font-style="italic"/>
<text variable="page"/>
</group>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
33 changes: 22 additions & 11 deletions american-chemical-society-with-titles.csl
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@
</contributor>
<category citation-format="numeric"/>
<category field="chemistry"/>
<summary>The American Chemical Society style with article titles</summary>
<summary>The American Chemical Society style with article titles</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="editor">
<names variable="editor">
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="capitalize-first" suffix="." strip-periods="true"/>
<label form="short" prefix=", " text-case="capitalize-first"/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
<label form="short" prefix=", " suffix="." text-case="capitalize-first" strip-periods="true"/>
<label form="short" prefix=", " text-case="capitalize-first"/>
</names>
</macro>
<macro name="access">
Expand All @@ -44,6 +44,16 @@
<text variable="publisher-place"/>
</group>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song">
<text variable="title" text-case="title" font-style="italic"/>
</if>
<else>
<text variable="title" text-case="title"/>
</else>
</choose>
</macro>
<macro name="volume">
<group delimiter=" ">
<text term="volume" form="short" suffix="." text-case="capitalize-first" strip-periods="true"/>
Expand All @@ -59,7 +69,7 @@
</macro>
<macro name="book-container">
<group delimiter=" ">
<text variable="title" suffix="."/>
<text macro="title" suffix="."/>
<text term="in" text-case="capitalize-first"/>
<text variable="container-title" font-style="italic"/>
</group>
Expand All @@ -81,7 +91,7 @@
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="." strip-periods="true"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
Expand All @@ -97,13 +107,14 @@
<text variable="citation-number"/>
</layout>
</citation>
<bibliography second-field-align="flush" entry-spacing="0">
<bibliography second-field-align="flush" entry-spacing="0" et-al-min="11" et-al-use-first="10">
<layout suffix=".">
<text variable="citation-number" prefix="(" suffix=") "/>
<text macro="author" suffix=" "/>
<choose>
<if type="article-magazine">
<group delimiter=" ">
<text macro="title" suffix="."/>
<text variable="container-title" font-style="italic" suffix="."/>
<text macro="edition"/>
<text macro="publisher"/>
Expand All @@ -114,7 +125,7 @@
<else-if type="thesis">
<group delimiter=", ">
<group delimiter=". ">
<text variable="title"/>
<text macro="title"/>
<text variable="genre"/>
</group>
<text macro="publisher"/>
Expand All @@ -125,7 +136,7 @@
</else-if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter="; ">
<text variable="title" font-style="italic"/>
<text macro="title"/>
<text macro="editor" prefix=" "/>
<text macro="series"/>
<text macro="edition"/>
Expand All @@ -150,7 +161,7 @@
<else-if type="patent">
<group delimiter=", ">
<group delimiter=". ">
<text variable="title"/>
<text macro="title"/>
<text variable="number"/>
</group>
<date variable="issued" form="text"/>
Expand Down Expand Up @@ -184,7 +195,7 @@
</else-if>
<else-if type="article-journal">
<group delimiter=" ">
<text variable="title" suffix="."/>
<text macro="title" suffix="."/>
<text variable="container-title" font-style="italic" form="short"/>
<group delimiter=", ">
<text macro="issued" font-weight="bold"/>
Expand All @@ -196,7 +207,7 @@
<else>
<group delimiter=" ">
<group delimiter=". ">
<text variable="title"/>
<text macro="title"/>
<text variable="container-title" font-style="italic" form="short"/>
</group>
<group delimiter=", ">
Expand Down
2 changes: 1 addition & 1 deletion dependent/accounts-of-chemical-research.csl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Accounts of Chemical Research</title>
<id>http://www.zotero.org/styles/accounts-of-chemical-research</id>
<link href="http://www.zotero.org/styles/accounts-of-chemical-research" rel="self"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles" rel="independent-parent"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles-no-et-al" rel="independent-parent"/>
<category citation-format="numeric"/>
<category field="chemistry"/>
<issn>0001-4842</issn>
Expand Down
2 changes: 1 addition & 1 deletion dependent/environmental-science-and-technology.csl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Environmental Science &amp; Technology</title>
<id>http://www.zotero.org/styles/environmental-science-and-technology</id>
<link href="http://www.zotero.org/styles/environmental-science-and-technology" rel="self"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles" rel="independent-parent"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles-no-et-al" rel="independent-parent"/>
<link href="http://pubs.acs.org/paragonplus/submission/esthag/esthag_authguide.pdf" rel="documentation"/>
<category citation-format="numeric"/>
<category field="chemistry"/>
Expand Down
2 changes: 1 addition & 1 deletion dependent/journal-of-agricultural-and-food-chemistry.csl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Journal of Agricultural and Food Chemistry</title>
<id>http://www.zotero.org/styles/journal-of-agricultural-and-food-chemistry</id>
<link href="http://www.zotero.org/styles/journal-of-agricultural-and-food-chemistry" rel="self"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles" rel="independent-parent"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles-no-et-al" rel="independent-parent"/>
<link href="http://pubs.acs.org/page/jafcau/submission/reference-guidelines.html" rel="documentation"/>
<author>
<name>Sebastian Karcher</name>
Expand Down
2 changes: 1 addition & 1 deletion dependent/journal-of-medicinal-chemistry.csl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Journal of Medicinal Chemistry</title>
<id>http://www.zotero.org/styles/journal-of-medicinal-chemistry</id>
<link href="http://www.zotero.org/styles/journal-of-medicinal-chemistry" rel="self"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles" rel="independent-parent"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles-no-et-al" rel="independent-parent"/>
<link href="http://pubs.acs.org/journal/jmcmar" rel="documentation"/>
<category citation-format="numeric"/>
<category field="chemistry"/>
Expand Down
2 changes: 1 addition & 1 deletion dependent/journal-of-proteome-research.csl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Journal of Proteome Research</title>
<id>http://www.zotero.org/styles/journal-of-proteome-research</id>
<link href="http://www.zotero.org/styles/journal-of-proteome-research" rel="self"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles" rel="independent-parent"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles-no-et-al" rel="independent-parent"/>
<link href="http://pubs.acs.org/journal/jprobs" rel="documentation"/>
<category citation-format="numeric"/>
<category field="chemistry"/>
Expand Down
2 changes: 1 addition & 1 deletion dependent/molecular-pharmaceutics.csl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Molecular Pharmaceutics</title>
<id>http://www.zotero.org/styles/molecular-pharmaceutics</id>
<link href="http://www.zotero.org/styles/molecular-pharmaceutics" rel="self"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles" rel="independent-parent"/>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles-no-et-al" rel="independent-parent"/>
<link href="http://pubs.acs.org/journal/mpohbp" rel="documentation"/>
<category citation-format="numeric"/>
<category field="chemistry"/>
Expand Down
Loading

0 comments on commit 498efd3

Please sign in to comment.