Skip to content

Commit

Permalink
Squashed 'buildres/csl/csl-styles/' changes from 13fd98e..7a10e3f
Browse files Browse the repository at this point in the history
7a10e3f Bluebook: Remove small-caps for case short & legislation (#6305)
ca4a92b Merge pull request #6244 from POBrien333/patch-1107
12743ad Create social-science-history.csl (#6233)
f7c1d57 Update american-chemical-society.csl (#6231)
aca6b23 ready: Update oil-shale.csl (#6225)
aadae55 Create pallas.csl (#6204)
cc7d016 Merge pull request #6253 from nschneid/patch-1
77fab39 Merge pull request #6282 from POBrien333/patch-1119
e2668eb Merge pull request #6263 from POBrien333/patch-1113
7f3244d move style to dependent folder
8584993 Create development-growth-differentiation.csl (#6226)
dfe71ff Create biotechnology-and-bioprocess-engineering.csl (#6227)
0d91742 Create sn-computer-science.csl (#6228)
a0d09b4 Create mots.csl (#6205)
47665e5 Update review-of-international-studies.csl
d573b8b Create computer-supported-cooperative-work.csl
cebec0e ACL: check if edition is ordinal before printing the word "edition"
03a0a39 Re-indent CSL styles
3c64906 fix self link
479c061 fix small issues after visual inspection
a356e72 Create gnosis-journal-of-gnostic-studies.csl

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 7a10e3f
  • Loading branch information
github actions committed Nov 15, 2022
1 parent 03022cc commit 951c108
Show file tree
Hide file tree
Showing 13 changed files with 2,591 additions and 296 deletions.
41 changes: 30 additions & 11 deletions american-chemical-society.csl
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Patrick O'Brien</name>
</contributor>
<category citation-format="numeric"/>
<category field="chemistry"/>
<summary>The American Chemical Society style</summary>
<updated>2021-05-22T12:00:00+00:00</updated>
<updated>2022-09-19T18:32:56+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">
Expand Down Expand Up @@ -138,6 +141,30 @@
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if variable="DOI" match="any">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else-if type="article-journal book chapter entry-encyclopedia entry-dictionary paper-conference" match="none">
<choose>
<if variable="URL">
<group delimiter=" ">
<text variable="URL"/>
<group delimiter=" " prefix="(" suffix=")">
<text term="accessed"/>
<date variable="accessed">
<date-part name="year"/>
<date-part name="month" prefix="-" form="numeric-leading-zeros"/>
<date-part name="day" prefix="-" form="numeric-leading-zeros"/>
</date>
</group>
</group>
</if>
</choose>
</else-if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
Expand Down Expand Up @@ -249,18 +276,10 @@
</group>
</group>
</else-if>
<else-if type="webpage">
<else-if type="webpage post post-weblog" match="any">
<group delimiter=". ">
<text variable="title" font-style="italic"/>
<text variable="container-title"/>
<group delimiter=" ">
<text variable="URL"/>
<date variable="accessed" prefix="(accessed " suffix=")">
<date-part name="year"/>
<date-part name="month" prefix="-" form="numeric-leading-zeros"/>
<date-part name="day" prefix="-" form="numeric-leading-zeros"/>
</date>
</group>
</group>
</else-if>
<else>
Expand All @@ -277,7 +296,7 @@
</group>
</else>
</choose>
<text variable="DOI" prefix=". https://doi.org/"/>
<text macro="access" prefix=". "/>
</layout>
</bibliography>
</style>
13 changes: 11 additions & 2 deletions association-for-computational-linguistics.csl
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,17 @@
</choose>
</macro>
<macro name="edition">
<number variable="edition" form="ordinal"/>
<text term="edition" prefix=" "/>
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<macro name="volume-or-number">
<choose>
Expand Down
237 changes: 237 additions & 0 deletions biotechnology-and-bioprocess-engineering.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" delimiter-precedes-last="always" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Biotechnology and Bioprocess Engineering</title>
<title-short>BBE</title-short>
<id>http://www.zotero.org/styles/biotechnology-and-bioprocess-engineering</id>
<link href="http://www.zotero.org/styles/biotechnology-and-bioprocess-engineering" rel="self"/>
<link href="http://www.zotero.org/styles/trends-journals" rel="documentation"/>
<link href="https://www.springer.com/journal/12257/submission-guidelines" rel="documentation"/>
<link href="https://media.springer.com/full/springer-instructions-for-authors-assets/pdf/1652521_173753306_12257_Instructions%20to%20Author.pdf" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="numeric"/>
<category field="biology"/>
<category field="medicine"/>
<issn>1226-8372</issn>
<eissn>1976-3816</eissn>
<updated>2022-09-15T13:50: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>
<macro name="edition">
<choose>
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" " prefix="(" suffix=") ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="n" strip-periods="true"/>
</group>
</if>
<else>
<text variable="edition" text-case="capitalize-first" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued">
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
</macro>
<macro name="author">
<names variable="author">
<name and="text" initialize-with="." name-as-sort-order="first"/>
<label form="short" prefix=", "/>
<et-al font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter=", " and="text"/>
<label form="short" strip-periods="false" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="locators">
<group delimiter=", ">
<text macro="edition" prefix="(" suffix=")"/>
<group delimiter=" ">
<number variable="volume" form="numeric"/>
</group>
<group delimiter=" ">
<number variable="number-of-volumes" form="numeric"/>
<text term="volume" form="short" plural="true"/>
</group>
</group>
</macro>
<macro name="title">
<text variable="title"/>
</macro>
<macro name="publisher">
<choose>
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</if>
<else>
<text variable="publisher"/>
</else>
</choose>
</macro>
<macro name="event">
<choose>
<if type="paper-conference">
<choose>
<if variable="container-title">
<group delimiter=", ">
<text variable="container-title" prefix="in " font-style="italic"/>
<text variable="event-place"/>
</group>
</if>
<else>
<group delimiter=", ">
<text variable="event" prefix="presented at the "/>
<text variable="event-place"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="access">
<choose>
<if type="webpage">
<group delimiter=". ">
<text value="[Online]"/>
<text variable="URL" prefix="Available: "/>
<group prefix="[" suffix="]">
<date variable="accessed" prefix="Accessed: ">
<date-part name="day" form="numeric-leading-zeros" suffix="-"/>
<date-part name="month" form="short" suffix="-" strip-periods="true"/>
<date-part name="year" form="long"/>
</date>
</group>
</group>
</if>
</choose>
</macro>
<macro name="page">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter=" ">
<label variable="page" form="short" plural="always"/>
<text variable="page"/>
</group>
</if>
<else>
<text variable="page"/>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography entry-spacing="0" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" suffix="."/>
<group delimiter=" ">
<text macro="author"/>
<text macro="issued"/>
<text macro="title"/>
</group>
<choose>
<if type="article-journal">
<group delimiter=" " prefix=". ">
<text variable="container-title" form="short" font-style="italic"/>
<choose>
<if variable="volume">
<group delimiter=": ">
<text macro="locators"/>
<text macro="page"/>
</group>
</if>
<else-if variable="DOI">
<text variable="DOI" prefix="DOI: "/>
</else-if>
<else-if variable="URL">
<text term="at"/>
<text variable="URL" prefix=" &lt;" suffix="&gt;"/>
</else-if>
</choose>
</group>
</if>
<else-if type="paper-conference">
<group delimiter=", " prefix=". ">
<text macro="event"/>
<text macro="locators"/>
<text macro="page"/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=". " prefix=". ">
<text variable="genre"/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<text variable="container-title" font-style="italic" prefix=". " suffix=". "/>
<text macro="access"/>
</else-if>
<else-if type="patent">
<group delimiter=" " prefix=". ">
<text variable="authority"/>
<text variable="number"/>
</group>
</else-if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=", " prefix=". ">
<text macro="locators"/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
<group delimiter=", ">
<text variable="container-title" font-style="italic"/>
<text macro="locators"/>
<text macro="publisher"/>
<text macro="page"/>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=". " prefix=". ">
<text macro="page"/>
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<text macro="editor"/>
</group>
<text variable="container-title" font-style="italic"/>
<text macro="locators"/>
<text macro="publisher"/>
</group>
</else-if>
<else>
<group delimiter=", ">
<text variable="container-title" font-style="italic"/>
<text macro="locators"/>
</group>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="page"/>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
21 changes: 17 additions & 4 deletions bluebook-law-review.csl
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,22 @@
</macro>
<macro name="author-short">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="name-short-macro" font-variant="small-caps"/>
<if type="legal_case">
<choose>
<if variable="title-short">
<text macro="name-short-macro" font-style="italic"/>
</if>
<else>
<text macro="name-short-macro"/>
</else>
</choose>
</if>
<else-if type="bill legislation" match="any">
<text macro="name-macro"/>
</else-if>
<else-if type="book graphic motion_picture report song" match="any">
<text macro="name-short-macro" font-variant="small-caps"/>
</else-if>
<else>
<text macro="name-short-macro"/>
</else>
Expand All @@ -59,10 +72,10 @@
</macro>
<macro name="author">
<choose>
<if type="legal_case">
<if type="bill legal_case legislation" match="any">
<text macro="name-macro"/>
</if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<else-if type="book graphic motion_picture report song" match="any">
<text macro="name-macro" font-variant="small-caps"/>
</else-if>
<else>
Expand Down

0 comments on commit 951c108

Please sign in to comment.