-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Create vegetation-ecology-and-diversity.csl #8155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 6 commits
c7a998d
c2d398e
b7ee92c
f403ac3
3d1e2ba
18798bd
59dd5db
4adf726
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,248 @@ | ||
| | ||
| <?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"> | ||
| <!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) --> | ||
| <info> | ||
| <title>Vegetation Ecology and Diversity</title> | ||
| <id>http://www.zotero.org/styles/vegetation-ecology-and-diversity</id> | ||
| <link href="http://www.zotero.org/styles/vegetation-ecology-and-diversity" rel="self"/> | ||
| <link href="http://www.zotero.org/styles/pensoft-journals" rel="template"/> | ||
| <link href="https://ved.arphahub.com/about#CitationsandReferences" rel="documentation"/> | ||
| <author> | ||
| <name>Luciano Ludovico Maria De Benedictis</name> | ||
| <email>luciano.debenedictis@unicam.it</email> | ||
| </author> | ||
| <contributor> | ||
| <name>Brian Stucky</name> | ||
| <email>stuckyb@colorado.edu</email> | ||
| </contributor> | ||
| <contributor> | ||
| <name>Teodor Georgiev</name> | ||
| <email>t.georgiev@pensoft.net</email> | ||
| </contributor> | ||
| <category citation-format="author-date"/> | ||
| <issn>3033-1447</issn> | ||
| <summary>Zotero style for VED</summary> | ||
| <updated>2026-04-21T09:11:25+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"> | ||
|
LucianoDeBenedictis marked this conversation as resolved.
Outdated
|
||
| <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 term="and others"/> | ||
| <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=" "> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. THis group does nothing. remove
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For this and the following: these are all present in the template Pensoft style, to which I made minimal edits, mostly to correctly use "..." for more than 6 authors in the bibliography. I will trust you and remove these lines if unnecessary, but then that should be done for the Pensoft style as well (which most journals of the publisher point to). I am not affiliated with the publisher so I won't correct that style myself, focusing only on this one.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, but we'd want this fixed. I also don't know how old that style is, but we've gotten a bit more stringent with style quality.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, agreed. Maybe this could become the template for the updated version of that style! I will do what I can. |
||
| <text variable="DOI" prefix="https://doi.org/"/> | ||
| </group> | ||
| </if> | ||
| <else-if variable="URL"> | ||
|
LucianoDeBenedictis marked this conversation as resolved.
|
||
| <group delimiter=" " suffix="."> | ||
| <text variable="URL" prefix="Available from: "/> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace such hardcoded text elements with the appropriate term
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure what to replace them with. Do you have any pointers? The CSL 1.0.2 Specification shows a similar hardcoded solution befor the URL, just within a group.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, it doesn't show that. It uses a
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok. The closest terms are either "available at" or "retrieved". Should I use either of those, possibly with the appropriate suffix, in another |
||
| <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> | ||
|
LucianoDeBenedictis marked this conversation as resolved.
|
||
| <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 et-al-min="7" et-al-use-first="5" et-al-use-last="true" 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"/> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does this do?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know any better than you do. Should I just remove this "legal_case" line? |
||
| <group prefix=" " delimiter=" "> | ||
| <text macro="title" font-style="normal" suffix="."/> | ||
|
LucianoDeBenedictis marked this conversation as resolved.
|
||
| <text macro="edition"/> | ||
| <text macro="editor" suffix="."/> | ||
| </group> | ||
| <group prefix=" " suffix="." delimiter=", "> | ||
| <text macro="publisher"/> | ||
| <text variable="number-of-pages" prefix=" " suffix=" pp"/> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. replace the hardcoded text with the appropriate label. Check the rest of your style for such issues.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think in this case it should be something like <text variable="number-of-pages" prefix=" form="short"/> leaving the default plural="contextual". Not sure if prefix is necessary. I will do the same at line 228. Anything else of this sort? |
||
| </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="."> | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this group is single element, but has some additional variables. move them to the text block? |
||
| <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"/> | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. move prefix inside |
||
| </group> | ||
| <text variable="page" prefix=": " suffix="."/> | ||
| </group> | ||
| </else> | ||
| </choose> | ||
| <text macro="access" prefix=" "/> | ||
| </layout> | ||
| </bibliography> | ||
| </style> | ||
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 assume these are remnants from the template style. Remove if so
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 the author. I reported the authors of the template style as contributors. Is this correct?
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.
As I say, if they're from the template, remove them.
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.
ok, I will remove contributors and leave what's before, because those other things are updated. I appreciate your assistance, if you want to be listed as contributor or acknowledged in some other way let me know under which credentials.