Skip to content
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

Create droit_glg.csl #7459

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UserGthb
Copy link

@UserGthb UserGthb commented Mar 3, 2025

The 'Droit_GLG' style aims to provide a style that meets the expectations for legal academic citation in France. It has been slightly adapted from the 'ENS de Lyon - Centre d’ingénierie documentaire (French)' style (http://www.zotero.org/styles/ens-de-lyon-centre-d-ingenierie-documentaire).
Currently, there is no style that can be used for a PhD-thesis in law in France, because those that already exist differ from what is expected. This style has already been shared with several law doctoral students for their use. Many doctoral students do not use Zotero because no style is satisfactory, which is unfortunate given the usefulness of the software. This style therefore aims to resolve these difficulties.

The 'Droit_GLG' style aims to provide a style that meets the expectations for legal academic citation in France. It has been slightly adapted from the 'ENS de Lyon - Centre d’ingénierie documentaire (French)' style (http://www.zotero.org/styles/ens-de-lyon-centre-d-ingenierie-documentaire).
Currently, there is no style that can be used for a PhD-thesis in law in France, because those that already exist differ from what is expected. This style has already been shared with several law doctoral students for their use. Many doctoral students do not use Zotero because no style is satisfactory, which is unfortunate given the usefulness of the software. This style therefore aims to resolve these difficulties.
Copy link

github-actions bot commented Mar 3, 2025

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.

Copy link

github-actions bot commented Mar 3, 2025

😟 There are some issues with your submission.

5 tests failed

droit_glg: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[20, "20:0: ERROR: Element category failed to validate attributes"], [0, "ERROR: Extra element categ...lement style failed to validate content"], [26, "26:0: ERROR: Did not expect element locale there"]].empty?` to be truthy, got false

droit_glg: must have a conventional file name

expected "droit_glg.csl" to match /^[a-z\d]+(-[a-z\d]+)*\.csl$/
Diff:
@@ -1 +1 @@
-/^[a-z\d]+(-[a-z\d]+)*\.csl$/
+"droit_glg.csl"

droit_glg: must define all macros that are called by <text/> and <key/> elements

expected `{"archive"=>#<CSL::Style::Macro name="archive" children=[1]>, "author-bib"=>#<CSL::Style::Macro name=...[1]>, "volume_singlepublication"=>#<CSL::Style::Macro name="volume_singlepublication" children=[1]>}.has_key?("url_doi")` to be truthy, got false

droit_glg: name nodes must have valid et-al-min and et-al-use-first attributes

expected et-al-subsequent-min (4) to be greater than et-al-subsequent-use-first (4)

droit_glg.csl
title should include natural language version of default-locale "fr-FR" in parentheses

Please check the test report for details.

@UserGthb
Copy link
Author

UserGthb commented Mar 5, 2025

Thank you, but I have no idea what I shall do now... can you tell me please ?

@adam3smith
Copy link
Member

You'd have to make sure the style validates against the CSL Schema. The validator linked above typically gives you pretty readable error messages. The remaining issues are all covered in https://github.com/citation-style-language/styles/blob/master/STYLE_REQUIREMENTS.md

@github-actions github-actions bot added the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Mar 5, 2025
@UserGthb
Copy link
Author

UserGthb commented Mar 5, 2025

Thank you.
I made some modifications on Zotero editor: if I delete this file, may I upload the new one? It would be easier.
The truth is that I am still not sure I made all the necessary corrections, because I do not work on IT and everything is quite hard to understand, even with the help of the AI...
And I know that the csl is already working properly, because I have used it for some research...

@github-actions github-actions bot removed the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Mar 5, 2025
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