-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 apa-7th-prt-legislation.csl #7287
base: master
Are you sure you want to change the base?
Conversation
This is an adaptation of APA 7th edition to include citation and bilbiography of Portuguese law according to portuguese legal citation (https://www.parlamento.pt/ArquivoDocumentacao/Documents/AR_Regras_Legistica.pdf). The correct way to use this style is to use document type legislation ("statute" in Zotero), putting the location (Lisboa) in the references field ("History" in Zotero).
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. |
😟 There are some issues with your submission. 3 tests failedapa-7th-prt-legislation: "template" link must point to an existing independent style
apa-7th-prt-legislation: may not have any unused macros
apa-7th-prt-legislation: "self" link must match the style ID
Please check the test report for details. |
Corrected 3 errors.
😃 Your submission passed all our automated tests. Below are some sample citations generated based on your proposed changes: apa-7th-prt-legislation.csl (new)CSL Search by Example, (2012); Hancké et al., (2007) |
Thanks— the correct variable to indicate location for legal items in CSL is the |
Changed item variable "History" to "jurisdiction".
😃 Your submission passed all our automated tests. Below are some sample citations generated based on your proposed changes: apa-7th-prt-legislation.csl (new)CSL Search by Example, (2012); Hancké et al., (2007) |
@bwiernik, thank you for the fast reply! I have changed the item variable |
Changed minor mistake in section variable
😃 Your submission passed all our automated tests. Below are some sample citations generated based on your proposed changes: apa-7th-prt-legislation.csl (new)CSL Search by Example, (2012); Hancké et al., (2007) |
Remade the whole style to change the minimum from the original. There were mistakes in bibliography order and citations.
😟 There are some issues with your submission. 1 test failedapa-7th-prt-legislation: must be parsable as a CSL style
Please check the test report for details. |
😟 There are some issues with your submission. 1 test failedapa-7th-prt-legislation: must be parsable as a CSL style
Please check the test report for details. |
Corrected duplication mistake. The code was changed to be the closest possible to APA 7 original code.
😃 Your submission passed all our automated tests. Below are some sample citations generated based on your proposed changes: apa-7th-prt-legislation.csl (new)(CSL Search by Example, 2012; Hancké et al., 2007) |
@bwiernik, remade the code to be as close as possible to APA 7th, but to include portuguese legislation. Explanation is on the lega-cites macro. Thank you! |
This is an adaptation of APA 7th edition to include citation and bilbiography of Portuguese law according to portuguese legal citation (https://www.parlamento.pt/ArquivoDocumentacao/Documents/AR_Regras_Legistica.pdf). The correct way to use this style is to use document type legislation ("statute" in Zotero), putting the location (Lisboa) in the jurisdiction field. If unavailable (like Zotero and Mendeley) use extra field with prefix "jurisdiction: " (ex. jurisdiction: Lisboa).