Skip to content

Commit

Permalink
Squashed 'src/main/resources/csl-styles/' changes from 827b986..d23a3ab
Browse files Browse the repository at this point in the history
d23a3ab Bug fix in APA 6 original publication macro (#4959)
66f9974 Always print publisher in APA 6th edition (#4899)
868809c Create agora.csl (#4940)
99c19c3 Update anthropologie-et-societes.csl (#4952)
ee17423 Create critical-reviews-in-solid-state-and-materials-science.csl (#4951)
7a13a7d Create korean-journal-of-internal-medicine.csl (#4953)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: d23a3ab
  • Loading branch information
github actions committed Aug 9, 2020
1 parent f3c992e commit c27a6bb
Show file tree
Hide file tree
Showing 8 changed files with 908 additions and 213 deletions.
266 changes: 266 additions & 0 deletions agora.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" page-range-format="expanded" demote-non-dropping-particle="sort-only">
<!-- Polyglot; journal publishes in Scandinavian languages -->
<info>
<title>Agora</title>
<id>http://www.zotero.org/styles/agora</id>
<link href="http://www.zotero.org/styles/agora" rel="self"/>
<link href="http://www.zotero.org/styles/annales" rel="template"/>
<link href="https://www.idunn.no/agora?languageId=2#/authors" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="note"/>
<category field="philosophy"/>
<issn>0800-7136</issn>
<eissn>1500-1571</eissn>
<updated>2020-07-24T09:14:05+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>
<terms>
<term name="open-quote">«</term>
<term name="close-quote">»</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name form="long" and="text" delimiter-precedes-last="never"/>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="long" and="text" initialize-with=". " delimiter-precedes-last="never">
<name-part name="family"/>
</name>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name form="long" and="text" delimiter-precedes-last="never" sort-separator=" "/>
<label form="short" prefix=" (" suffix=".)"/>
</names>
</macro>
<macro name="translator">
<names variable="translator">
<name form="long" and="text" delimiter-precedes-last="never" sort-separator=" ">
<name-part name="family"/>
</name>
</names>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text variable="title" text-case="capitalize-first" font-style="italic"/>
</if>
<else-if type="article-journal article-newspaper article-magazine" match="any">
<group delimiter=", ">
<text variable="title" text-case="capitalize-first" quotes="true"/>
<group delimiter=" ">
<text term="in"/>
<text variable="container-title" font-style="italic"/>
</group>
</group>
</else-if>
<else-if type="thesis" match="any">
<group>
<text variable="title" text-case="capitalize-first" quotes="true"/>
<text variable="genre" suffix=", " prefix=" "/>
<text variable="publisher"/>
</group>
</else-if>
<else-if type="manuscript" match="any">
<group delimiter=",">
<text variable="title" text-case="capitalize-first" quotes="true"/>
<text variable="genre" prefix=" "/>
</group>
</else-if>
<else-if type="chapter entry-dictionary entry-encyclopedia" match="any">
<group>
<text variable="title" text-case="capitalize-first" quotes="true" suffix=","/>
<text term="in" prefix=" " suffix=" "/>
<text macro="editor" suffix=", "/>
<text variable="container-title" text-case="capitalize-first" font-style="italic"/>
</group>
</else-if>
<else-if type="webpage" match="any">
<group>
<text variable="title" text-case="capitalize-first" font-style="italic" suffix=", "/>
<text variable="URL" text-decoration="underline"/>
</group>
</else-if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="yearpage">
<choose>
<if type="bill book graphic legal_case motion_picture paper-conference manuscript report song thesis" match="any">
<group delimiter=", ">
<date variable="issued">
<date-part name="year"/>
</date>
<group delimiter=" ">
<text term="volume" form="short"/>
<text variable="volume"/>
</group>
</group>
</if>
<else-if type="chapter entry-dictionary entry-encyclopedia" match="any">
<group delimiter=", ">
<date variable="issued">
<date-part name="year"/>
</date>
<group>
<text term="volume" form="short" suffix="."/>
<text variable="number-of-volumes" prefix=". " suffix="/"/>
<text variable="volume" suffix=","/>
</group>
<text variable="page"/>
</group>
</else-if>
<else-if type="article-journal" match="any">
<text variable="page"/>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<group delimiter=" ">
<date variable="issued" form="numeric">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
<group delimiter=" ">
<choose>
<if variable="locator" match="any">
<group delimiter="&#8239;">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</if>
<else-if variable="locator" match="none">
<label variable="page" form="short"/>
</else-if>
</choose>
</group>
</group>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<group delimiter=" ">
<date variable="accessed" form="text">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</group>
</else-if>
</choose>
</macro>
<macro name="edition">
<choose>
<if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" text-case="capitalize-first" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine" match="any">
<group delimiter=":">
<text variable="volume"/>
<text variable="issue"/>
</group>
</if>
</choose>
</macro>
<macro name="citation-locator">
<text variable="locator"/>
</macro>
<citation>
<layout suffix="." delimiter=" ; ">
<choose>
<if position="ibid-with-locator">
<group delimiter=", ">
<text term="ibid" text-case="capitalize-first" font-style="italic" suffix="."/>
<group delimiter="&#8239;">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</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-short"/>
<choose>
<if type="bill book graphic legal_case motion_picture report song thesis" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" text-case="capitalize-first" form="short" quotes="true"/>
</else>
</choose>
<choose>
<if type="article-journal article-magazine article-newspaper chapter paper-conference" match="any">
<text value="art. cit"/>
</if>
<else>
<text value="op. cit" font-style="italic"/>
</else>
</choose>
<group delimiter="&#8239;">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</else-if>
<else>
<group delimiter=", ">
<text macro="author"/>
<group delimiter=" ">
<text macro="title"/>
<text macro="locators"/>
</group>
<text macro="translator"/>
<text macro="edition"/>
<group delimiter=" ">
<text macro="publisher"/>
<text macro="yearpage"/>
</group>
<text macro="citation-locator"/>
</group>
</else>
</choose>
</layout>
</citation>
</style>
26 changes: 13 additions & 13 deletions anthropologie-et-societes.csl
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
<link href="http://www.anthropologie-societes.ant.ulaval.ca/regles-de-publication/normes-editoriales" rel="documentation"/>
<author>
<name>Patrick O'Brien, PhD</name>
<email>[email protected]</email>
</author>
<category citation-format="author-date"/>
<category field="biology"/>
<issn>0702-8997</issn>
<eissn>1703-7921</eissn>
<updated>2018-09-05T13:51:00+00:00</updated>
<updated>2020-07-31T08:06:37+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 @@ -115,14 +114,15 @@
<macro name="year-date">
<choose>
<if variable="issued">
<group>
<group delimiter=" ">
<date variable="issued">
<date-part name="year"/>
</date>
<date date-parts="year" form="text" variable="original-date" prefix="[" suffix="]"/>
</group>
</if>
<else>
<text term="no date" form="short" suffix=")"/>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
Expand Down Expand Up @@ -167,24 +167,24 @@
</group>
</layout>
</citation>
<bibliography et-al-min="99" et-al-use-first="98" hanging-indent="true" subsequent-author-substitute="&#8212;&#8212;&#8212;">
<bibliography hanging-indent="true" subsequent-author-substitute="&#8212;&#8212;&#8212;">
<sort>
<key macro="author"/>
<key macro="year-date"/>
<key variable="title"/>
</sort>
<layout suffix=".">
<text macro="author" text-case="uppercase" strip-periods="false" font-variant="normal" suffix=", "/>
<date variable="issued" suffix=",">
<date-part name="year"/>
</date>
<text macro="author" text-case="uppercase" strip-periods="false" suffix=", "/>
<text macro="year-date"/>
<choose>
<if type="book" match="any">
<text macro="legal_case"/>
<group delimiter=", " prefix=" ">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
<group delimiter=". ">
<group delimiter=", " prefix=" ">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
</group>
<text macro="publisher"/>
</group>
</if>
Expand Down
Loading

0 comments on commit c27a6bb

Please sign in to comment.