-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates in research-institute-for-nature-and-forest.csl (#4958)
Adjustments address the bibliography style: editors/translators: and='symbol', drop in if these variables are missing omit redundant parts within macros lang-specific term for short form of edition better handling of 'Vol.' and 'No.', allowing lang-specific forms of 'No.' by using the issue term for this improvements for webpages better handling of URL & DOI: drop the prefixes and don't show URL when DOI is present show page variable for more types various other changes
- Loading branch information
Showing
1 changed file
with
95 additions
and
71 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 |
---|---|---|
|
@@ -5,65 +5,94 @@ | |
<title-short>INBO</title-short> | ||
<id>http://www.zotero.org/styles/research-institute-for-nature-and-forest</id> | ||
<link href="http://www.zotero.org/styles/research-institute-for-nature-and-forest" rel="self"/> | ||
<link href="https://inbomd-examples.netlify.app/citation_style/nl/index.html" rel="documentation"/> | ||
<author> | ||
<name>Maarten Stevens</name> | ||
<uri>http://www.mendeley.com/profiles/maarten-stevens/</uri> | ||
<uri>https://www.mendeley.com/profiles/maarten-stevens/</uri> | ||
</author> | ||
<contributor> | ||
<name>Thierry Onkelinx</name> | ||
<uri>http://www.mendeley.com/profiles/thierry-onkelinx/</uri> | ||
</contributor> | ||
<contributor> | ||
<author> | ||
<name>Floris Vanderhaeghe</name> | ||
<email>[email protected]</email> | ||
</author> | ||
<contributor> | ||
<name>Thierry Onkelinx</name> | ||
<uri>https://www.mendeley.com/profiles/thierry-onkelinx/</uri> | ||
</contributor> | ||
<category citation-format="author-date"/> | ||
<category field="biology"/> | ||
<updated>2019-08-01T00:00:00</updated> | ||
<category field="botany"/> | ||
<category field="zoology"/> | ||
<updated>2020-10-12T12:01:18+02: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="in">In</term> | ||
<term name="edition" form="short">edn.</term> | ||
<term name="no date" form="short">s.d.</term> | ||
</terms> | ||
</locale> | ||
<locale xml:lang="nl"> | ||
<terms> | ||
<term name="in">In</term> | ||
<term name="et-al">et al.</term> | ||
<term name="editor" form="short"> | ||
<single>ed.</single> | ||
<multiple>eds.</multiple> | ||
</term> | ||
<term name="edition" form="short">ed.</term> | ||
<term name="no date" form="short">s.d.</term> | ||
</terms> | ||
</locale> | ||
<macro name="container"> | ||
<choose> | ||
<if type="chapter paper-conference" match="any"> | ||
<text term="in" prefix=". " suffix=": "/> | ||
<names variable="editor translator" delimiter=", " suffix=". "> | ||
<name delimiter-precedes-last="always" initialize-with="." name-as-sort-order="all" sort-separator=" "/> | ||
<label text-case="lowercase" prefix=" (" suffix=")"/> | ||
</names> | ||
<group delimiter=", "> | ||
<text variable="container-title"/> | ||
<text variable="collection-title"/> | ||
</group> | ||
<if type="article-journal article-magazine article-newspaper" match="none"> | ||
<choose> | ||
<if type="paper-conference" variable="container-title" match="any"> | ||
<text term="in" text-case="capitalize-first" suffix=": "/> | ||
<names variable="editor translator" delimiter=", " suffix=". "> | ||
<name and="symbol" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all" sort-separator=" "/> | ||
<label text-case="lowercase" form="short" prefix=" (" suffix=")"/> | ||
</names> | ||
</if> | ||
</choose> | ||
</if> | ||
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | ||
<group prefix=". " delimiter=", "> | ||
<text variable="container-title"/> | ||
<text variable="collection-title"/> | ||
</group> | ||
</else-if> | ||
<else> | ||
<group prefix=". " delimiter=", "> | ||
<text variable="container-title"/> | ||
<text variable="collection-title"/> | ||
</group> | ||
</else> | ||
</choose> | ||
<group delimiter=", "> | ||
<text variable="container-title"/> | ||
<text variable="collection-title"/> | ||
<choose> | ||
<if type="article-journal article-magazine article-newspaper" match="any"> | ||
<!-- show nothing --> | ||
</if> | ||
<else-if variable="volume"> | ||
<group delimiter=" "> | ||
<text term="volume" form="short" text-case="capitalize-first"/> | ||
<number variable="volume"/> | ||
</group> | ||
</else-if> | ||
<else-if variable="collection-number"> | ||
<group delimiter=" "> | ||
<text term="issue" form="short" text-case="capitalize-first"/> | ||
<number variable="collection-number"/> | ||
</group> | ||
</else-if> | ||
<else-if variable="number"> | ||
<group delimiter=" "> | ||
<text term="issue" form="short" text-case="capitalize-first"/> | ||
<text variable="number"/> | ||
</group> | ||
</else-if> | ||
</choose> | ||
<choose> | ||
<if type="paper-conference" variable="container-title" match="any"> | ||
<text macro="edition"/> | ||
</if> | ||
</choose> | ||
</group> | ||
</macro> | ||
<macro name="author"> | ||
<names variable="author"> | ||
<name and="symbol" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all" sort-separator=" "/> | ||
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/> | ||
<label form="short" prefix=" (" suffix=")"/> | ||
<substitute> | ||
<names variable="editor"/> | ||
<names variable="translator"/> | ||
|
@@ -93,36 +122,24 @@ | |
<choose> | ||
<if type="webpage"> | ||
<group delimiter=" "> | ||
<text value="URL"/> | ||
<text variable="URL"/> | ||
<group prefix="(" suffix=")."> | ||
<text term="accessed" suffix=" "/> | ||
<date variable="accessed"> | ||
<date-part name="month" form="numeric" suffix="."/> | ||
<date-part name="day" suffix="."/> | ||
<date-part name="year" form="short"/> | ||
</date> | ||
<date variable="accessed" form="text"/> | ||
</group> | ||
</group> | ||
</if> | ||
</choose> | ||
</macro> | ||
<macro name="title"> | ||
<choose> | ||
<if type="report thesis" match="any"> | ||
<if type="webpage"> | ||
<text variable="title"/> | ||
<group prefix=" (" suffix=")"> | ||
<text variable="genre"/> | ||
<text variable="number" prefix=" No. "/> | ||
</group> | ||
<text value="WWW document" prefix=" [" suffix="]"/> | ||
</if> | ||
<else-if type="bill book graphic legal_case legislation motion_picture report song speech" match="any"> | ||
<text variable="title"/> | ||
<text macro="edition" prefix=", "/> | ||
</else-if> | ||
<else-if type="webpage"> | ||
<else-if variable="container-title" match="none"> | ||
<text variable="title"/> | ||
<text value="WWW Document" prefix=" [" suffix="]"/> | ||
<text macro="edition" prefix=". "/> | ||
</else-if> | ||
<else> | ||
<text variable="title"/> | ||
|
@@ -162,16 +179,16 @@ | |
<number variable="edition" form="ordinal"/> | ||
</if> | ||
<else> | ||
<text variable="edition" suffix="."/> | ||
<text variable="edition"/> | ||
</else> | ||
</choose> | ||
<text value="ed"/> | ||
<text term="edition" form="short"/> | ||
</group> | ||
</macro> | ||
<macro name="locators"> | ||
<choose> | ||
<if type="article-journal article-magazine article-newspaper" match="any"> | ||
<group delimiter=": " prefix=" "> | ||
<group delimiter=": "> | ||
<group> | ||
<text variable="volume"/> | ||
<choose> | ||
|
@@ -184,36 +201,32 @@ | |
</group> | ||
</if> | ||
<else-if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any"> | ||
<group delimiter=", " prefix=". "> | ||
<group delimiter=", "> | ||
<text macro="event"/> | ||
<text macro="publisher"/> | ||
<text variable="number-of-pages" prefix=" " suffix=" p"/> | ||
<text variable="number-of-pages" suffix=" p"/> | ||
</group> | ||
</else-if> | ||
<else-if type="chapter paper-conference" match="any"> | ||
<group delimiter=", " prefix=". "> | ||
<else-if type="chapter paper-conference" variable="page" match="any"> | ||
<group delimiter=", "> | ||
<text macro="event"/> | ||
<text macro="publisher"/> | ||
<text variable="page" prefix="p. "/> | ||
</group> | ||
</else-if> | ||
<else-if type="report" match="any"> | ||
<group> | ||
<text macro="publisher"/> | ||
<text variable="page" suffix=" p "/> | ||
</group> | ||
</else-if> | ||
<else-if type="patent"> | ||
<text variable="number" prefix=". "/> | ||
<text variable="number"/> | ||
</else-if> | ||
<else> | ||
<text macro="publisher"/> | ||
</else> | ||
</choose> | ||
</macro> | ||
<macro name="url"> | ||
<choose> | ||
<if type="webpage" match="none"> | ||
<if type="webpage" variable="DOI" match="none"> | ||
<choose> | ||
<if match="any" variable="URL"> | ||
<text value="URL" suffix=": "/> | ||
<text variable="URL"/> | ||
</if> | ||
</choose> | ||
|
@@ -223,7 +236,6 @@ | |
<macro name="doi"> | ||
<choose> | ||
<if match="any" variable="DOI"> | ||
<text value="DOI:" suffix=" "/> | ||
<text variable="DOI" prefix="https://doi.org/"/> | ||
</if> | ||
</choose> | ||
|
@@ -253,15 +265,27 @@ | |
<group suffix="."> | ||
<text macro="author"/> | ||
<text macro="issued" prefix=" (" suffix="). "/> | ||
<group> | ||
<text macro="title"/> | ||
<text macro="container"/> | ||
<text macro="locators"/> | ||
</group> | ||
<choose> | ||
<if type="article-journal article-magazine article-newspaper" match="any"> | ||
<group delimiter=" "> | ||
<text macro="title" suffix="."/> | ||
<text macro="container"/> | ||
<text macro="locators"/> | ||
</group> | ||
</if> | ||
<else> | ||
<group delimiter=". "> | ||
<text macro="title"/> | ||
<text macro="container"/> | ||
<text macro="locators"/> | ||
</group> | ||
</else> | ||
</choose> | ||
</group> | ||
<text macro="access" prefix=" " suffix="."/> | ||
<text macro="url" prefix=" " suffix="."/> | ||
<text macro="doi" prefix=" " suffix="."/> | ||
</layout> | ||
</bibliography> | ||
</style> | ||
|