Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add style for Behavioral Ecology and Sociobiology.
- Loading branch information
Showing
1 changed file
with
151 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US"> | ||
<info> | ||
<title>Behavioral Ecology and Sociobiology</title> | ||
<id>http://www.zotero.org/styles/behavioral-ecology-and-sociobiology</id> | ||
<link href="http://www.zotero.org/styles/behavioral-ecology-and-sociobiology" rel="self"/> | ||
<link href="http://www.springer.com/life+sciences/behavioural/journal/265" rel="documentation"/> | ||
<author> | ||
<name>cumuless</name> | ||
</author> | ||
<issn>0340-5443</issn> | ||
<issn>1432-0762</issn> | ||
<category citation-format="author-date"/> | ||
<category field="generic-base"/> | ||
<updated>2012-03-30T23:01:22+00:00</updated> | ||
</info> | ||
<macro name="editor-translator"> | ||
<names variable="editor translator" prefix="(" suffix=")" delimiter=", "> | ||
<name and="text" initialize-with="" delimiter=", "/> | ||
<label form="short" prefix=", " text-case="capitalize-first" suffix="."/> | ||
</names> | ||
</macro> | ||
<macro name="edition"> | ||
<choose> | ||
<if is-numeric="edition"> | ||
<group delimiter=" "> | ||
<number variable="edition" form="ordinal"/> | ||
<text term="edition" form="short" suffix="n."/> | ||
</group> | ||
</if> | ||
<else> | ||
<text variable="edition" suffix="."/> | ||
</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="book"> | ||
<text variable="title" form="short"/> | ||
</if> | ||
<else> | ||
<text variable="title" form="short" quotes="true"/> | ||
</else> | ||
</choose> | ||
</substitute> | ||
</names> | ||
</macro> | ||
<macro name="title"> | ||
<choose> | ||
<if type="book"> | ||
<text variable="title"/> | ||
</if> | ||
<else> | ||
<text variable="title"/> | ||
</else> | ||
</choose> | ||
</macro> | ||
<macro name="publisher"> | ||
<group delimiter=", "> | ||
<text variable="publisher"/> | ||
<text variable="publisher-place"/> | ||
</group> | ||
</macro> | ||
<citation collapse="year-suffix" et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true"> | ||
<sort> | ||
<key variable="issued"/> | ||
<key variable="author"/> | ||
</sort> | ||
<layout prefix="(" suffix=")" delimiter="; "> | ||
<group delimiter=" "> | ||
<text macro="author-short"/> | ||
<date variable="issued"> | ||
<date-part name="year"/> | ||
</date> | ||
<group> | ||
<label variable="locator" suffix="." form="short"/> | ||
<text variable="locator" prefix=" "/> | ||
</group> | ||
</group> | ||
</layout> | ||
</citation> | ||
<bibliography hanging-indent="true"> | ||
<sort> | ||
<key macro="author-short"/> | ||
<key variable="issued"/> | ||
</sort> | ||
<layout> | ||
<text macro="author" suffix=""/> | ||
<date variable="issued" prefix=" (" suffix=")"> | ||
<date-part name="year"/> | ||
</date> | ||
<choose> | ||
<if type="book"> | ||
<group suffix="."> | ||
<text macro="title" prefix=" "/> | ||
<text macro="editor-translator" prefix=" "/> | ||
</group> | ||
<text prefix=" " suffix="." macro="publisher"/> | ||
</if> | ||
<else-if type="chapter"> | ||
<text macro="title" prefix=" "/> | ||
<group prefix=". "> | ||
<text term="in" text-case="capitalize-first" suffix=": "/> | ||
<names variable="editor translator"> | ||
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/> | ||
<label form="short" prefix=" (" suffix=")"/> | ||
</names> | ||
<text variable="container-title" prefix=" " suffix="."/> | ||
<text macro="edition" prefix=" " suffix=""/> | ||
<text variable="collection-title" prefix=" " suffix="."/> | ||
<group suffix="."> | ||
<text macro="publisher" prefix=" " suffix=","/> | ||
<group prefix=" " suffix=""> | ||
<label variable="page" form="short" suffix=" "/> | ||
<text variable="page"/> | ||
</group> | ||
</group> | ||
</group> | ||
</else-if> | ||
<else> | ||
<group suffix="."> | ||
<text macro="title" prefix=" "/> | ||
<text macro="editor-translator" prefix=" "/> | ||
</group> | ||
<group prefix=" " suffix=" "> | ||
<text form="short" variable="container-title"/> | ||
<group prefix=" "> | ||
<text variable="volume"/> | ||
</group> | ||
<text variable="page" prefix=":"/> | ||
</group> | ||
</else> | ||
</choose> | ||
</layout> | ||
</bibliography> | ||
</style> |
923e47a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am adding the license, see 653eb06
(of course, I am assuming it's the same license as all the others).
923e47a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You deserve a stroopwafel. http://meta.wikimedia.org/wiki/Association_of_Stroopwafel_Addicts
923e47a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yum!
I caught this one because of the script we use to add the styles to Papers2, where the script rejects any style without a compatible license :-)
The script also explains the recent stream of
<name>
corrections, as I noticed some weird things and names in multiple instances, like Bruce D'Arcus with or without a curly apostrophe.923e47a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your help maintaining the style repository is really appreciated. I do some quality control, but my own script currently doesn't catch these issues.