Skip to content

Commit

Permalink
Create international-relations.csl (#6391)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Sep 9, 2024
1 parent f9f0bc2 commit 9edd221
Showing 1 changed file with 235 additions and 0 deletions.
235 changes: 235 additions & 0 deletions international-relations.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" page-range-format="chicago" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>International Relations</title>
<id>http://www.zotero.org/styles/international-relations</id>
<link href="http://www.zotero.org/styles/international-relations" rel="self"/>
<link href="http://www.zotero.org/styles/early-music-history" rel="template"/>
<link href="https://journals.sagepub.com/author-instructions/IRE" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="note"/>
<category field="humanities"/>
<issn>0047-1178</issn>
<eissn>1741-2862</eissn>
<updated>2023-02-01T14:16:33+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="author">
<names variable="author">
<name and="text"/>
<label form="short" strip-periods="false" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", "/>
<label form="short" prefix=", " strip-periods="true"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" text-case="title" font-style="italic"/>
</if>
<else>
<text variable="title" text-case="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="title-short">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" form="short" prefix="" suffix=""/>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter=", " prefix="(" suffix=")">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher-place"/>
</group>
<text macro="date"/>
</group>
</if>
<else-if type="book" match="any">
<group delimiter=", " prefix="(" suffix=")">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="date"/>
</group>
</else-if>
<else-if type="thesis" match="any">
<text variable="publisher"/>
</else-if>
</choose>
</macro>
<macro name="date">
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="volume">
<group delimiter=" ">
<label variable="volume" form="short"/>
<number variable="volume" form="roman"/>
</group>
</macro>
<macro name="pageno">
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</macro>
<macro name="pageref">
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</macro>
<macro name="volref">
<group delimiter=" ">
<group delimiter="/">
<text variable="volume"/>
<text variable="issue"/>
</group>
<text macro="date" prefix="(" suffix=")"/>
</group>
</macro>
<macro name="container">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter=", ">
<group delimiter=" ">
<text term="in"/>
<text macro="editor"/>
</group>
<text variable="container-title" text-case="title" font-style="italic"/>
</group>
</if>
<else>
<text variable="container-title" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="editor">
<names variable="editor translator">
<name and="text"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="volumes">
<group delimiter=" ">
<number variable="number-of-volumes"/>
<label variable="number-of-volumes" form="short"/>
</group>
</macro>
<macro name="edition">
<group delimiter=" ">
<text variable="edition"/>
<label variable="edition" form="short"/>
</group>
</macro>
<citation>
<layout suffix="." delimiter="; ">
<choose>
<if position="subsequent">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="title-short"/>
<text macro="pageref"/>
</group>
</if>
<else>
<group delimiter=", ">
<text macro="author"/>
<text macro="title"/>
<group>
<choose>
<if type="article-journal" match="any">
<group delimiter=", ">
<text macro="container"/>
<text macro="volref"/>
<text macro="pageno"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=", " prefix=" ">
<text macro="container"/>
<text macro="publisher"/>
<text macro="pageno"/>
</group>
</else-if>
<else-if type="book" match="any">
<group delimiter=" ">
<group delimiter=", ">
<text macro="volumes"/>
<text macro="edition"/>
<names variable="editor translator">
<label form="verb-short" suffix=" "/>
<name and="text"/>
</names>
</group>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="volume"/>
</group>
</group>
</else-if>
<else-if type="thesis" match="any">
<group delimiter=", ">
<text variable="container-title"/>
<text variable="genre"/>
<group delimiter=" ">
<text macro="publisher"/>
<date form="text" date-parts="year-month-day" variable="issued"/>
</group>
</group>
</else-if>
<else-if type="article-magazine article-newspaper" match="any">
<group delimiter=", ">
<text variable="container-title" font-style="italic"/>
<date form="text" date-parts="year-month-day" variable="issued"/>
</group>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<group delimiter=", ">
<date form="text" date-parts="year-month-day" variable="issued"/>
<group delimiter=" ">
<text variable="URL" prefix="&lt;" suffix="&gt;"/>
<date form="text" variable="accessed" prefix="(" suffix=")"/>
</group>
</group>
</else-if>
<else>
<text macro="publisher"/>
<text macro="date" prefix="(" suffix=")"/>
</else>
</choose>
</group>
<text macro="pageref"/>
</group>
</else>
</choose>
</layout>
</citation>
</style>

0 comments on commit 9edd221

Please sign in to comment.