Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bot] Update CSL styles #7985

Merged
merged 4 commits into from
Aug 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildres/csl/csl-locales/locales-th-TH.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
<term name="month-07">กรกฎาคม</term>
<term name="month-08">สิงหาคม</term>
<term name="month-09">กันยายน</term>
<term name="month-10">ตุลาคาม</term>
<term name="month-10">ตุลาคม</term>
<term name="month-11">พฤศจิกายน</term>
<term name="month-12">ธันวาคม</term>

Expand Down
224 changes: 224 additions & 0 deletions buildres/csl/csl-styles/american-journal-of-sociology.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" page-range-format="chicago" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>American Journal of Sociology</title>
<title-short>AJS</title-short>
<id>http://www.zotero.org/styles/american-journal-of-sociology</id>
<link href="http://www.zotero.org/styles/american-journal-of-sociology" rel="self"/>
<link href="http://www.zotero.org/styles/conservation-and-society" rel="template"/>
<link href="https://www.journals.uchicago.edu/journals/ajs/instruct" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="author-date"/>
<category field="sociology"/>
<issn>0002-9602</issn>
<eissn>1537-5390</eissn>
<updated>2021-08-10T10:27:52+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="accessed">accessed on</term>
</terms>
</locale>
<macro name="secondary-contributors">
<choose>
<if type="chapter paper-conference" match="none">
<names variable="editor translator" delimiter=", ">
<label/>
<name prefix=". " and="text" initialize-with=". "/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name and="text" delimiter-precedes-last="always" name-as-sort-order="first"/>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="book report" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if type="webpage post post-weblog" match="any">
<group delimiter=". ">
<text variable="URL"/>
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date form="text" variable="accessed"/>
</group>
</group>
</if>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<choose>
<if type="article-journal article-magazine" match="none">
<group delimiter=". ">
<text variable="genre"/>
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</group>
</if>
</choose>
</group>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<group prefix=" " suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
<choose>
<if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
<date variable="issued">
<date-part prefix=", " name="month"/>
<date-part prefix=" " name="day"/>
</date>
</if>
</choose>
</group>
</if>
<else>
<text prefix=" (" term="no date" suffix=")." form="short"/>
</else>
</choose>
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<number variable="edition" form="long-ordinal" text-case="capitalize-first"/>
<text term="edition" form="long" prefix=" " suffix="."/>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group delimiter=" " prefix=". ">
<text variable="container-title" font-style="italic"/>
<group delimiter=": ">
<group>
<text variable="volume" prefix=" "/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
</group>
</if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=". " prefix=". ">
<text macro="secondary-contributors"/>
<text macro="edition"/>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=". " prefix=". ">
<group delimiter=" ">
<group delimiter=": ">
<text term="in" text-case="capitalize-first" font-style="normal"/>
<text variable="container-title" font-style="italic"/>
</group>
<text macro="editors" prefix="(" suffix=")"/>
</group>
<text macro="edition"/>
<group delimiter=" ">
<label text-case="capitalize-first" variable="page" form="short"/>
<text variable="page"/>
</group>
</group>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<text variable="container-title"/>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<group>
<label variable="locator" form="short"/>
<text variable="locator" prefix=" "/>
</group>
</macro>
<macro name="editors">
<names variable="editor translator" delimiter=", ">
<label form="short"/>
<name prefix=" " and="text" name-as-sort-order="first"/>
</names>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
<sort>
<key variable="issued"/>
<key macro="author"/>
</sort>
<layout delimiter="; " prefix="(" suffix=")">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="issued-year"/>
</group>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography et-al-min="4" et-al-use-first="1" subsequent-author-substitute="&#8212;&#8212;&#8212;" entry-spacing="0" hanging-indent="true">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout suffix=".">
<text macro="author" suffix="."/>
<text macro="issued" suffix=" "/>
<text macro="title"/>
<text macro="locators"/>
<group delimiter=". " prefix=". ">
<text macro="edition"/>
<text macro="publisher"/>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>
Loading