Create revue-metis.csl
Style for the authors publishing in the Metis journal.
Hello, I'm sorry but I don't understand the mistake. At the step "See if the styles/locales work", it says: "Error: Process completed with exit code 1." How could I fix it please? Thank you very much for your time.
Not sure why the automatic testing is failing. Can you paste your style here and check that it passes against the "1.0.2 (strict)" schema version?
https://validator.citationstyles.org/?version=1.0.2_strict
Thank you for your answer. I checked again but yes the style passes against the 1.0.2. strict schema version. Is there something else I should verify?
Nope, you are good
Thank you. What should I do next then?
Hello, what should I do now so as to add this style to the Zotero repository please?
Hello, I'd like to know how to finish this style for it to be added to the Zotero repository. What should I do please?
:worried: There are some issues with your submission.
1 test failed
The CSL Style Repository may not contain extra files (make sure styles have a ".csl" extension)
expected: []
got: ["/home/runner/work/styles/styles/pull-request/revue-metis"]
(compared using ==)
Please check the test report for details.
:worried: There are some issues with your submission.
2 tests failed
revue-metis: name nodes must have valid et-al-min and et-al-use-first attributes
expected et-al-min (5) to be greater than et-al-use-first (5)
revue-metis.csl
title should include natural language version of default-locale "fr-FR" in parentheses
Please check the test report for details.
:worried: There are some issues with your submission.
4 tests failed
revue-metis: must validate against the CSL 1.0.1 schema Please check your style at http://validator.citationstyles.org/
expected `[[0, "Multiple errors encountered:\n162:11: FATAL: Opening and ending tag mismatch: choose line 133 and macro\n170:14: FATAL: Opening and ending tag mismatch: else-if line 168 and else"]].empty?` to be truthy, got false
revue-metis: must define all macros that are called by <text/> and <key/> elements
expected `{"author"=>#<CSL::Style::Macro name="author" children=[1]>, "author-short"=>#<CSL::Style::Macro name=...L::Style::Macro name="pages" children=[1]>, "title"=>#<CSL::Style::Macro name="title" children=[1]>}.has_key?("year-date")` to be truthy, got false
revue-metis: name nodes must have valid et-al-min and et-al-use-first attributes
expected et-al-min (5) to be greater than et-al-use-first (5)
revue-metis.csl
title should include natural language version of default-locale "fr-FR" in parentheses
Please check the test report for details.
:worried: There are some issues with your submission.
1 test failed
revue-metis: name nodes must have valid et-al-min and et-al-use-first attributes
expected et-al-min (5) to be greater than et-al-use-first (5)
Please check the test report for details.
:smiley: Your submission passed all our automated tests.
Below are some sample citations generated based on your proposed changes:
revue-metis.csl (new)
Hancké et al. 2007 ; CSL search by example 2012
Mares 2001 ; Fenner et al. 2019
CSL search by example 2012 : Citation Style Editor, URL : http://editor.citationstyles.org/searchByExample/.
Fenner et al. 2019 : Martin Fenner, Mercè Crosas, Jeffrey S. Grethe, David Kennedy, et al., « A data citation roadmap for scholarly data repositories », Sci. Data 6-1, p. 28, https://doi.org/10.1038/s41597-019-0031-8.
Hancké et al. 2007 : Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy, Oxford and New York.
Mares 2001 : Isabela Mares, « Firms and the welfare state: When, why, and how does social policy matter to employers? », in Peter A. Hall, David Soskice (éd.), Varieties of capitalism. The institutional foundations of comparative advantage, New York, p. 184‑213.
:smiley: Your submission passed all our automated tests.
Below are some sample citations generated based on your proposed changes:
revue-metis.csl (new)
Hancké et al. 2007 ; CSL search by example 2012
Mares 2001 ; Fenner et al. 2019
CSL search by example 2012 : Citation Style Editor, URL : http://editor.citationstyles.org/searchByExample/.
Fenner et al. 2019 : Martin Fenner, Mercè Crosas, Jeffrey S. Grethe, David Kennedy, et al., « A data citation roadmap for scholarly data repositories », Sci. Data 6-1, p. 28, https://doi.org/10.1038/s41597-019-0031-8.
Hancké et al. 2007 : Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy, Oxford and New York.
Mares 2001 : Isabela Mares, « Firms and the welfare state: When, why, and how does social policy matter to employers? », in Peter A. Hall, David Soskice (éd.), Varieties of capitalism. The institutional foundations of comparative advantage, New York, p. 184‑213.
@Axelle15 Thanks for your patience!
I cleaned up the style in several places to simplify, make it more robust, and to match the style requirements given at https://www.anhima.fr/sites/default/files/2025-05/_NORMES-METIS%20Guidelines%202025.pdf
Please feel free to submit a new PR if any changes need to be made. I'd also recommend to update the link to the Zotero style on the journal webpage to point to http://www.zotero.org/styles/revue-metis