Skip to content

Commit

Permalink
Merge commit '19a7765bfad7eced064eb2742f5f0c0b1a7cf06b'
Browse files Browse the repository at this point in the history
  • Loading branch information
github actions committed Sep 1, 2023
2 parents c303db5 + 19a7765 commit a93b9af
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 70 deletions.
8 changes: 4 additions & 4 deletions buildres/csl/csl-styles/berghahn-books-author-date-en-gb.csl
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<link href="http://www.zotero.org/styles/berghahn-books-author-date-en-gb" rel="self"/>
<link href="http://www.zotero.org/styles/development-and-change" rel="template"/>
<link href="https://www.berghahnbooks.com/authors/" rel="documentation"/>
<link href="https://www.berghahnbooks.com/uploads/authors/doc_style_UK.pdf" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
<email>obrienpat86@gmail.com</email>
</author>
<category citation-format="author-date"/>
<category field="humanities"/>
<category field="social_science"/>
<updated>2019-06-25T08:15:30+00:00</updated>
<updated>2023-08-13T15:57:25+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="en-GB">
Expand All @@ -33,7 +33,7 @@
<if type="chapter paper-conference" match="any">
<text term="in" suffix=" "/>
<names variable="editor" delimiter=", ">
<name and="text" et-al-min="3" et-al-use-first="1" initialize-with="."/>
<name and="text" et-al-min="3" et-al-use-first="1"/>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="translator"/>
Expand All @@ -57,7 +57,7 @@
</macro>
<macro name="author">
<names variable="author" font-variant="normal">
<name and="text" delimiter-precedes-last="always" et-al-min="3" et-al-use-first="1" initialize-with="." name-as-sort-order="first"/>
<name and="text" delimiter-precedes-last="always" et-al-min="3" et-al-use-first="1" name-as-sort-order="first"/>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
Expand Down
141 changes: 78 additions & 63 deletions buildres/csl/csl-styles/lethaia.csl
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,25 @@
<email>martin.smith@durham.ac.uk</email>
<uri>https://smithlabdurham.github.io/</uri>
</author>
<contributor>
<name>Patrick O'Brien</name>
</contributor>
<category citation-format="author-date"/>
<category field="biology"/>
<issn>0024-1164</issn>
<eissn>1502-3931</eissn>
<updated>2012-09-27T22:06:38+00:00</updated>
<updated>2023-08-28T08:59:04+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" suffix=".">
<name sort-separator=", " initialize-with="." and="text" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="never" form="long"/>
<names variable="author">
<name and="symbol" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all"/>
</names>
</macro>
<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=" (" suffix=".)"/>
<name delimiter-precedes-last="always" initialize-with="." name-as-sort-order="all"/>
<label form="short" text-case="capitalize-first" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="author-short">
Expand Down Expand Up @@ -71,13 +74,23 @@
<text variable="publisher-place"/>
</group>
</macro>
<macro name="access">
<choose>
<if match="any" variable="DOI">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
</choose>
</macro>
<macro name="pages">
<text variable="page"/>
</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" year-suffix-delimiter=", ">
<sort>
<key macro="year-date"/>
<key macro="author-short"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=" ">
<group delimiter=", ">
<group delimiter="">
<group delimiter=" ">
<text macro="author-short"/>
Expand All @@ -98,52 +111,47 @@
<key macro="author-count"/>
<key macro="year-date"/>
</sort>
<layout suffix=".">
<group>
<text macro="author" suffix=" "/>
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else-if type="book chapter webpage" variable="container-title volume page" match="none">
<text term="forthcoming" text-case="capitalize-first"/>
</else-if>
<else-if type="book chapter webpage" variable="volume page" match="none">
<text term="in press" text-case="capitalize-first"/>
</else-if>
</choose>
<text variable="year-suffix"/>
<text value=": "/>
<layout>
<group delimiter=": " suffix=".">
<group delimiter=". ">
<text macro="author"/>
<group>
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else-if type="book chapter webpage" variable="container-title volume page" match="none">
<text term="forthcoming" text-case="capitalize-first"/>
</else-if>
<else-if type="book chapter webpage" variable="volume page" match="none">
<text term="in press" text-case="capitalize-first"/>
</else-if>
</choose>
<text variable="year-suffix"/>
</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=". "/>
<group delimiter=". ">
<text variable="title" text-case="capitalize-first" font-style="italic"/>
<group delimiter=", ">
<text macro="editor"/>
<text variable="collection-title" font-style="italic" text-case="title" suffix=". "/>
<choose>
<if variable="editor collection-title" match="any">
<text value="In" font-style="italic" suffix=" "/>
<if is-numeric="volume">
<group delimiter=" ">
<text value="Vol. "/>
<number variable="volume" suffix="." form="numeric"/>
</group>
</if>
<else>
<text variable="volume" suffix="."/>
</else>
</choose>
<text macro="editor" suffix=" "/>
<group>
<text variable="collection-title" font-style="italic" text-case="title" suffix=". "/>
<choose>
<if is-numeric="volume">
<group delimiter=" ">
<text value="Vol. "/>
<number variable="volume" suffix="." form="numeric"/>
</group>
</if>
<else>
<text variable="volume" suffix="."/>
</else>
</choose>
</group>
</group>
<text prefix=" " suffix=", " macro="publisher"/>
<text variable="page" suffix=" pp"/>
<text macro="publisher" prefix=" "/>
</group>
</if>
<else-if type="thesis" match="any">
Expand All @@ -156,13 +164,22 @@
<text term="page" form="short" prefix="p"/>
</else-if>
<else-if type="chapter" match="any">
<text variable="title" suffix=". "/>
<text variable="issue" suffix=". "/>
<group delimiter=". ">
<group delimiter=", ">
<text variable="title"/>
<text variable="page"/>
</group>
<group delimiter=", ">
<group delimiter=": ">
<text term="in" text-case="capitalize-first" font-style="italic"/>
<text macro="editor"/>
</group>
<text variable="container-title" text-case="title" font-style="italic"/>
</group>
<text macro="publisher"/>
</group>
<group>
<text value="In" font-style="italic" suffix=" "/>
<text macro="editor" suffix=", "/>
<group font-style="italic">
<text variable="container-title" text-case="title" suffix=", "/>
<choose>
<if is-numeric="volume">
<group delimiter=" ">
Expand All @@ -175,13 +192,9 @@
</else>
</choose>
</group>
<group delimiter=" ">
<text variable="page" suffix=". "/>
<text macro="publisher"/>
</group>
</group>
</else-if>
<else-if type="webpage" match="any">
<else-if type="webpage post post-weblog" match="any">
<group>
<text variable="title" font-style="italic" suffix=". "/>
<text variable="container-title" form="long" suffix=". "/>
Expand All @@ -192,20 +205,22 @@
<date-part name="year" suffix="."/>
</date>
</group>
<text prefix=" " macro="publisher"/>
</else-if>
<else>
<text variable="title" suffix=". "/>
<group delimiter=", ">
<group font-style="italic">
<text variable="container-title" form="long" text-case="capitalize-first"/>
<text variable="volume" prefix=" "/>
<group delimiter=". ">
<text variable="title"/>
<group delimiter=", ">
<group font-style="italic" delimiter=" ">
<text variable="container-title" form="long" text-case="capitalize-first"/>
<text variable="volume" prefix=" "/>
</group>
<text macro="pages"/>
</group>
<text variable="page"/>
</group>
</else>
</choose>
</group>
<text macro="access" prefix=". "/>
</layout>
</bibliography>
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
<updated>2023-02-07T12:33:26+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="en">
<terms>
<term name="page-range-delimiter">-</term>
</terms>
</locale>
<macro name="author">
<group suffix=".">
<names variable="author">
Expand Down
17 changes: 14 additions & 3 deletions buildres/csl/csl-styles/sage-harvard.csl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>The SAGE Harvard author-date style</summary>
<updated>2017-05-18T15:23:08+00:00</updated>
<updated>2023-08-31T08:13:20+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="en-GB">
Expand All @@ -21,6 +21,7 @@
<single>ed.</single>
<multiple>eds</multiple>
</term>
<term name="forthcoming">Epub ahead of print</term>
</terms>
</locale>
<macro name="editor">
Expand Down Expand Up @@ -74,8 +75,18 @@
</macro>
<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="DOI: "/>
<if type="article-journal">
<choose>
<if match="none" variable="volume page">
<group delimiter=". ">
<group delimiter=" ">
<text term="forthcoming"/>
<date form="text" date-parts="year-month-day" variable="issued"/>
</group>
<text variable="DOI" prefix="DOI: "/>
</group>
</if>
</choose>
</if>
<else-if variable="URL">
<text value="Available at: "/>
Expand Down

0 comments on commit a93b9af

Please sign in to comment.