Skip to content

Create sophiahemmet-hogskola.csl#8169

Open
neonfabrik wants to merge 14 commits into
citation-style-language:masterfrom
neonfabrik:master
Open

Create sophiahemmet-hogskola.csl#8169
neonfabrik wants to merge 14 commits into
citation-style-language:masterfrom
neonfabrik:master

Conversation

@neonfabrik
Copy link
Copy Markdown

New style for Sophiahemmet University (SHH) based on their modified APA 7th edition manual, version 24.5. This style includes specialized Swedish legislative formatting and specific locale terms as required by the institution's guidelines.

Implements specialized Swedish legislative formatting and SHH specific locale terms
@github-actions
Copy link
Copy Markdown

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
Copy Markdown

😟 There are some issues with your submission.

1 test failed

sophiahemmet-apa245.csl
title should include natural language version of default-locale "sv-SE" in parentheses

Please check the test report for details.

@github-actions
Copy link
Copy Markdown

😃 Your submission passed all our automated tests.

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

sophiahemmet-apa245.csl (new)
(CSL search by example, 2012; Fenner et al., 2019)
(Galindo-Castañeda et al., 2025; Hancké et al., 2007)
(Mares, 2001)

CSL search by example. (2012). Citation Style Language. Hämtad 15 december 2012, från https://editor.citationstyles.org/searchByExample/
Fenner, M., Crosas, M., Grethe, J. S., 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, Article 28. https://doi.org/10.1038/s41597-019-0031-8
Galindo-Castañeda, T., Kost, E., Giuliano, E., Conz, R. F., Six, J., & Hartmann, M. (2025). Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach. Annals of Botany, 136(5–6), 1143–1162. https://doi.org/10.1093/aob/mcaf185
Hancké, B., Rhodes, M., & Thatcher, M. (red.). (2007). Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy. Oxford University Press. https://doi.org/10.1093/acprof:oso/9780199206483.001.0001
Mares, I. (2001). Firms and the welfare state: when, why, and how does social policy matter to employers? I P. A. Hall & D. Soskice (red.), Varieties of capitalism: the institutional foundations of comparative advantage (s. 184–212). Oxford University Press. https://doi.org/10.1093/0199247757.003.0005

@POBrien333 POBrien333 changed the title Add Sophiahemmet APA 24.5 style Create sophiahemmet-hogskola.csl May 11, 2026
@github-actions
Copy link
Copy Markdown

😟 There are some issues with your submission.

2 tests failed

sophiahemmet-högskola: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[0, "2:6: FATAL: XML declaration allowed only at the start of the document"]].empty?` to be truthy, got false

sophiahemmet-högskola: must have a conventional file name

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

Please check the test report for details.

@github-actions
Copy link
Copy Markdown

😟 There are some issues with your submission.

3 tests failed

sophiahemmet-högskola: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[0, "2:6: FATAL: XML declaration allowed only at the start of the document"]].empty?` to be truthy, got false

sophiahemmet-högskola: must have a conventional file name

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

sophiahemmet-högskola: 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/sophiahemmet-högskola"
     got: "http://www.zotero.org/styles/sophiahemmet-hogskola"

(compared using ==)

Please check the test report for details.

@github-actions
Copy link
Copy Markdown

😟 There are some issues with your submission.

1 test failed

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

expected `[[0, "2:6: FATAL: XML declaration allowed only at the start of the document"]].empty?` to be truthy, got false

Please check the test report for details.

@github-actions
Copy link
Copy Markdown

😃 Your submission passed all our automated tests.

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

sophiahemmet-hogskola.csl (new)
(CSL search by example, 2012; Fenner et al., 2019)
(Galindo-Castañeda et al., 2025; Hancké et al., 2007)
(Mares, 2001)

CSL search by example. (2012). Citation Style Language. Hämtad 15 december 2012, från https://editor.citationstyles.org/searchByExample/
Fenner, M., Crosas, M., Grethe, J. S., 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, Article 28. https://doi.org/10.1038/s41597-019-0031-8
Galindo-Castañeda, T., Kost, E., Giuliano, E., Conz, R. F., Six, J., & Hartmann, M. (2025). Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach. Annals of Botany, 136(5–6), 1143–1162. https://doi.org/10.1093/aob/mcaf185
Hancké, B., Rhodes, M., & Thatcher, M. (red.). (2007). Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy. Oxford University Press. https://doi.org/10.1093/acprof:oso/9780199206483.001.0001
Mares, I. (2001). Firms and the welfare state: when, why, and how does social policy matter to employers? I P. A. Hall & D. Soskice (red.), Varieties of capitalism: the institutional foundations of comparative advantage (s. 184–212). Oxford University Press. https://doi.org/10.1093/0199247757.003.0005

