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

[Bot] Update CSL styles #9671

Merged
merged 2 commits into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 189 additions & 0 deletions buildres/csl/csl-styles/arkivoc.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
<?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">
<info>
<title>Arkivoc</title>
<id>http://www.zotero.org/styles/arkivoc</id>
<link href="http://www.zotero.org/styles/arkivoc" rel="self"/>
<link href="http://www.zotero.org/styles/synthesis" rel="template"/>
<link href="https://www.arkat-usa.org/arkivoc-journal/instructions-papers/#2.2.16" rel="documentation"/>
<author>
<name>Rodolpho C. Braga</name>
<email>[email protected]</email>
</author>
<contributor>
<name>Kuldeep Singh</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Patrick O'Brien</name>
</contributor>
<category citation-format="numeric"/>
<category field="chemistry"/>
<issn>1551-7012</issn>
<updated>2022-07-10T01:33:03+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">
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="capitalize-first"/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name delimiter="; " delimiter-precedes-last="always" initialize-with=". " name-as-sort-order="all"/>
<label form="short" prefix=", " text-case="capitalize-first"/>
</names>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="volume">
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first"/>
<text variable="volume"/>
</group>
</macro>
<macro name="series">
<text variable="collection-title"/>
</macro>
<macro name="pages">
<text variable="page-first"/>
</macro>
<macro name="book-container">
<group delimiter=" ">
<text term="in" text-case="capitalize-first"/>
<text variable="container-title" font-style="italic"/>
</group>
</macro>
<macro name="issued">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
</date>
</macro>
<macro name="full-issued">
<date variable="issued" delimiter=" ">
<date-part name="month" form="long" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography second-field-align="flush" entry-spacing="0">
<layout suffix=".">
<text variable="citation-number" suffix="."/>
<text macro="author" suffix=" "/>
<choose>
<if type="article-magazine">
<group delimiter=" ">
<text variable="container-title" font-style="italic" suffix="."/>
<text macro="edition"/>
<text macro="publisher"/>
<text macro="full-issued" suffix=","/>
<text macro="pages"/>
</group>
</if>
<else-if type="thesis">
<group delimiter=", ">
<group delimiter=". ">
<text variable="title"/>
<text variable="genre"/>
</group>
<text macro="publisher"/>
<text macro="issued"/>
<text macro="volume"/>
<text macro="pages"/>
</group>
</else-if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter="; ">
<text variable="title" font-style="italic"/>
<text macro="editor" prefix=" "/>
<text macro="series"/>
<text macro="edition"/>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="issued" font-weight="bold"/>
</group>
<group delimiter=", ">
<text macro="volume"/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<group delimiter="; ">
<text macro="book-container"/>
<text macro="editor"/>
<text macro="series"/>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="issued" font-weight="bold"/>
</group>
<group delimiter=", ">
<text macro="volume"/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="webpage post-weblog" match="any">
<group delimiter=" ">
<text variable="title"/>
<text variable="URL"/>
<group delimiter=" " prefix="(" suffix=")">
<text term="accessed"/>
<date variable="accessed">
<date-part name="month" form="short" strip-periods="true" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</group>
</else-if>
<else-if type="patent">
<group delimiter=", ">
<group delimiter=" ">
<text variable="authority" form="short" font-style="italic"/>
<text variable="number"/>
</group>
<text macro="issued" font-weight="bold"/>
</group>
</else-if>
<else>
<group delimiter=" ">
<text variable="container-title" form="short"/>
<group delimiter=", ">
<text macro="issued" font-weight="bold"/>
<text variable="volume" font-style="italic"/>
<text macro="pages"/>
</group>
</group>
</else>
</choose>
<text variable="DOI" prefix=". DOI:"/>
</layout>
</bibliography>
</style>
10 changes: 1 addition & 9 deletions buildres/csl/csl-styles/bibliothek-forschung-und-praxis.csl
Original file line number Diff line number Diff line change
Expand Up @@ -146,19 +146,11 @@
<text macro="archive"/>
</else-if>
</choose>
<choose>
<if variable="issued" match="none">
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
<choose>
<if type="legal_case" match="none">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="DOI:"/>
<text variable="DOI" prefix="DOI: https://doi.org/"/>
</if>
<else-if match="all" variable="URL">
<text term="available at" text-case="sentence" suffix=" "/>
Expand Down
4 changes: 2 additions & 2 deletions buildres/csl/csl-styles/bio-protocol.csl
Original file line number Diff line number Diff line change
Expand Up @@ -1125,11 +1125,11 @@
<macro name="container-periodical">
<group delimiter=". ">
<group delimiter=", ">
<text variable="container-title" font-style="italic" text-case="title"/>
<text variable="container-title" font-style="italic" form="short"/>
<choose>
<if variable="volume">
<group>
<text variable="volume" font-style="italic"/>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
</if>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</author>
<category citation-format="note"/>
<category field="law"/>
<updated>2022-04-05T19:59:30+00:00</updated>
<updated>2023-03-11T23:01:32+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>
<locale xml:lang="fr">
Expand Down Expand Up @@ -316,18 +316,16 @@
</else-if>
</choose>
</macro>
<citation>
<citation near-note-distance="1">
<layout delimiter="&#160;; ">
<choose>
<if position="ibid-with-locator subsequent">
<if position="ibid near-note" match="all">
<group delimiter=", ">
<text term="ibid" text-case="capitalize-first" font-style="italic" suffix="."/>
<text macro="author"/>
<text term="ibid" font-style="italic" suffix="."/>
<text variable="locator" prefix="p.&#160;"/>
</group>
</if>
<else-if position="ibid">
<text term="ibid" text-case="capitalize-first" font-style="italic"/>
</else-if>
<else-if position="subsequent">
<group delimiter=", ">
<text macro="author"/>
Expand All @@ -353,7 +351,14 @@
<else-if type="article-journal" match="any">
<text term="cited" font-style="italic" suffix="."/>
<text variable="container-title" form="short" font-style="italic"/>
<date date-parts="year-month" form="text" variable="issued"/>
<choose>
<if match="any" variable="volume">
<text variable="volume"/>
</if>
<else>
<date date-parts="year-month" form="text" variable="issued"/>
</else>
</choose>
</else-if>
<else-if type="entry-encyclopedia" match="any">
<text variable="title" quotes="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<id>http://www.zotero.org/styles/knee-surgery-sports-traumatology-arthroscopy</id>
<link href="http://www.zotero.org/styles/knee-surgery-sports-traumatology-arthroscopy" rel="self"/>
<link href="http://www.zotero.org/styles/springer-basic-brackets" rel="template"/>
<link href="http://www.kssta.org/index.php?id=42" rel="documentation"/>
<link href="https://www.kssta.org/kssta-reference-style-examples/" rel="documentation"/>
<link href="https://www.kssta.org/authors-homepage/references/" rel="documentation"/>
<author>
<name>Sebastian Kopf</name>
</author>
Expand All @@ -15,7 +16,7 @@
<issn>0942-2056</issn>
<eissn>1433-7347</eissn>
<summary>Official journal of the European Society of Sports Traumatology, Knee Surgery and Arthroscopy (ESSKA).</summary>
<updated>2012-09-27T22:06:38+00:00</updated>
<updated>2023-03-06T09:58:42+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">
Expand Down Expand Up @@ -64,23 +65,39 @@
</names>
</macro>
<macro name="publisher">
<group delimiter=", " prefix=" ">
<text variable="genre"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
<choose>
<if type="book chapter paper-conference thesis" match="any">
<group delimiter=", " prefix=" ">
<text variable="genre"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal">
<group prefix=" " delimiter=":">
<text variable="volume"/>
<text variable="page"/>
</group>
<choose>
<if match="all" variable="page volume">
<group prefix=" " delimiter=":">
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
</if>
<else>
<text variable="DOI" prefix="DOI: "/>
</else>
</choose>
</if>
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<label variable="page" form="short" prefix=", " suffix=" " strip-periods="true"/>
<text variable="page"/>
<group delimiter=" " prefix=", ">
<label strip-periods="true" variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
</choose>
</macro>
Expand Down
Loading