styles icon indicating copy to clipboard operation
styles copied to clipboard

Create arkivoc.csl

Open singhfcy opened this issue 2 years ago • 12 comments

Create arkivoc.csl

singhfcy avatar Jul 10 '22 02:07 singhfcy

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[bot] avatar Jul 10 '22 02:07 github-actions[bot]

:worried: There are some issues with your submission.

3 tests failed

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

expected: {}
     got: {"1551-7012"=>["arkivoc", "arkivoc"]}

(compared using ==)

Diff:
@@ -1 +1,2 @@
+"1551-7012" => ["arkivoc", "arkivoc"],

arkivoc: must have a "self" link

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="en-US" demote-non-dropping-particle="sort-only" children=[4]>.has_self_link?` to be truthy, got nil

arkivoc: 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/arkivoc"
     got: "https://csl.mendeley.com/styles/722101/Arkivoc-2022"

(compared using ==)

Please check the test report for details.

github-actions[bot] avatar Jul 10 '22 02:07 github-actions[bot]

:worried: There are some issues with your submission.

1 test failed

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

expected: {}
     got: {"1551-7012"=>["arkivoc", "arkivoc"]}

(compared using ==)

Diff:
@@ -1 +1,2 @@
+"1551-7012" => ["arkivoc", "arkivoc"],

Please check the test report for details.

github-actions[bot] avatar Jul 10 '22 02:07 github-actions[bot]

:smiley: Your submission passed all our automated tests.

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

arkivoc.csl (new)
1,2
3,4

1.Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy; Hancké, B.; Rhodes, M.; Thatcher, M., Eds.; Oxford University Press: Oxford and New York, 2007.
2.CSL search by example http://editor.citationstyles.org/searchByExample/ (accessed Dec 15, 2012).
3.Mares, I. In Varieties of capitalism. The institutional foundations of comparative advantage; Hall, P. A.; Soskice, D., Eds.; Oxford University Press: New York, 2001; 184.
4.Fenner, M.; Crosas, M.; Grethe, J. S.; Kennedy, D.; Hermjakob, H.; Rocca-Serra, P.; Durand, G.; Berjon, R.; Karcher, S.; Martone, M.; Clark, T. Sci. Data 2019, 6, 28. DOI:10.1038/s41597-019-0031-8.

github-actions[bot] avatar Jul 10 '22 02:07 github-actions[bot]

4.Fenner, M.; Crosas, M.; Grethe, J. S.; Kennedy, D.; Hermjakob, H.; Rocca-Serra, P.; Durand, G.; Berjon, R.; Karcher, S.; Martone, M.; Clark, T. Sci. Data 2019, 6, 28. DOI:10.1038/s41597-019-0031-8.

It should be

  1. Fenner, M.; Crosas, M.; Grethe, J. S.; Kennedy, D.; Hermjakob, H.; Rocca-Serra, P.; Durand, G.; Berjon, R.; Karcher, S.; Martone, M.; Clark, T. Sci. Data 2019, 6, 28. DOI:10.1038/s41597-019-0031-8.

space after 4.

singhfcy avatar Jul 11 '22 08:07 singhfcy

I am not able to make this change, please help

singhfcy avatar Jul 11 '22 08:07 singhfcy

:smiley: Your submission passed all our automated tests.

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

arkivoc.csl (new)
1,2
3,4

1.Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy; Hancké, B.; Rhodes, M.; Thatcher, M., Eds.; Oxford University Press: Oxford and New York, 2007.
2.CSL search by example http://editor.citationstyles.org/searchByExample/ (accessed Dec 15, 2012).
3.Mares, I. In Varieties of capitalism. The institutional foundations of comparative advantage; Hall, P. A.; Soskice, D., Eds.; Oxford University Press: New York, 2001; 184.
4.Fenner, M.; Crosas, M.; Grethe, J. S.; Kennedy, D.; Hermjakob, H.; Rocca-Serra, P.; Durand, G.; Berjon, R.; Karcher, S.; Martone, M.; Clark, T. Sci. Data 2019, 6, 28. DOI:10.1038/s41597-019-0031-8.
deutsche-gesellschaft-fur-psychologie.csl (modified style; unchanged output for sample items)
(„CSL search by example“, 2012; Hancké, Rhodes & Thatcher, 2007)
(Fenner et al., 2019; Mares, 2001)

CSL search by example. (2012). Citation Style Editor. Zugriff am 15.12.2012. Verfügbar unter: http://editor.citationstyles.org/searchByExample/
Fenner, M., Crosas, M., Grethe, J. S., Kennedy, D., Hermjakob, H., Rocca-Serra, P. et al. (2019). A data citation roadmap for scholarly data repositories. Scientific Data, 6(1), 28. https://doi.org/10.1038/s41597-019-0031-8
Hancké, B., Rhodes, M. & Thatcher, M. (Hrsg.). (2007). Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy. Oxford and New York: Oxford University Press.
Mares, I. (2001). Firms and the welfare state: When, why, and how does social policy matter to employers? In P.A. Hall & D. Soskice (Hrsg.), Varieties of capitalism. The institutional foundations of comparative advantage (S. 184–213). New York: Oxford University Press.
journal-on-efficiency-and-responsibility-in-education-and-science.csl (modified style)
(‘CSL search by example’, 2012; Hancké, Rhodes and Thatcher, 2007)
(Fenner et al., 2019; Mares, 2001)

CSL search by example, (2012) . [Online], Available at: http://editor.citationstyles.org/searchByExample/ [15 December 2012]
Fenner, M., Crosas, M., Grethe, J. S., Kennedy, D., Hermjakob, H., Rocca-Serra, P., … Clark, T. (2019) 'A data citation roadmap for scholarly data repositories', Scientific Data, vol. 6, no. 1, pp. 28. https://doi.org/10.1038/s41597-019-0031-8
Hancké, B., Rhodes, M. and Thatcher, M. (ed.) (2007) Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy, Oxford and New York: Oxford University Press.
Mares, I. (2001) 'Firms and the welfare state: When, why, and how does social policy matter to employers?', In P. A. Hall & D. Soskice (Eds.), Varieties of capitalism. The institutional foundations of comparative advantage (pp. 184–213), New York: Oxford University Press.
 (‘CSL search by example’, 2012; Hancké, Rhodes and Thatcher, 2007)<br/>
 (Fenner et al., 2019; Mares, 2001)<br/>
 <hr/>
-<i>CSL search by example</i>, (2012) [Online], Available at: http://editor.citationstyles.org/searchByExample/ [15 December 2012].<br/>
-Fenner, M., Crosas, M., Grethe, J. S., Kennedy, D., Hermjakob, H., Rocca-Serra, P., … Clark, T. (2019) 'A data citation roadmap for scholarly data repositories', <i>Scientific Data</i>, vol. 6, no. 1, pp. 28 https://doi.org/10.1038/s41597-019-0031-8.<br/>
+<i>CSL search by example</i>, (2012) . [Online], Available at: http://editor.citationstyles.org/searchByExample/ [15 December 2012]<br/>
+Fenner, M., Crosas, M., Grethe, J. S., Kennedy, D., Hermjakob, H., Rocca-Serra, P., … Clark, T. (2019) 'A data citation roadmap for scholarly data repositories', <i>Scientific Data</i>, vol. 6, no. 1, pp. 28. https://doi.org/10.1038/s41597-019-0031-8<br/>
 Hancké, B., Rhodes, M. and Thatcher, M. (ed.) (2007) <i>Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy</i>, Oxford and New York: Oxford University Press.<br/>
 Mares, I. (2001) 'Firms and the welfare state: When, why, and how does social policy matter to employers?', In P. A. Hall &amp; D. Soskice (Eds.), <i>Varieties of capitalism. The institutional foundations of comparative advantage</i> (pp. 184–213), New York: Oxford University Press.<br/>

science.csl (modified style)
(1, 2)
(3, 4)

1. B. Hancké, M. Rhodes, M. Thatcher, Eds., Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy (Oxford University Press, Oxford and New York, 2007).
2. CSL search by example. Citation Style Editor (2012) (available at http://editor.citationstyles.org/searchByExample/).
3. I. Mares, "Firms and the welfare state: When, why, and how does social policy matter to employers?" in Varieties of capitalism. The institutional foundations of comparative advantage, P. A. Hall, D. Soskice, Eds. (Oxford University Press, New York, 2001)pp. 184–213.
4. M. Fenner, M. Crosas, J. S. Grethe, D. Kennedy, H. Hermjakob, P. Rocca-Serra, G. Durand, R. Berjon, S. Karcher, M. Martone, T. Clark, A data citation roadmap for scholarly data repositories. Sci. Data. 6, 28 (2019).
 (<i>1</i>, <i>2</i>)<br/>
 (<i>3</i>, <i>4</i>)<br/>
 <hr/>
 1. B. Hancké, M. Rhodes, M. Thatcher, Eds., <i>Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy</i> (Oxford University Press, Oxford and New York, 2007).<br/>
 2. CSL search by example. <i>Citation Style Editor</i> (2012) (available at http://editor.citationstyles.org/searchByExample/).<br/>
-3. I. Mares, in <i>Varieties of capitalism. The institutional foundations of comparative advantage</i>, P. A. Hall, D. Soskice, Eds. (Oxford University Press, New York, 2001)pp. 184–213.<br/>
+3. I. Mares, "Firms and the welfare state: When, why, and how does social policy matter to employers?" in <i>Varieties of capitalism. The institutional foundations of comparative advantage</i>, P. A. Hall, D. Soskice, Eds. (Oxford University Press, New York, 2001)pp. 184–213.<br/>
 4. M. Fenner, M. Crosas, J. S. Grethe, D. Kennedy, H. Hermjakob, P. Rocca-Serra, G. Durand, R. Berjon, S. Karcher, M. Martone, T. Clark, A data citation roadmap for scholarly data repositories. <i>Sci. Data</i>. <b>6</b>, 28 (2019).<br/>

github-actions[bot] avatar Jul 11 '22 16:07 github-actions[bot]

@adam3smith I rebased this branch onto master, but it's still showing up as changing 4 files on GitHub (but only the 1 file on my local machine). Any ideas?

bwiernik avatar Jul 11 '22 16:07 bwiernik

What did you run locally? And do you use a fork or checkout this repo?

adam3smith avatar Jul 11 '22 18:07 adam3smith

I pulled master from the CSL repo, then I checked out this PR using the button on the webpage (it checks out the fork's branch). I rebased the PR branch onto the CSL repo master. Then git diff shows just one file changed. Then I pushed the rebased repo to update the PR/fork branch. That left it showing 4 files changed (even though the changes shown for the other 3 are already in master--coming from 3 recently merged PRs)

bwiernik avatar Jul 11 '22 20:07 bwiernik

:worried: There are some issues with your submission.

4 tests failed

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

expected: {}
     got: {"1551-7012"=>["arkivoc", "arkivoc"]}

(compared using ==)

Diff:
@@ -1 +1,2 @@
+"1551-7012" => ["arkivoc", "arkivoc"],

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

expected `[[0, "51:8: FATAL: StartTag: invalid element name"]].empty?` to be truthy, got false

arkivoc: 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/arkivoc"
     got: "[#<CSL::Info::Id \"http://www.zotero.org/styles/arkivoc\">, #<CSL::Info::Id \"https://csl.mendeley.com/styles/722101/Arkivoc-2022\">, #<CSL::Info::Id \"http://www.zotero.org/styles/arkivoc\">]"

(compared using ==)

arkivoc: "self" link must match the style ID

expected: "http://www.zotero.org/styles/arkivoc"
     got: "[#<CSL::Info::Id \"http://www.zotero.org/styles/arkivoc\">, #<CSL::Info::Id \"https://csl.mendeley.com/styles/722101/Arkivoc-2022\">, #<CSL::Info::Id \"http://www.zotero.org/styles/arkivoc\">]"

(compared using ==)

Please check the test report for details.

github-actions[bot] avatar Sep 29 '22 02:09 github-actions[bot]

:worried: There are some issues with your submission.

2 tests failed

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

expected `[[0, "23:3: FATAL: Extra content at the end of the document"]].empty?` to be truthy, got false

arkivoc: must be parsable as a CSL style

not allowed to add #<CSL::Info::Name "Patrick O'Brien"> to #<struct CSL::Info::Children title=#<CSL::Info::Title "Arkivoc">, :"title-short"=nil, id=#<CSL::Info::Id "http://www.zotero.org/styles/arkivoc">, issn=nil, eissn=nil, issnl=nil, link=[#<CSL::Info::Link href="http://www.zotero.org/styles/arkivoc" rel="self" children=[0]>], author=#<CSL::Info::Author children=[2]>, contributor=#<CSL::Info::Contributor children=[2]>, translator=nil, category=[], published=nil, summary=nil, updated=nil, rights=nil, :"link-dependent-style"=nil>

Please check the test report for details.

github-actions[bot] avatar Sep 29 '22 02:09 github-actions[bot]

:smiley: Your submission passed all our automated tests.

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

arkivoc.csl (new)
1,2
3,4

1.Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy; Hancké, B.; Rhodes, M.; Thatcher, M., Eds.; Oxford University Press: Oxford and New York, 2007.
2.CSL search by example http://editor.citationstyles.org/searchByExample/ (accessed Dec 15, 2012).
3.Mares, I. In Varieties of capitalism. The institutional foundations of comparative advantage; Hall, P. A.; Soskice, D., Eds.; Oxford University Press: New York, 2001; 184.
4.Fenner, M.; Crosas, M.; Grethe, J. S.; Kennedy, D.; Hermjakob, H.; Rocca-Serra, P.; Durand, G.; Berjon, R.; Karcher, S.; Martone, M.; Clark, T. Sci. Data 2019, 6, 28. DOI:10.1038/s41597-019-0031-8.

github-actions[bot] avatar Mar 01 '23 03:03 github-actions[bot]

:smiley: Your submission passed all our automated tests.

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

arkivoc.csl (new)
1,2
3,4

1.Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy; Hancké, B.; Rhodes, M.; Thatcher, M., Eds.; Oxford University Press: Oxford and New York, 2007.
2.CSL search by example http://editor.citationstyles.org/searchByExample/ (accessed Dec 15, 2012).
3.Mares, I. In Varieties of capitalism. The institutional foundations of comparative advantage; Hall, P. A.; Soskice, D., Eds.; Oxford University Press: New York, 2001; 184.
4.Fenner, M.; Crosas, M.; Grethe, J. S.; Kennedy, D.; Hermjakob, H.; Rocca-Serra, P.; Durand, G.; Berjon, R.; Karcher, S.; Martone, M.; Clark, T. Sci. Data 2019, 6, 28. DOI:10.1038/s41597-019-0031-8.

github-actions[bot] avatar Mar 12 '23 03:03 github-actions[bot]