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

add substitute to Vancouver author date #6147

Merged
merged 4 commits into from
Jul 19, 2022
Merged

Conversation

adam3smith
Copy link
Member

@github-actions
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.

@github-actions
Copy link

😟 There are some issues with your submission.

2 tests failed

vancouver-author-date: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

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

vancouver-author-date: may not have any unused macros

expected: []
     got: ["author", "author-short"]

(compared using ==)

Please check the test report for details.

@github-actions
Copy link

😃 Your submission passed all our automated tests.

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

vancouver-author-date.csl (modified style)
(Hancké et al. 2007; 2012)
(Mares 2001; Fenner et al. 2019)

CSL search by example [Internet]. Citation Style Editor. 2012 [cited 2012Dec15]. Available from: http://editor.citationstyles.org/searchByExample/
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, et al. A data citation roadmap for scholarly data repositories. Sci Data [Internet]. 2019Apr10 [cited 2019Apr27];6(1):28. Available from: http://www.nature.com/articles/s41597-019-0031-8
Hancké B, Rhodes M, Thatcher M, editors. Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy. Oxford and New York: Oxford University Press; 2007.
Mares I. Firms and the welfare state: When, why, and how does social policy matter to employers? In: Hall PA, Soskice D, editors. Varieties of capitalism The institutional foundations of comparative advantage. New York: Oxford University Press; 2001. p. 184–213.
-(2007; 2012)<br/>
+(Hancké et al. 2007; 2012)<br/>
 (Mares 2001; Fenner et al. 2019)<br/>
 <hr/>
 CSL search by example [Internet]. Citation Style Editor. 2012 [cited 2012Dec15]. Available from: http://editor.citationstyles.org/searchByExample/<br/>
 Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, et al. A data citation roadmap for scholarly data repositories. Sci Data [Internet]. 2019Apr10 [cited 2019Apr27];6(1):28. Available from: http://www.nature.com/articles/s41597-019-0031-8<br/>
 Hancké B, Rhodes M, Thatcher M, editors. Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy. Oxford and New York: Oxford University Press; 2007. <br/>
 Mares I. Firms and the welfare state: When, why, and how does social policy matter to employers? In: Hall PA, Soskice D, editors. Varieties of capitalism The institutional foundations of comparative advantage. New York: Oxford University Press; 2001. p. 184–213. <br/>

@github-actions
Copy link

😟 There are some issues with your submission.

1 test failed

vancouver-author-date: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[7, "7:0: ERROR: Element link failed to validate attributes"], [0, "ERROR: Extra element link in int...RROR: Did not expect element locale there"], [2, "2:0: ERROR: Expecting element locale, got style"]].empty?` to be truthy, got false

Please check the test report for details.

@github-actions
Copy link

😃 Your submission passed all our automated tests.

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

vancouver-author-date.csl (modified style)
(Hancké et al. 2007; CSL search by example 2012)
(Mares 2001; Fenner et al. 2019)

CSL search by example. [Internet]. Citation Style Editor. 2012 [cited 2012Dec15]. Available from: http://editor.citationstyles.org/searchByExample/
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, et al. A data citation roadmap for scholarly data repositories. Sci Data [Internet]. 2019Apr10 [cited 2019Apr27];6(1):28. Available from: http://www.nature.com/articles/s41597-019-0031-8
Hancké B, Rhodes M, Thatcher M, editors. Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy. Oxford and New York: Oxford University Press; 2007.
Mares I. Firms and the welfare state: When, why, and how does social policy matter to employers? In: Hall PA, Soskice D, editors. Varieties of capitalism The institutional foundations of comparative advantage. New York: Oxford University Press; 2001. p. 184–213.
-(2007; 2012)<br/>
+(Hancké et al. 2007; CSL search by example 2012)<br/>
 (Mares 2001; Fenner et al. 2019)<br/>
 <hr/>
-CSL search by example [Internet]. Citation Style Editor. 2012 [cited 2012Dec15]. Available from: http://editor.citationstyles.org/searchByExample/<br/>
+CSL search by example. [Internet]. Citation Style Editor. 2012 [cited 2012Dec15]. Available from: http://editor.citationstyles.org/searchByExample/<br/>
 Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, et al. A data citation roadmap for scholarly data repositories. Sci Data [Internet]. 2019Apr10 [cited 2019Apr27];6(1):28. Available from: http://www.nature.com/articles/s41597-019-0031-8<br/>
 Hancké B, Rhodes M, Thatcher M, editors. Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy. Oxford and New York: Oxford University Press; 2007. <br/>
 Mares I. Firms and the welfare state: When, why, and how does social policy matter to employers? In: Hall PA, Soskice D, editors. Varieties of capitalism The institutional foundations of comparative advantage. New York: Oxford University Press; 2001. p. 184–213. <br/>

@adam3smith adam3smith merged commit f1638a9 into master Jul 19, 2022
@adam3smith adam3smith deleted the vancouver-author-date branch July 19, 2022 08:21
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.

1 participant