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 universidade-de-sao-paulo-ifsc-abnt-numerico.csl #6909

Merged
merged 9 commits into from
Sep 11, 2024

Conversation

sadisalvo
Copy link
Contributor

I adpated an existing ABNT style to create one for USP-IFSC, using numeric citation instead of author-data. It would be useful for student to find the style by the name of institution, as most of the ABTN styles are author data and we use numeric.

I adpated an existing ABNT style to create one for USP-IFSC, using numeric citation instead of author-data. It would be useful for student to find the style by the name of institution, as most of the ABTN styles are author data and we use numeric.
Copy link

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

😟 There are some issues with your submission.

6 tests failed

dependent/universidade-de-sao-paulo-ifsc-abnt-numerico: must be a dependent style (independent styles must be placed in the root directory)

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="pt..."1" et-al-subsequent-min="4" et-al-subsequent-use-first="1" name-as-sort-order="first" children=[5]>.dependent?` to be truthy, got nil

dependent/universidade-de-sao-paulo-ifsc-abnt-numerico: "independent-parent" link must point to an existing independent style

expected nil to match /^http:\/\/www.zotero.org\/styles\//

dependent/universidade-de-sao-paulo-ifsc-abnt-numerico: may not have <macro/>, <citation/>, or <bibliography/> elements

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="pt..."1" et-al-subsequent-min="4" et-al-subsequent-use-first="1" name-as-sort-order="first" children=[5]>.has_macro?` to be falsey, got true

dependent/universidade-de-sao-paulo-ifsc-abnt-numerico: may not have a "template" link

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="pt..."1" et-al-subsequent-min="4" et-al-subsequent-use-first="1" name-as-sort-order="first" children=[5]>.has_template_link?` to be falsey, got "http://www.zotero.org/styles/instituto-brasileiro-de-informacao-em-ciencia-e-tecnologia-abnt-initials"

dependent/universidade-de-sao-paulo-ifsc-abnt-numerico: must have the same citation-format as its independent-parent

undefined method `[]' for nil:NilClass

dependent/universidade-de-sao-paulo-ifsc-abnt-numerico: "self" link must match the style ID

expected: "http://www.zotero.org/styles/universuidade-de-sao-paulo-ifsc-abnt-numerico"
     got: "http://www.zotero.org/styles/universidade-de-sao-paulo-ifsc-abnt-numerico"

(compared using ==)

Please check the test report for details.

@bwiernik
Copy link
Member

Thanks for the submission and your patience.

There are some issues with the style, but I can help fix those. To clarify, is your intent to create a style that follows the standard ABNT formatting, but uses numeric in-text citations? Or are there other changes to standard ABNT as well (https://github.com/citation-style-language/styles/blob/master/associacao-brasileira-de-normas-tecnicas.csl)?

@github-actions github-actions bot added the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Sep 11, 2024
Copy link

😟 There are some issues with your submission.

4 tests failed

The CSL Style Repository may not contain any duplicate style titles

expected: {}
     got: {"universidade de são paulo - instituto de fisica de são carlos - abnt (numérico, português - brasil)...o-ifsc-abnt-numerico", "universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"]}

(compared using ==)

Diff:
@@ -1 +1,2 @@
+"universidade de são paulo - instituto de fisica de são carlos - abnt (numérico, português - brasil)" => ["universidade-de-sao-paulo-ifsc-abnt-numerico", "universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"],

associacao-brasileira-de-normas-tecnicas-numerico: may not have any unused macros

expected: []
     got: ["citation-locator", "issued-year"]

(compared using ==)

dependent/universidade-de-sao-paulo-ifsc-abnt-numerico: style ID must be of the form "http://www.zotero.org/styles/" + style file name (without ".csl" extension, e.g. "http://www.zotero.org/styles/apa")

expected: "http://www.zotero.org/styles/universidade-de-sao-paulo-ifsc-abnt-numerico"
     got: "http://www.zotero.org/styles/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"

(compared using ==)

dependent/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico: style ID must be of the form "http://www.zotero.org/styles/" + style file name (without ".csl" extension, e.g. "http://www.zotero.org/styles/apa")

expected: "http://www.zotero.org/styles/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"
     got: "http://www.zotero.org/styles/universidade-de-sao-paulo-ifsc-abnt-numerico"

(compared using ==)

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

6 tests failed

The CSL Style Repository may not contain any duplicate style titles

expected: {}
     got: {"universidade de são paulo - instituto de fisica de são carlos - abnt (numérico, português - brasil)...o-ifsc-abnt-numerico", "universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"]}

(compared using ==)

Diff:
@@ -1 +1,2 @@
+"universidade de são paulo - instituto de fisica de são carlos - abnt (numérico, português - brasil)" => ["universidade-de-sao-paulo-ifsc-abnt-numerico", "universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"],

associacao-brasileira-de-normas-tecnicas-numerico: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[9, "9:0: ERROR: Element link failed to validate attributes"], [0, "ERROR: Extra element link in int...Did not expect element locale there"], [50, "50:0: ERROR: Element style has extra content: locale"]].empty?` to be truthy, got false

