Skip to content

Commit

Permalink
journal-of-palm-oil-research.csl fix several errors (#5686)
Browse files Browse the repository at this point in the history
* fix paper-conference and other errors

via https://forums.zotero.org/discussion/comment/392419/#Comment_392419

* add subsitutes for authors
  • Loading branch information
POBrien333 authored Nov 4, 2021
1 parent 6cbe29d commit c6a1907
Showing 1 changed file with 48 additions and 5 deletions.
53 changes: 48 additions & 5 deletions journal-of-oil-palm-research.csl
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,23 @@
<category citation-format="author-date"/>
<category field="biology"/>
<issn>1511-2780</issn>
<updated>2021-04-28T08:36:46+00:00</updated>
<updated>2021-11-03T09:33:07+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">
<terms>
<term name="accessed">accessed on</term>
</terms>
</locale>
<macro name="author-short">
<names variable="author">
<name form="short" and="text"/>
<et-al font-style="italic"/>
<label form="short" prefix=", "/>
<substitute>
<names variable="editor translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="author-count">
Expand All @@ -32,6 +42,11 @@
<names variable="author">
<name delimiter="; " and="text" delimiter-precedes-last="never" initialize-with=" " name-as-sort-order="all"/>
<et-al font-style="italic"/>
<label form="short" prefix=", "/>
<substitute>
<names variable="editor translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="issued">
Expand All @@ -41,8 +56,8 @@
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher-place"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="editor">
Expand All @@ -51,6 +66,12 @@
<label form="short" prefix=", "/>
</names>
</macro>
<macro name="pages">
<group delimiter=" ">
<label plural="never" variable="page" form="short"/>
<text variable="page"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
<sort>
<key macro="author-short" names-min="1" names-use-first="1"/>
Expand Down Expand Up @@ -93,13 +114,12 @@
</group>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<else-if type="chapter" match="any">
<text variable="title" suffix="."/>
<text variable="container-title" prefix="In " suffix="," text-case="title"/>
<text macro="editor"/>
<text macro="publisher" suffix=","/>
<label variable="page" form="short"/>
<text variable="page"/>
<text macro="pages"/>
</else-if>
<else-if type="thesis">
<text variable="title" suffix="."/>
Expand All @@ -126,6 +146,29 @@
</group>
</group>
</else-if>
<else-if type="paper-conference" match="any">
<group delimiter=". ">
<text variable="title"/>
<text variable="container-title" font-style="italic"/>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<group delimiter=". ">
<text variable="title"/>
<text variable="container-title"/>
<group delimiter=", ">
<text variable="URL"/>
<group delimiter=" ">
<text term="accessed"/>
<date form="text" variable="accessed"/>
</group>
</group>
</group>
</else-if>
<else>
<text variable="title"/>
<text macro="publisher"/>
Expand Down

0 comments on commit c6a1907

Please sign in to comment.