Skip to content
forked from JabRef/jabref

Commit

Permalink
Squashed 'src/main/resources/csl-styles/' changes from 268df9e..7365ce8
Browse files Browse the repository at this point in the history
7365ce8 fix editor label for french apa.csl (JabRef#4616)
fa6bb22 Create quaternaire (JabRef#4602)
f2b4af4 Create the-journal-of-trauma-and-acute-care-surgery.csl (JabRef#4631)
0aa837e Update unified-style-sheet-for-linguistics.csl for "in" in chapters (JabRef#4632)
db8bd33 Create journal-of-breast-cancer.csl (JabRef#4630)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: 7365ce8
  • Loading branch information
github actions committed Mar 23, 2020
1 parent 4f8a1a8 commit 5986c97
Show file tree
Hide file tree
Showing 14 changed files with 916 additions and 5 deletions.
8 changes: 8 additions & 0 deletions apa-5th-edition.csl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
<updated>2012-09-27T22:06:38+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">
<terms>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
Expand Down
8 changes: 8 additions & 0 deletions apa-6th-edition.csl
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@
<term name="et-al">et al.</term>
</terms>
</locale>
<locale xml:lang="fr">
<terms>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<macro name="container-contributors-booklike">
<choose>
<if variable="container-title">
Expand Down
4 changes: 4 additions & 0 deletions apa-annotated-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
<terms>
<term name="letter">communication personnelle</term>
<term name="letter" form="short">lettre</term>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<locale xml:lang="nb">
Expand Down
4 changes: 4 additions & 0 deletions apa-cv.csl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
<terms>
<term name="letter">communication personnelle</term>
<term name="letter" form="short">lettre</term>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<locale xml:lang="nb">
Expand Down
4 changes: 4 additions & 0 deletions apa-no-ampersand.csl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
<terms>
<term name="letter">communication personnelle</term>
<term name="letter" form="short">lettre</term>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<locale xml:lang="nb">
Expand Down
8 changes: 8 additions & 0 deletions apa-no-doi-no-issue.csl
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@
<term name="et-al">et al.</term>
</terms>
</locale>
<locale xml:lang="fr">
<terms>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<macro name="container-contributors-booklike">
<choose>
<if variable="container-title">
Expand Down
8 changes: 8 additions & 0 deletions apa-old-doi-prefix.csl
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@
<term name="et-al">et al.</term>
</terms>
</locale>
<locale xml:lang="fr">
<terms>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<macro name="container-contributors-booklike">
<choose>
<if variable="container-title">
Expand Down
4 changes: 4 additions & 0 deletions apa-single-spaced.csl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
<terms>
<term name="letter">communication personnelle</term>
<term name="letter" form="short">lettre</term>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<locale xml:lang="nb">
Expand Down
4 changes: 4 additions & 0 deletions apa-with-abstract.csl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
<terms>
<term name="letter">communication personnelle</term>
<term name="letter" form="short">lettre</term>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<locale xml:lang="nb">
Expand Down
4 changes: 4 additions & 0 deletions apa.csl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
<terms>
<term name="letter">communication personnelle</term>
<term name="letter" form="short">lettre</term>
<term name="editor" form="short">
<single>éd.</single>
<multiple>éds.</multiple>
</term>
</terms>
</locale>
<locale xml:lang="nb">
Expand Down
251 changes: 251 additions & 0 deletions journal-of-breast-cancer.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
<?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" default-locale="en-US">
<info>
<title>Journal of Breast Cancer</title>
<title-short>JBC</title-short>
<id>http://www.zotero.org/styles/journal-of-breast-cancer</id>
<link href="http://www.zotero.org/styles/journal-of-breast-cancer" rel="self"/>
<link href="http://www.zotero.org/styles/interactive-cardiovascular-and-thoracic-surgery" rel="template"/>
<link href="https://ejbc.kr/index.php?body=instruction" rel="documentation"/>
<author>
<name>Patrick O'Brien, PhD</name>
<email>[email protected]</email>
</author>
<category citation-format="numeric"/>
<category field="medicine"/>
<issn>1738-6756</issn>
<eissn>2092-9900</eissn>
<updated>2020-03-15T14:22:45+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="page">
<choose>
<if is-numeric="locator">
<label variable="locator" form="short" suffix=" "/>
<text variable="locator"/>
</if>
<else>
<text variable="locator"/>
</else>
</choose>
</macro>
<macro name="author">
<choose>
<if type="legislation"/>
<else-if type="entry-encyclopedia" variable="author" match="all">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " initialize-with=""/>
</names>
</else-if>
<else-if variable="author editor composer" match="any">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " initialize-with=""/>
<label prefix=", "/>
<substitute>
<names variable="editor"/>
<names variable="composer"/>
</substitute>
</names>
</else-if>
</choose>
</macro>
<macro name="title">
<text variable="title" suffix="."/>
</macro>
<macro name="editor-container">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<group delimiter=". ">
<names variable="editor">
<name name-as-sort-order="all" sort-separator=" " initialize-with=""/>
<label prefix=", "/>
</names>
<text variable="container-title" suffix="."/>
</group>
</group>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal">
<text variable="container-title" form="short" strip-periods="true"/>
</if>
<else-if type="entry-encyclopedia" variable="author">
<text macro="editor-container"/>
</else-if>
<else-if type="chapter">
<text macro="editor-container"/>
</else-if>
<else-if type="patent" match="any">
<text variable="authority" suffix=" "/>
<text variable="number" suffix=","/>
</else-if>
<else>
<text variable="container-title" suffix="."/>
</else>
</choose>
</macro>
<macro name="edition">
<group delimiter=" ">
<choose>
<if is-numeric="edition">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</group>
</macro>
<macro name="city">
<text variable="publisher-place"/>
</macro>
<macro name="publisher">
<text variable="publisher"/>
</macro>
<macro name="year">
<choose>
<if type="legislation bill patent" match="any">
<date form="text" variable="issued">
<date-part name="year"/>
<date-part name="month" form="short"/>
<date-part name="day"/>
</date>
</if>
<else-if type="article-newspaper broadcast" match="any">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short"/>
<date-part name="day"/>
</date>
</else-if>
<else-if type="chapter paper-conference" match="any">
<date variable="issued" prefix="; ">
<date-part name="year"/>
</date>
</else-if>
<else-if type="book" match="any">
<date date-parts="year" form="text" variable="issued" prefix="; "/>
</else-if>
<else>
<choose>
<if match="all" variable="volume page">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<date variable="issued" suffix=".">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true" prefix=" "/>
<date-part name="day" prefix=" "/>
</date>
</else>
</choose>
</else>
</choose>
</macro>
<macro name="entry">
<choose>
<if type="entry-encyclopedia">
<choose>
<if variable="author"/>
<else>
<text variable="title"/>
</else>
</choose>
</if>
<else-if type="post-weblog">
<text variable="title" suffix=";"/>
</else-if>
</choose>
</macro>
<macro name="locator">
<choose>
<if type="article-journal article-magazine" match="any">
<group delimiter=":" prefix=";">
<text variable="volume"/>
<text variable="page"/>
</group>
</if>
<else-if type="article-newspaper">
<group delimiter=":">
<text variable="section"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="chapter entry-dictionary entry-encyclopedia" match="any">
<group delimiter=" " prefix=". ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="legislation">
<number variable="volume"/>
<date variable="issued" prefix=" af " delimiter="/">
<date-part name="day" form="numeric-leading-zeros"/>
<date-part name="month" form="numeric-leading-zeros"/>
<date-part name="year"/>
</date>
</else-if>
<else-if type="bill">
<number variable="number"/>
<date variable="issued" prefix=". " delimiter="/">
<date-part name="day" form="numeric-leading-zeros"/>
<date-part name="month" form="numeric-leading-zeros"/>
<date-part name="year"/>
</date>
</else-if>
</choose>
</macro>
<macro name="access">
<choose>
<if type="article-journal" match="any">
<choose>
<if match="none" variable="volume page">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
</choose>
</if>
<else-if type="webpage post-weblog" match="any">
<text variable="URL" text-decoration="none"/>
</else-if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," prefix="[" suffix="]">
<text variable="citation-number"/>
<text macro="page" prefix=", "/>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush" hanging-indent="true">
<layout suffix=".">
<text variable="citation-number" suffix=". "/>
<group delimiter=" ">
<group delimiter=". ">
<text macro="author"/>
<text macro="title"/>
<text macro="container-title"/>
</group>
<text macro="edition"/>
<group>
<group delimiter=": ">
<text macro="city"/>
<text macro="publisher"/>
</group>
<group delimiter=" ">
<group delimiter=". ">
<text macro="year"/>
<text macro="entry"/>
</group>
</group>
<text macro="locator"/>
</group>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>
Loading

0 comments on commit 5986c97

Please sign in to comment.