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 spiritual-care.csl #6704

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

fw515
Copy link

@fw515 fw515 commented Sep 19, 2023

Created first version.

Style guide is found here

@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

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

expected `[[10, "10:0: ERROR: Expecting an element name, got nothing"], [10, "10:0: ERROR: Invalid sequence in ... Extra element author in interleave"], [10, "10:0: ERROR: Element info failed to validate content"]].empty?` to be truthy, got false

spiritual-care.csl
title should include natural language version of default-locale "de-DE" in parentheses

Please check the test report for details.

Tried to fix validation errors
@github-actions
Copy link

😟 There are some issues with your submission.

1 test failed

spiritual-care.csl
title should include natural language version of default-locale "de-DE" in parentheses

Please check the test report for details.

-Fixed "Epub ahead of print"
-Fixed "(Zitierdatum: 07.04.2021), abrufbar
unter [URL]"
-Other minor stuff
@github-actions
Copy link

😟 There are some issues with your submission.

1 test failed

spiritual-care.csl
title should include natural language version of default-locale "de-DE" in parentheses

Please check the test report for details.

Trying to fix in-text citations.
@github-actions
Copy link

😟 There are some issues with your submission.

1 test failed

spiritual-care.csl
title should include natural language version of default-locale "de-DE" in parentheses

Please check the test report for details.

-Fixed in-line citation (author date: page)
@github-actions
Copy link

😟 There are some issues with your submission.

1 test failed

spiritual-care.csl
title should include natural language version of default-locale "de-DE" in parentheses

Please check the test report for details.

<?xml version="1.0" encoding="utf-8"?>
<style class="in-text" version="1.0" demote-non-dropping-particle="never" default-locale="de-DE" xmlns="http://purl.org/net/xbiblio/csl">
<info>
<title>SPIRITUAL CARE</title>
Copy link
Contributor

@POBrien333 POBrien333 Sep 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add (German) to title. Unless this journal also publishes in English, then we'd want to take out the default-locale instead.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

<id>http://www.zotero.org/styles/spiritual-care</id>
<link href="http://www.zotero.org/styles/spiritual-care" rel="self"/>
<link href="http://www.zotero.org/styles/apa" rel="template"/>
<link href="https://" rel="documentation"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to <link href="https://www.degruyter.com/journal/key/spircare/html" rel="documentation"/> and add a second link with the following URL: https://www.degruyter.com/publication/journal_key/SPIRCARE/downloadAsset/SPIRCARE_Instructions%20for%20Authors--en.pdf

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

<group delimiter=" ">
<text macro="author-short"/>
<text macro="issued-year"/>
<text macro="citation-locator"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move <text macro="citation-locator"/> out of this group as explained in the forum thread.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved it from Layout > Group > Group > citation-locator (macro) to Layout > citation-locator (macro) using the visual editor

<label text-case="capitalize-first" variable="locator"/>
</if>
</choose>
<text variable="locator" prefix=" "/>
Copy link
Contributor

@POBrien333 POBrien333 Sep 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the prefix and add it as a delimiter at group level. This gives you issues.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to find the correct group to place the " " delimiter

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is literally only ONE group in the citation-locator macro.

<text variable="year-suffix" prefix="-"/>
</else>
</choose>
<choose>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this complete conditional. You have that solved below.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remove this I lose the ":", so I'm keeping it. Sorry, I'm in a bit over my head ;)

-Removed '.' after author name in bibliography
-Moved Conditional > If page > : (value) to citation-locator (macro)
@github-actions
Copy link

😟 There are some issues with your submission.

1 test failed

spiritual-care.csl
title should include natural language version of default-locale "de-DE" in parentheses

Please check the test report for details.

-Added (German) to title
-Added two links to documentation
@github-actions
Copy link

😃 Your submission passed all our automated tests.

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

spiritual-care.csl (new)
(Hancké u. a. 2007; „CSL search by example“ 2012)
(Mares 2001; Fenner u. a. 2019)

CSL search by example (2012) Citation Style Editor. (Zitierdatum: 15.12.2012), abrufbar unter http://editor.citationstyles.org/searchByExample/.
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, Durand G, Berjon R, Karcher S, Martone M & Clark T (2019) A data citation roadmap for scholarly data repositories. Scientific Data. 6(1): 28.
Hancké B, Rhodes M & Thatcher M (Hg.)(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: Hall PA & Soskice D (Hg.) Varieties of capitalism. The institutional foundations of comparative advantage. New York: Oxford University Press. 184–213.

</macro>
<macro name="citation-locator">
<group>
<choose>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete lines 520-524.
That is solved by the group delimiter in line 620 and will give you issues.

@fw515 fw515 requested a review from POBrien333 September 22, 2023 18:41
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

😃 Your submission passed all our automated tests.

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

spiritual-care.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. (Zitierdatum: 15.12.2012), abrufbar unter http://editor.citationstyles.org/searchByExample/.
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, Durand G, Berjon R, Karcher S, Martone M & Clark T (2019) A data citation roadmap for scholarly data repositories. Scientific Data. 6(1): 28.
Hancké B, Rhodes M & Thatcher M (Hg.)(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: Hall PA & Soskice D (Hg.) Varieties of capitalism. The institutional foundations of comparative advantage. New York: Oxford University Press. 184–213.

1 similar comment
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

😃 Your submission passed all our automated tests.

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

spiritual-care.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. (Zitierdatum: 15.12.2012), abrufbar unter http://editor.citationstyles.org/searchByExample/.
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, Durand G, Berjon R, Karcher S, Martone M & Clark T (2019) A data citation roadmap for scholarly data repositories. Scientific Data. 6(1): 28.
Hancké B, Rhodes M & Thatcher M (Hg.)(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: Hall PA & Soskice D (Hg.) Varieties of capitalism. The institutional foundations of comparative advantage. New York: Oxford University Press. 184–213.

-Fixed separators and suffix in bibliography
-Fixed accessed-date for reports with URL
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

😃 Your submission passed all our automated tests.

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

spiritual-care.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. (Zitierdatum: 15.12.2012), abrufbar unter http://editor.citationstyles.org/searchByExample/.
Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, Rocca-Serra P, Durand G, Berjon R, Karcher S, Martone M, Clark T (2019) A data citation roadmap for scholarly data repositories. Scientific Data 6(1): 28.
Hancké B, Rhodes M, Thatcher M (Hg.)(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: Hall PA, Soskice D (Hg.) Varieties of capitalism. The institutional foundations of comparative advantage. New York: Oxford University Press. 184–213.

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