Skip to content

Commit

Permalink
[Bot] Update CSL styles (#8351)
Browse files Browse the repository at this point in the history
* Squashed 'buildres/csl/csl-styles/' changes from 60bf7d5..9dff241

9dff241 Merge pull request #5796 from dhacker29/patch-1
35949f4 Update turabian-fullnote-bibliography-no-ibid.csl
ccfb661 Merge pull request #5793 from benjaminmoon/patch-2
520e127 Update frontiers-medical-journals.csl (#5740)
ab629ab Update natura-croatica.csl (#5795)
60b2b17 Rename turabian-fullnote-bibliography-no-ibid to turabian-fullnote-bibliography-no-ibid.csl
ad4edff Create turabian-fullnote-bibliography-no-ibid
d9b956c Update monographs-of-the-palaeontographical-society.csl
3648ae6 Merge pull request #5792 from StianOby/fix-no-page-number-articles
e15b2f7 Update norsk-henvisningsstandard-for-rettsvitenskapelige-tekster.csl
d8778cf Removed "page" (s. ) term for articles that do not have page numbers.

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 9dff241

* Squashed 'buildres/csl/csl-locales/' changes from d5ee85de8e..95ee22b362

95ee22b362 Merge pull request #243 from jagrg/master
50498dce39 Fix pt-BR translation

git-subtree-dir: buildres/csl/csl-locales
git-subtree-split: 95ee22b36297a83e3346b950bf08728bfb31d664

Co-authored-by: github actions <[email protected]>
  • Loading branch information
koppor and github actions authored Dec 20, 2021
1 parent f15cfac commit f6d2ca2
Show file tree
Hide file tree
Showing 6 changed files with 863 additions and 43 deletions.
2 changes: 1 addition & 1 deletion buildres/csl/csl-locales/locales-pt-BR.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<term name="forthcoming">a ser publicado</term>
<term name="from">de</term>
<term name="ibid">ibidem</term>
<term name="in">in</term>
<term name="in">em</term>
<term name="in press">no prelo</term>
<term name="internet">internet</term>
<term name="interview">entrevista</term>
Expand Down
49 changes: 29 additions & 20 deletions buildres/csl/csl-styles/frontiers-medical-journals.csl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Frontiers medical journals</title>
<id>http://www.zotero.org/styles/frontiers-medical-journals</id>
Expand All @@ -16,13 +15,13 @@
<category citation-format="numeric"/>
<category field="medicine"/>
<summary>Style for the Open Access Frontiers in ... Journals</summary>
<updated>2014-03-22T17:19:39+00:00</updated>
<updated>2021-11-23T11:23:52+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="editor">
<names variable="editor" delimiter=", ">
<label form="short" prefix=", "/>
<name initialize-with=". " delimiter=", " prefix=" "/>
<name prefix=" " initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label prefix=", "/>
</names>
</macro>
<macro name="author">
Expand All @@ -38,10 +37,9 @@
<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"/>
<text variable="DOI" prefix="doi: "/>
</if>
<else-if variable="URL">
<text value="Available at:" suffix=" "/>
<text variable="URL"/>
<group prefix=" [" suffix="]">
<text term="accessed" text-case="capitalize-first" suffix=" "/>
Expand Down Expand Up @@ -99,28 +97,39 @@
<text variable="citation-number" suffix=". "/>
<text macro="author" suffix="."/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=" " prefix=" ">
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
<group delimiter=". " prefix=" " suffix=".">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
<text macro="publisher"/>
<date variable="issued" prefix=" (" suffix=").">
<date-part name="year"/>
</date>
<text variable="genre" prefix="[" suffix="]"/>
<group delimiter=" ">
<text macro="publisher"/>
<date variable="issued" prefix="(" suffix=")">
<date-part name="year"/>
</date>
</group>
<group delimiter=" ">
<text variable="number-of-pages"/>
<label plural="never" variable="number-of-pages" form="short"/>
</group>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=" " prefix=" ">
<group delimiter=". " prefix=" ">
<text macro="title"/>
<text term="in"/>
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<text macro="editor"/>
</group>
<text variable="container-title" font-style="italic"/>
<text variable="collection-title" suffix="."/>
</group>
<text macro="editor"/>
<group suffix=".">
<text macro="publisher" prefix=" (" suffix=")"/>
<group prefix=", ">
<group delimiter=" ">
<text macro="publisher"/>
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
</group>
<group delimiter=" ">
<label plural="never" variable="page" form="short"/>
<text variable="page"/>
</group>
</group>
Expand All @@ -132,7 +141,7 @@
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year"/>
</date>
<text variable="volume" suffix=":"/>
<text variable="volume" font-weight="bold" suffix=":"/>
</group>
<text variable="page" suffix="."/>
</else>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<id>http://www.zotero.org/styles/monographs-of-the-palaeontographical-society</id>
<link href="http://www.zotero.org/styles/monographs-of-the-palaeontographical-society" rel="self"/>
<link href="http://www.zotero.org/styles/palaeontology" rel="template"/>
<link href="https://www.palaeosoc.org/site/page/for-authors/notes/" rel="documentation"/>
<link href="https://www.tandfonline.com/action/authorSubmission?show=instructions&amp;journalCode=tmps20" rel="documentation"/>
<author>
<name>Benjamin Moon</name>
Expand All @@ -17,7 +18,7 @@
<issn>0269-3445</issn>
<eissn>2576-1900</eissn>
<summary>Some bibliography entries may need plate numbers added or indications of translated titles. Separate formatting for Monographs can be achieved from Zotero by adding 'Publisher Place: London' into the Extra field; this is used as the key to identify these. Similarly 'Number Of Pages' may be added in the Extra field too.</summary>
<updated>2021-06-21T13:18:47</updated>
<updated>2021-12-16T16:15:06</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="author">
Expand Down Expand Up @@ -48,14 +49,6 @@
</substitute>
</names>
</macro>
<macro name="author-count">
<names variable="author">
<name form="count"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
Expand All @@ -81,10 +74,10 @@
<label variable="number-of-pages" form="short" plural="always"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="false" disambiguate-add-givenname="false" collapse="year-suffix-ranged" year-suffix-delimiter=", ">
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="false" disambiguate-add-givenname="false" collapse="year-suffix" cite-group-delimiter=", " year-suffix-delimiter=", ">
<sort>
<key macro="year-date"/>
<key macro="author-short"/>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group>
Expand All @@ -99,9 +92,8 @@
</citation>
<bibliography entry-spacing="0" hanging-indent="true" subsequent-author-substitute-rule="partial-each" subsequent-author-substitute="&#8212;&#8212;&#8212;">
<sort>
<key macro="author" names-min="1" names-use-first="1"/>
<key macro="author-count"/>
<key macro="year-date"/>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<choose>
Expand Down Expand Up @@ -203,6 +195,7 @@
</group>
</else>
</choose>
<text variable="DOI" prefix=" doi: "/>
</layout>
</bibliography>
</style>
15 changes: 10 additions & 5 deletions buildres/csl/csl-styles/natura-croatica.csl
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@
<category field="biology"/>
<issn>1330-0520</issn>
<eissn>1848-7386</eissn>
<updated>2021-10-27T08:21:10+00:00</updated>
<updated>2021-12-17T16:20:35+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="author">
<names variable="author">
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all">
<name-part name="family" font-variant="small-caps"/>
</name>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="editor">
Expand Down Expand Up @@ -80,7 +85,7 @@
<text macro="author-short"/>
<group>
<text macro="year-date"/>
<text variable="year-suffix" font-style="italic"/>
<text variable="year-suffix" font-style="normal"/>
</group>
<text variable="locator"/>
</group>
Expand All @@ -100,14 +105,14 @@
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix" font-style="italic"/>
<text variable="year-suffix" font-style="normal"/>
</group>
</group>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<group suffix=".">
<group>
<text variable="title" font-style="italic" text-case="capitalize-first" suffix=". "/>
<text variable="title" text-case="capitalize-first" font-style="normal" suffix=". "/>
<group delimiter=" " suffix=" ">
<text term="in" text-case="capitalize-first" font-style="italic"/>
<text macro="editor"/>
Expand Down Expand Up @@ -151,7 +156,7 @@
<text macro="editor"/>
</group>
<group>
<text variable="container-title" text-case="title" font-style="italic"/>
<text variable="container-title" text-case="title" font-style="normal"/>
<choose>
<if is-numeric="volume">
<group delimiter=" " suffix=".">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,10 @@
<text prefix=", " macro="title"/>
<text prefix=" " font-style="italic" variable="container-title"/>
<text prefix=" " macro="issued"/>
<text prefix=" " suffix=" " term="page" form="short"/>
<text variable="page"/>
<group delimiter=" " prefix=" ">
<text term="page" form="short"/>
<text variable="page"/>
</group>
<text macro="DOI"/>
<text prefix=" " macro="retrieved-from"/>
</group>
Expand Down
Loading

0 comments on commit f6d2ca2

Please sign in to comment.