Skip to content

Commit

Permalink
Create pensoft-journals.csl (JabRef#4972)
Browse files Browse the repository at this point in the history
General styles -- full list of styles to follow via citation-style-language/journals#104
  • Loading branch information
teodorgeorgiev committed Aug 19, 2020
1 parent 4f8fa44 commit 0895562
Showing 1 changed file with 237 additions and 0 deletions.
237 changes: 237 additions & 0 deletions pensoft-journals.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
<?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>Pensoft Journals</title>
<id>http://www.zotero.org/styles/pensoft-journals</id>
<link href="http://www.zotero.org/styles/pensoft-journals" rel="self"/>
<link href="http://www.zotero.org/styles/zookeys" rel="template"/>
<link href="https://zookeys.pensoft.net/about#CitationsandReferences" rel="documentation"/>
<author>
<name>Teodor Georgiev</name>
<email>t.georgiev@pensoft.net</email>
</author>
<category citation-format="author-date"/>
<summary>The Pensoft Journals style</summary>
<updated>2015-11-07T07:40:10+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>
<locale xml:lang="en-US">
<date form="text">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
<terms>
<term name="editor" form="short">
<single>ed.</single>
<multiple>eds</multiple>
</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter=", ">
<name initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
</names>
</macro>
<macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
</macro>
<macro name="author">
<names variable="author">
<name delimiter-precedes-last="never" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<et-al font-style="italic"/>
<label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
<substitute>
<names variable="editor"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" delimiter=" " and="text" delimiter-precedes-last="never" initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="authorcount">
<names variable="author">
<name form="count"/>
</names>
</macro>
<macro name="access">
<choose>
<if type="legal_case" match="none">
<choose>
<if variable="DOI">
<group delimiter=" ">
<text variable="DOI" prefix="https://doi.org/"/>
</group>
</if>
<else-if variable="URL">
<group delimiter=" " suffix=".">
<text variable="URL" prefix="Available from: "/>
<group prefix="(" suffix=")">
<date variable="accessed" form="text"/>
</group>
</group>
</else-if>
</choose>
</if>
</choose>
</macro>
<macro name="title">
<text variable="title"/>
</macro>
<macro name="legal_case">
<group prefix=" " delimiter=" ">
<text variable="volume"/>
<text variable="container-title"/>
</group>
<text variable="authority" prefix=" (" suffix=")"/>
</macro>
<macro name="publisher">
<choose>
<if type="thesis" match="none">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
<text variable="genre" prefix=". "/>
</if>
<else>
<group delimiter=". ">
<text variable="genre"/>
<text variable="publisher"/>
</group>
</else>
</choose>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<group>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<text term="no date" form="short"/>
</else>
</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="locator">
<choose>
<if locator="page">
<text variable="locator"/>
</if>
<else>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</else>
</choose>
</macro>
<citation name-form="short" et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
<sort>
<key macro="year-date"/>
<key macro="author-short"/>
</sort>
<layout delimiter=", " prefix="(" suffix=")">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<text macro="locator"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="true">
<sort>
<key macro="author" names-min="1" names-use-first="1"/>
<key macro="authorcount"/>
<key macro="year-date"/>
<key variable="title"/>
</sort>
<layout suffix=" ">
<text macro="author" suffix=" "/>
<date variable="issued" prefix="(" suffix=")">
<date-part name="year"/>
</date>
<choose>
<if type="book" match="any">
<text macro="legal_case"/>
<group prefix=" " delimiter=" ">
<text macro="title" font-style="normal" suffix="."/>
<text macro="edition"/>
<text macro="editor" suffix="."/>
</group>
<group prefix=" " suffix="." delimiter=", ">
<text macro="publisher"/>
<text variable="number-of-pages" prefix=" " suffix=" pp"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<text macro="title" prefix=" " suffix="."/>
<group prefix=" In: " delimiter=" ">
<text macro="editor" suffix=","/>
<text variable="container-title" suffix="."/>
<text variable="collection-title" suffix="."/>
<group suffix=".">
<text macro="publisher"/>
<group delimiter=" " prefix=", " suffix=".">
<text variable="page"/>
</group>
</group>
</group>
</else-if>
<else-if type="bill graphic legal_case legislation manuscript motion_picture report song thesis" match="any">
<text macro="legal_case"/>
<group prefix=" " delimiter=" ">
<text macro="title" suffix="."/>
<text macro="edition"/>
<text macro="editor" suffix="."/>
</group>
<group prefix=" " delimiter=", ">
<text macro="publisher"/>
<text variable="page" prefix=" " suffix="pp."/>
</group>
</else-if>
<else>
<group prefix=" " delimiter=". " suffix=".">
<text macro="title"/>
<text macro="editor"/>
</group>
<group prefix=" " suffix=".">
<text variable="container-title"/>
<group prefix=" ">
<text variable="volume"/>
</group>
<text variable="page" prefix=": " suffix="."/>
</group>
</else>
</choose>
<text macro="access" prefix=" "/>
</layout>
</bibliography>
</style>

0 comments on commit 0895562

Please sign in to comment.