associacao-brasileira-de-normas-tecnicas-numerico: may not have any unused macros

expected: []
     got: ["citation-locator", "issued-year"]

(compared using ==)

dependent/universidade-de-sao-paulo-ifsc-abnt-numerico: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[15, "15:0: ERROR: Type dateTime doesn't allow value '2024-090-11T00:00:00+00:00'"], [15, "15:0: ERR...ERROR: Invalid sequence in interleave"], [3, "3:0: ERROR: Element info failed to validate content"]].empty?` to be truthy, got false

dependent/universidade-de-sao-paulo-ifsc-abnt-numerico: style ID must be of the form "http://www.zotero.org/styles/" + style file name (without ".csl" extension, e.g. "http://www.zotero.org/styles/apa")

expected: "http://www.zotero.org/styles/universidade-de-sao-paulo-ifsc-abnt-numerico"
     got: "http://www.zotero.org/styles/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"

(compared using ==)

dependent/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico: style ID must be of the form "http://www.zotero.org/styles/" + style file name (without ".csl" extension, e.g. "http://www.zotero.org/styles/apa")

expected: "http://www.zotero.org/styles/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"
     got: "http://www.zotero.org/styles/universidade-de-sao-paulo-ifsc-abnt-numerico"

(compared using ==)

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

3 tests failed

associacao-brasileira-de-normas-tecnicas-numerico: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[9, "9:0: ERROR: Element link failed to validate attributes"], [0, "ERROR: Extra element link in int...Did not expect element locale there"], [50, "50:0: ERROR: Element style has extra content: locale"]].empty?` to be truthy, got false

associacao-brasileira-de-normas-tecnicas-numerico: may not have any unused macros

expected: []
     got: ["citation-locator", "issued-year"]

(compared using ==)

dependent/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico: style ID must be of the form "http://www.zotero.org/styles/" + style file name (without ".csl" extension, e.g. "http://www.zotero.org/styles/apa")

expected: "http://www.zotero.org/styles/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"
     got: "http://www.zotero.org/styles/universidade-de-sao-paulo-ifsc-abnt-numerico"

(compared using ==)

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

2 tests failed

associacao-brasileira-de-normas-tecnicas-numerico: may not have any unused macros

expected: []
     got: ["citation-locator", "issued-year"]

(compared using ==)

dependent/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico: style ID must be of the form "http://www.zotero.org/styles/" + style file name (without ".csl" extension, e.g. "http://www.zotero.org/styles/apa")

expected: "http://www.zotero.org/styles/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico"
     got: "http://www.zotero.org/styles/universidade-de-sao-paulo-ifsc-abnt-numerico"

(compared using ==)

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

1 test failed

associacao-brasileira-de-normas-tecnicas-numerico: may not have any unused macros

expected: []
     got: ["citation-locator", "issued-year"]

(compared using ==)

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

1 test failed

associacao-brasileira-de-normas-tecnicas-numerico: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[9, "9:0: ERROR: Element link failed to validate attributes"], [0, "ERROR: Extra element link in int...Did not expect element locale there"], [50, "50:0: ERROR: Element style has extra content: locale"]].empty?` to be truthy, got false

Please check the test report for details.

Copy link

😃 Your submission passed all our automated tests.

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

associacao-brasileira-de-normas-tecnicas-numerico.csl (new)
(1,2)
(3,4)

[1]HANCKÉ, B.; RHODES, M.; THATCHER, M. (EDS.). Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy. Oxford and New York: Oxford University Press, 2007.
[2]CSL search by example. Disponível em: <http://editor.citationstyles.org/searchByExample/>. Acesso em: 15 dez. 2012.
[3]MARES, I. Firms and the welfare state: When, why, and how does social policy matter to employers? Em: HALL, P. A.; SOSKICE, D. (Eds.). Varieties of capitalism. The institutional foundations of comparative advantage. New York: Oxford University Press, 2001. p. 184–213.
[4]FENNER, M. et al. A data citation roadmap for scholarly data repositories. Scientific Data, v. 6, n. 1, p. 28, 10 abr. 2019.
dependent/universidade-de-sao-paulo-instituto-de-fisica-de-sao-carlos-abnt-numerico.csl (rendering failure)

@bwiernik
Copy link
Member

@sadisalvo I'm going to go ahead and merge this now, please let me know if there are any issues

@bwiernik bwiernik merged commit 2f56851 into citation-style-language:master Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants