Skip to content

Create vegetation-ecology-and-diversity.csl#8155

Open
LucianoDeBenedictis wants to merge 8 commits into
citation-style-language:masterfrom
LucianoDeBenedictis:master
Open

Create vegetation-ecology-and-diversity.csl#8155
LucianoDeBenedictis wants to merge 8 commits into
citation-style-language:masterfrom
LucianoDeBenedictis:master

Conversation

@LucianoDeBenedictis

@LucianoDeBenedictis LucianoDeBenedictis commented Apr 21, 2026

Copy link
Copy Markdown

CSL Styles Pull Request Template

Description

I have made a CSL for the journal "Vegetation Ecology and Diversity".

Checklist

  • Check that you've added a link to the style you used as a template in the <info> block at the beginning of the file with rel="template".
  • Check that you've added a link to the style guidelines with rel="documentation".
  • Check that you've added yourself as the <author> of the style or <contributor> for a style update.
  • Check that you've used the correct terms or labels instead of hardcoding into affixes (e.g., <text variable="page" prefix="pp. "/>).
  • Check that you've not used <text value="... if not absolutely necessary.
  • Check that you've not changed line 1 of the style.

@github-actions

Copy link
Copy Markdown

Awesome! You just created a pull request to the Citation Styles Language styles repository. One of our human volunteers will try to get in touch soon (usually within a week). In the meantime, I will run some automated checks. You should be notified of the results in a few minutes.

If you haven't done so yet, please make sure your style validates and follows all our other Style Requirements.

To update this pull request, visit the "Files changed" tab above, click on the ellipsis button in the top-right corner of your style, and then select "Edit file" to start editing:

If you have any questions, please leave a comment and we'll get back to you. While we usually respond in English, feel free to write in whatever language you're most comfortable.

@github-actions

Copy link
Copy Markdown

😟 There are some issues with your submission.

2 tests failed

The CSL Style Repository may not contain any (non-excepted) duplicate ISSNs

expected: {}
     got: {"3033-1447"=>["vegetation-ecology-and-diversity", "vegetation-ecology-and-diversity"]}

(compared using ==)

Diff:
@@ -1 +1,2 @@
+"3033-1447" => ["vegetation-ecology-and-diversity", "vegetation-ecology-and-diversity"],

vegetation-ecology-and-diversity: "template" link must point to an existing independent style

expected "https://www.zotero.org/styles/pensoft-journals" to match /^http:\/\/www.zotero.org\/styles\//
Diff:
@@ -1 +1 @@
-/^http:\/\/www.zotero.org\/styles\//
+"https://www.zotero.org/styles/pensoft-journals"

Please check the test report for details.

@github-actions

Copy link
Copy Markdown

😟 There are some issues with your submission.

1 test failed

vegetation-ecology-and-diversity: "template" link must point to an existing independent style

expected "https://www.zotero.org/styles/pensoft-journals" to match /^http:\/\/www.zotero.org\/styles\//
Diff:
@@ -1 +1 @@
-/^http:\/\/www.zotero.org\/styles\//
+"https://www.zotero.org/styles/pensoft-journals"

Please check the test report for details.

@LucianoDeBenedictis

Copy link
Copy Markdown
Author

Sorry, but this error message is a bit terse, and it seems just a matter of escaping characters. https://www.zotero.org/styles/pensoft-journals exists and is linked in the same form by other CSL of other journals.

@POBrien333

Copy link
Copy Markdown
Contributor

you made it into "https"

@github-actions github-actions Bot added the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Apr 22, 2026
@github-actions

Copy link
Copy Markdown

😃 Your submission passed all our automated tests.

Below are some sample citations generated based on your proposed changes:

vegetation-ecology-and-diversity.csl (new)
(Anon 2012, Fenner … 2019)
(Hancké … 2007, Galindo-Castañeda … 2025)
(Mares 2001)

Anon (2012) CSL search by example. Citation style editor. Available from: https://editor.citationstyles.org/searchByExample/ (December 15, 2012).
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, … Clark T (2019) A data citation roadmap for scholarly data repositories. Scientific Data 6. https://doi.org/10.1038/s41597-019-0031-8
Galindo-Castañeda T, Kost E, Giuliano E, Conz RF, Six J, Hartmann M (2025) Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach. Schneider HM, Vetterlein D (Eds). Annals of Botany 136: 1143–1162. https://doi.org/10.1093/aob/mcaf185
Hancké B, Rhodes M, Thatcher M (Eds) (2007) Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy. Oxford University Press, Oxford, 438 pp. https://doi.org/10.1093/acprof:oso/9780199206483.001.0001
Mares I (2001) Firms and the welfare state: when, why, and how does social policy matter to employers? In: Hall PA, Soskice D (Eds), Varieties of capitalism: the institutional foundations of comparative advantage. Oxford University Press, Oxford, 184–212. https://doi.org/10.1093/0199247757.003.0005

@LucianoDeBenedictis

Copy link
Copy Markdown
Author

you made it into "https"

Well, that fixed it, thanks. Seems restrictive, since https is allowed for the documentation field, but I guess it doesn't matter, since most modern browsers should convert it to https.

Let me fix the inline citations: "..." should be used in the references but not in the citations instead of "et al."

@github-actions github-actions Bot removed the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Apr 23, 2026
@github-actions

Copy link
Copy Markdown

😃 Your submission passed all our automated tests.

Below are some sample citations generated based on your proposed changes:

vegetation-ecology-and-diversity.csl (new)
(Anon 2012, Fenner et al. 2019)
(Hancké et al. 2007, Galindo-Castañeda et al. 2025)
(Mares 2001)

Anon (2012) CSL search by example. Citation style editor. Available from: https://editor.citationstyles.org/searchByExample/ (December 15, 2012).
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, … Clark T (2019) A data citation roadmap for scholarly data repositories. Scientific Data 6. https://doi.org/10.1038/s41597-019-0031-8
Galindo-Castañeda T, Kost E, Giuliano E, Conz RF, Six J, Hartmann M (2025) Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach. Schneider HM, Vetterlein D (Eds). Annals of Botany 136: 1143–1162. https://doi.org/10.1093/aob/mcaf185
Hancké B, Rhodes M, Thatcher M (Eds) (2007) Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy. Oxford University Press, Oxford, 438 pp. https://doi.org/10.1093/acprof:oso/9780199206483.001.0001
Mares I (2001) Firms and the welfare state: when, why, and how does social policy matter to employers? In: Hall PA, Soskice D (Eds), Varieties of capitalism: the institutional foundations of comparative advantage. Oxford University Press, Oxford, 184–212. https://doi.org/10.1093/0199247757.003.0005

@LucianoDeBenedictis

Copy link
Copy Markdown
Author

There. I ended up using the default behaviour of the "and others" term, which seems to correctly render as ellipses in all editors I have tried (Zotero, visual CSL editor, the bot here). It doesn't seem like the terms specification is flexible enough to define something custom more explicitly (to ensure that it always gets rendered as "...") so this will have to do.

@POBrien333 POBrien333 changed the title Create vegetation ecology and diversity CSL Create vvegetation-ecology-and-diversity.csl Apr 23, 2026
<name>Luciano Ludovico Maria De Benedictis</name>
<email>luciano.debenedictis@unicam.it</email>
</author>
<contributor>

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Author

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?

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Author

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.

Comment thread vegetation-ecology-and-diversity.csl Outdated
<if type="legal_case" match="none">
<choose>
<if variable="DOI">
<group delimiter=" ">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THis group does nothing. remove

@LucianoDeBenedictis LucianoDeBenedictis Apr 23, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The 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.

@POBrien333 POBrien333 Apr 23, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, but we'd want this fixed.
In the future somebody will use this style as a template and then we need to fix it in that one.

I also don't know how old that style is, but we've gotten a bit more stringent with style quality.

@LucianoDeBenedictis LucianoDeBenedictis Apr 24, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The 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.

</if>
<else-if variable="URL">
<group delimiter=" " suffix=".">
<text variable="URL" prefix="Available from: "/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace such hardcoded text elements with the appropriate term

@LucianoDeBenedictis LucianoDeBenedictis Apr 24, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it doesn't show that. It uses a term

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The 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 <text> before the URL line inside the group, even if it might result in a slightly different wording?

Comment thread vegetation-ecology-and-diversity.csl
</date>
<choose>
<if type="book" match="any">
<text macro="legal_case"/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The 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?

Comment thread vegetation-ecology-and-diversity.csl
</group>
<group prefix=" " suffix="." delimiter=", ">
<text macro="publisher"/>
<text variable="number-of-pages" prefix=" " suffix=" pp"/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The 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.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The 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?

@github-actions

Copy link
Copy Markdown

😃 Your submission passed all our automated tests.

Below are some sample citations generated based on your proposed changes:

vegetation-ecology-and-diversity.csl (new)
(Anon 2012, Fenner et al. 2019)
(Hancké et al. 2007, Galindo-Castañeda et al. 2025)
(Mares 2001)

Anon (2012) CSL search by example. Citation style editor. Available from: https://editor.citationstyles.org/searchByExample/ (December 15, 2012).
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, … Clark T (2019) A data citation roadmap for scholarly data repositories. Scientific Data 6. https://doi.org/10.1038/s41597-019-0031-8
Galindo-Castañeda T, Kost E, Giuliano E, Conz RF, Six J, Hartmann M (2025) Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach. Schneider HM, Vetterlein D (Eds). Annals of Botany 136: 1143–1162. https://doi.org/10.1093/aob/mcaf185
Hancké B, Rhodes M, Thatcher M (Eds) (2007) Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy. Oxford University Press, Oxford, 438 pp. https://doi.org/10.1093/acprof:oso/9780199206483.001.0001
Mares I (2001) Firms and the welfare state: when, why, and how does social policy matter to employers? In: Hall PA, Soskice D (Eds), Varieties of capitalism: the institutional foundations of comparative advantage. Oxford University Press, Oxford, 184–212. https://doi.org/10.1093/0199247757.003.0005

@POBrien333 POBrien333 changed the title Create vvegetation-ecology-and-diversity.csl Create vegetation-ecology-and-diversity.csl Apr 24, 2026
Comment thread vegetation-ecology-and-diversity.csl
<text variable="collection-title" suffix="."/>
<group suffix=".">
<text macro="publisher"/>
<group delimiter=" " prefix=", " suffix=".">

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The 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?

<group prefix=" " suffix=".">
<text variable="container-title"/>
<group prefix=" ">
<text variable="volume"/>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move prefix inside <text> and remove group?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants