Skip to content

Commit

Permalink
Merge pull request #8574 from JabRef/refresh-csl
Browse files Browse the repository at this point in the history
[Bot] Update CSL styles
  • Loading branch information
Siedlerchr authored Mar 15, 2022
2 parents 3e359ba + bf72e50 commit 6406619
Show file tree
Hide file tree
Showing 13 changed files with 1,759 additions and 251 deletions.
18 changes: 9 additions & 9 deletions buildres/csl/csl-locales/locales-en-GB.xml
Original file line number Diff line number Diff line change
Expand Up @@ -309,39 +309,39 @@
</term>

<!-- SHORT LOCATOR FORMS -->
<term name="appendix">
<term name="appendix" form="short">
<single>app.</single>
<multiple>apps.</multiple>
</term>
<term name="article-locator">
<term name="article-locator" form="short">
<single>art.</single>
<multiple>arts.</multiple>
</term>
<term name="elocation">
<term name="elocation" form="short">
<single>loc.</single>
<multiple>locs.</multiple>
</term>
<term name="equation">
<term name="equation" form="short">
<single>eq.</single>
<multiple>eqs.</multiple>
</term>
<term name="rule">
<term name="rule" form="short">
<single>r.</single>
<multiple>rr.</multiple>
</term>
<term name="scene">
<term name="scene" form="short">
<single>sc.</single>
<multiple>scs.</multiple>
</term>
<term name="table">
<term name="table" form="short">
<single>tbl.</single>
<multiple>tbls.</multiple>
</term>
<term name="timestamp"> <!-- generally blank -->
<term name="timestamp" form="short"> <!-- generally blank -->
<single></single>
<multiple></multiple>
</term>
<term name="title-locator">
<term name="title-locator" form="short">
<single>tit.</single>
<multiple>tits.</multiple>
</term>
Expand Down
18 changes: 9 additions & 9 deletions buildres/csl/csl-locales/locales-en-US.xml
Original file line number Diff line number Diff line change
Expand Up @@ -315,39 +315,39 @@
</term>

<!-- SHORT LOCATOR FORMS -->
<term name="appendix">
<term name="appendix" form="short">
<single>app.</single>
<multiple>apps.</multiple>
</term>
<term name="article-locator">
<term name="article-locator" form="short">
<single>art.</single>
<multiple>arts.</multiple>
</term>
<term name="elocation">
<term name="elocation" form="short">
<single>loc.</single>
<multiple>locs.</multiple>
</term>
<term name="equation">
<term name="equation" form="short">
<single>eq.</single>
<multiple>eqs.</multiple>
</term>
<term name="rule">
<term name="rule" form="short">
<single>r.</single>
<multiple>rr.</multiple>
</term>
<term name="scene">
<term name="scene" form="short">
<single>sc.</single>
<multiple>scs.</multiple>
</term>
<term name="table">
<term name="table" form="short">
<single>tbl.</single>
<multiple>tbls.</multiple>
</term>
<term name="timestamp"> <!-- generally blank -->
<term name="timestamp" form="short"> <!-- generally blank -->
<single></single>
<multiple></multiple>
</term>
<term name="title-locator">
<term name="title-locator" form="short">
<single>tit.</single>
<multiple>tits.</multiple>
</term>
Expand Down
8 changes: 4 additions & 4 deletions buildres/csl/csl-styles/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ GEM
ruby-progressbar (~> 1.4)
git_diff (0.4.3)
hashdiff (0.3.7)
mini_portile2 (2.6.1)
mini_portile2 (2.8.0)
multipart-post (2.1.1)
namae (1.1.1)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
nokogiri (1.13.2)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
nokogiri (1.12.5-x64-mingw32)
nokogiri (1.13.2-x64-mingw32)
racc (~> 1.4)
octokit (4.21.0)
faraday (>= 0.9)
Expand Down
273 changes: 273 additions & 0 deletions buildres/csl/csl-styles/advanced-pharmaceutical-bulletin.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,273 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" page-range-format="minimal" initialize-with-hyphen="false" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Advanced Pharmaceutical Bulletin</title>
<title-short>APB</title-short>
<id>http://www.zotero.org/styles/advanced-pharmaceutical-bulletin</id>
<link href="http://www.zotero.org/styles/advanced-pharmaceutical-bulletin" rel="self"/>
<link href="http://www.zotero.org/styles/american-medical-association" rel="template"/>
<link href="https://apb.tbzmed.ac.ir/InstructionsforAuthors" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="numeric"/>
<category field="medicine"/>
<issn>2228-5881</issn>
<eissn>2251-7308</eissn>
<updated>2022-03-01T09:18:02+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>
<term name="presented at">presented at</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<label prefix=", "/>
</names>
</macro>
<macro name="author">
<group suffix=".">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<label prefix=", "/>
<substitute>
<names variable="editor"/>
<text macro="title"/>
</substitute>
</names>
</group>
</macro>
<macro name="access">
<choose>
<if type="article-newspaper" match="none">
<choose>
<if variable="DOI">
<text value="doi: "/>
<text variable="DOI"/>
</if>
<else-if variable="URL">
<group delimiter=". ">
<choose>
<if type="webpage post post-weblog" match="any">
<date variable="issued" prefix="Published " form="text"/>
</if>
</choose>
<group>
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
<text variable="URL"/>
</group>
</else-if>
</choose>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic" text-case="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</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"/>
<group prefix="(" suffix=")">
<label variable="locator" form="short" strip-periods="true"/>
<text variable="locator"/>
</group>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
<layout>
<text variable="citation-number" suffix=". "/>
<text macro="author"/>
<text macro="title" prefix=" " suffix="."/>
<choose>
<if type="bill book graphic legislation motion_picture report song" match="any">
<group suffix="." prefix=" " delimiter=" ">
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>
<text variable="volume" suffix="."/>
</group>
<text macro="edition"/>
<text macro="editor" prefix="(" suffix=")"/>
</group>
<text macro="publisher" prefix=" "/>
<group suffix="." prefix="; ">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="page" prefix=":"/>
</group>
</if>
<else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
<group prefix=" " delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text macro="editor"/>
<text variable="container-title" font-style="italic" suffix="." text-case="title"/>
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>
<text variable="volume" suffix="."/>
</group>
<text macro="edition"/>
<text variable="collection-title" suffix="."/>
<group delimiter="; " suffix=".">
<text macro="publisher"/>
<group delimiter=". " suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
<group delimiter=" ">
<label plural="never" text-case="capitalize-first" variable="page" form="short"/>
<text variable="page"/>
</group>
</group>
</group>
</group>
</else-if>
<else-if type="article-newspaper">
<text variable="container-title" font-style="italic" prefix=" " suffix=". "/>
<choose>
<if variable="URL">
<group delimiter=". " suffix=".">
<text variable="URL"/>
<group prefix="Published ">
<date variable="issued">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
<group>
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</group>
</if>
<else>
<group delimiter=":" suffix=".">
<group>
<date variable="issued">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
<text variable="page"/>
</group>
</else>
</choose>
</else-if>
<else-if type="legal_case">
<group suffix="," prefix=" " delimiter=" ">
<text macro="editor" prefix="(" suffix=")"/>
</group>
<group prefix=" " delimiter=" ">
<text variable="container-title"/>
<text variable="volume"/>
</group>
<text variable="page" prefix=", " suffix=" "/>
<group prefix="(" suffix=")." delimiter=" ">
<text variable="authority"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<text variable="container-title" prefix=" " suffix="."/>
</else-if>
<else-if type="speech">
<group prefix=" " suffix=":">
<choose>
<if variable="genre">
<text variable="genre" suffix=" "/>
<text term="presented at"/>
</if>
<else>
<text term="presented at" text-case="capitalize-first"/>
</else>
</choose>
</group>
<group delimiter="; " prefix=" " suffix=".">
<text variable="event"/>
<group>
<date delimiter=" " variable="issued">
<date-part name="month"/>
<date-part name="day" suffix=","/>
<date-part name="year"/>
</date>
</group>
<text variable="event-place"/>
</group>
</else-if>
<else>
<text macro="editor" prefix=" " suffix="."/>
<group prefix=" " suffix=".">
<text variable="container-title" form="short" strip-periods="true" font-style="italic"/>
<group delimiter=";" prefix=" ">
<choose>
<if variable="issue volume" match="any">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<group delimiter=" ">
<text value="Published online"/>
<date form="text" date-parts="year-month-day" variable="issued"/>
</group>
</else>
</choose>
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
</group>
<text variable="page" prefix=":"/>
</group>
</else>
</choose>
<text prefix=" " macro="access"/>
</layout>
</bibliography>
</style>
Loading

0 comments on commit 6406619

Please sign in to comment.