Skip to content

Commit

Permalink
Create karstenia.csl (JabRef#4929)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 committed Jul 16, 2020
1 parent 530a136 commit 4adb1ea
Showing 1 changed file with 163 additions and 0 deletions.
163 changes: 163 additions & 0 deletions karstenia.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
<?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>Karstenia</title>
<id>http://www.zotero.org/styles/karstenia</id>
<link href="http://www.zotero.org/styles/karstenia" rel="self"/>
<link href="http://www.zotero.org/styles/myrmecological-news" rel="template"/>
<link href="http://karstenia.fi/instructions-to-authors/#Manuscript%20preparation" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="author-date"/>
<category field="biology"/>
<issn>0453-3402</issn>
<updated>2020-07-15T14:25:19+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 and="symbol" initialize-with="." name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first"/>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
<label form="short" prefix=" " suffix="."/>
<substitute>
<names variable="editor"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1" initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="book thesis" match="any">
<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>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<macro name="pages">
<text variable="page"/>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
<sort>
<key macro="year-date"/>
<key macro="author"/>
</sort>
<layout prefix="(" suffix=")" delimiter=", ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography hanging-indent="true">
<sort>
<key macro="author"/>
<key variable="title"/>
</sort>
<layout suffix=".">
<group delimiter=": ">
<group delimiter=" ">
<text macro="author"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
<choose>
<if type="book thesis">
<group delimiter=". ">
<text macro="title"/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter">
<group delimiter=". ">
<text macro="title"/>
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<text macro="editor" text-case="capitalize-all"/>
</group>
<group delimiter=", ">
<group delimiter=". ">
<text variable="container-title"/>
<text variable="collection-title"/>
</group>
<text macro="pages"/>
</group>
<text macro="publisher"/>
</group>
</else-if>
<else>
<group delimiter=". ">
<text macro="title"/>
<group delimiter=" " prefix=" ">
<text variable="container-title"/>
<group delimiter=": ">
<text variable="volume"/>
<text macro="pages"/>
</group>
</group>
</group>
</else>
</choose>
</group>
</layout>
</bibliography>
</style>

0 comments on commit 4adb1ea

Please sign in to comment.