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

Updated gost-r-7-0-5-2008-numeric style #6765

Closed
wants to merge 0 commits into from

Conversation

Andrew15-5
Copy link

Changed "э" to "Э" in online term. 2 other gost files (in this repo) use capitalized version as well as examples from the standard itself.

Link to the document: https://protect.gost.ru/document.aspx?control=7&id=173511

Link to the document (page 12 in text): https://protect.gost.ru/v.aspx?control=8&baseC=-1&page=0&month=-1&year=-1&search=&RegNum=1&DocOnPageCount=15&id=165614&pageK=AB78A3D0-D4DC-4306-AC48-AAD7BEF2CC96

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

😃 Your submission passed all our automated tests.

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

gost-r-7-0-5-2008-numeric.csl (modified style; unchanged output for sample items)
[1,2]
[3,4]

1.Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy / ed. Hancké B., Rhodes M., Thatcher M. Oxford and New York: Oxford University Press, 2007.
2.CSL search by example [Electronic resource] // Citation Style Editor. 2012. URL: http://editor.citationstyles.org/searchByExample/ (accessed: 15.12.2012).
3.Mares I. Firms and the welfare state: When, why, and how does social policy matter to employers? // Varieties of capitalism. The institutional foundations of comparative advantage / ed. Hall P.A., Soskice D. New York: Oxford University Press, 2001. P. 184–213.
4.Fenner M. et al. A data citation roadmap for scholarly data repositories // Sci. Data. 2019. Vol. 6, № 1. P. 28.

@bwiernik
Copy link
Member

bwiernik commented Nov 2, 2023

Hi there! Thanks for this. The same effect is already accomplished by line 69, which uppercases the first letter of the online term when it's rendered:

<text term="online" text-case="sentence" prefix="[" suffix="]"/>

@github-actions github-actions bot added the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Nov 2, 2023
@Andrew15-5
Copy link
Author

I tried it and it didn't uppercase anything. But I used Typst's built-in CSL style, which came from this file. I'll try using this file directly and see if it will change anything. But I can't right now. Maybe in a couple of days.

@github-actions github-actions bot removed the waiting-for-response-from-contributor The ticket/pull request is awaiting input from the contributor/depositor label Nov 2, 2023
@Andrew15-5 Andrew15-5 closed this Mar 8, 2025
@Andrew15-5
Copy link
Author

Andrew15-5 commented Mar 8, 2025

I've finally returned with the milk!

I'm not sure when did that happen, but in the latest stable CSL docs the text-case "sentence" value is deprecated, so that thing on that line should be removed or replaced. So I've created #7468.

I've also updated my master branch and force-pushed it, and it got this PR closed. I don't think I can re-open it.

Also also, I've tried using the default and the updated CSL file with Typst 0.13.1 and indeed it doesn't recognize the "sentence" value, but with "capitalize-first" it capitalizes the first letter of the first word as expected.

Typst file
#set text(lang: "ru")

#let source = bytes("
@eresource{a,
  author={Автор, А.},
  title={Название},
  url={https://example.com}
}
")

#bibliography(source, full: true, style: "gost-r-7-0-5-2008-numeric.csl")

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