@github-actions
Copy link
Copy Markdown

😟 There are some issues with your submission.

1 test failed

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

expected `[[0, "2:6: FATAL: XML declaration allowed only at the start of the document"]].empty?` to be truthy, got false

Please check the test report for details.

- Fixed retrieval date formatting to include required commas: "Hämtad [dag] [månad], [år], från".
- Updated Vårdhandboken/1177 citations to use "chapter" logic, ensuring "Hämtad från" is included and title quotes are removed when author is missing.
- Refined legislation formatting in bibliography:
    - Added italics to titles per manual examples.
    - Suppressed publisher/agency when URL is present to favor retrieval string.
    - Ensured retrieval dates are generated for legal sources.
- Suppressed year in in-text citations for legislation to avoid "SFS 2017:30, 2017"
- Corrected newspaper/blog date ordering in bibliography to (Year, Day Month).
- Localized roles to "Red." and "Övers." with mandatory title casing.
@github-actions
Copy link
Copy Markdown

😃 Your submission passed all our automated tests.

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

sophiahemmet-hogskola.csl (new)
(CSL search by example, 2012; Fenner et al., 2019)
(Galindo-Castañeda et al., 2025; Hancké et al., 2007)
(Mares, 2001)

CSL search by example. (2012). Citation Style Language. Hämtad 15 december, 2012, från https://editor.citationstyles.org/searchByExample/
Fenner, M., Crosas, M., Grethe, J. S., 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, Article 28. https://doi.org/10.1038/s41597-019-0031-8
Galindo-Castañeda, T., Kost, E., Giuliano, E., Conz, R. F., Six, J., & Hartmann, M. (2025). Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach. Annals of Botany, 136(5–6), 1143–1162. https://doi.org/10.1093/aob/mcaf185
Hancké, B., Rhodes, M., & Thatcher, M. (red.). (2007). Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy. Oxford University Press. https://doi.org/10.1093/acprof:oso/9780199206483.001.0001
Mares, I. (2001). Firms and the welfare state: when, why, and how does social policy matter to employers? I P. A. Hall & D. Soskice (red.), Varieties of capitalism: the institutional foundations of comparative advantage (s. 184–212). Oxford University Press. https://doi.org/10.1093/0199247757.003.0005

@github-actions
Copy link
Copy Markdown

😃 Your submission passed all our automated tests.

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

sophiahemmet-hogskola.csl (new)
(CSL search by example, 2012; Fenner et al., 2019)
(Galindo-Castañeda et al., 2025; Hancké et al., 2007)
(Mares, 2001)

CSL search by example. (2012). Citation Style Language. Hämtad 15 december, 2012, från https://editor.citationstyles.org/searchByExample/
Fenner, M., Crosas, M., Grethe, J. S., 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, Article 28. https://doi.org/10.1038/s41597-019-0031-8
Galindo-Castañeda, T., Kost, E., Giuliano, E., Conz, R. F., Six, J., & Hartmann, M. (2025). Locating the microbes along the maize root system under nitrogen limitation: a root phenotypic approach. Annals of Botany, 136(5–6), 1143–1162. https://doi.org/10.1093/aob/mcaf185
Hancké, B., Rhodes, M., & Thatcher, M. (red.). (2007). Beyond varieties of capitalism: conflict, contradictions, and complementarities in the European economy. Oxford University Press. https://doi.org/10.1093/acprof:oso/9780199206483.001.0001
Mares, I. (2001). Firms and the welfare state: when, why, and how does social policy matter to employers? I P. A. Hall & D. Soskice (red.), Varieties of capitalism: the institutional foundations of comparative advantage (s. 184–212). Oxford University Press. https://doi.org/10.1093/0199247757.003.0005

@neonfabrik
Copy link
Copy Markdown
Author

Sorry for late commits during submission process.
Won't make any more changes now, so feel free to merge if it passes your reviews.

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