Skip to content

Commit

Permalink
Create british-journal-of-criminology.csl (#4789)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored May 17, 2020
1 parent 68550ac commit 5ec1acf
Showing 1 changed file with 362 additions and 0 deletions.
362 changes: 362 additions & 0 deletions the-british-journal-of-criminology.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,362 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never" default-locale="en-GB">
<info>
<title>The British Journal of Criminology</title>
<title-short>BJC</title-short>
<id>http://www.zotero.org/styles/the-british-journal-of-criminology</id>
<link href="http://www.zotero.org/styles/the-british-journal-of-criminology" rel="self"/>
<link href="http://www.zotero.org/styles/american-mineralogist" rel="template"/>
<link href="https://academic.oup.com/bjc/pages/General_Instructions" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="author-date"/>
<category field="psychology"/>
<issn>0007-0955</issn>
<eissn>1464-3529</eissn>
<updated>2020-05-15T10:16:39+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="editortranslator" form="short">
<single>ed. &amp; trans.</single>
<multiple>eds. &amp; trans.</multiple>
</term>
<term name="translator" form="short">trans.</term>
</terms>
</locale>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<names variable="editor translator" delimiter=", " suffix=", ">
<name and="text" initialize-with="." delimiter=", "/>
<label form="short" strip-periods="true" prefix=", "/>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if type="chapter paper-conference" match="none">
<names variable="translator editor" delimiter=", " prefix=" (" suffix=")">
<name and="symbol" initialize-with="." delimiter=", "/>
<label form="short" prefix=", " text-case="title"/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name font-variant="small-caps" and="text" initialize-with="." name-as-sort-order="all"/>
<label form="short" strip-periods="true" prefix=" (" suffix=")"/>
<et-al term="and others"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="report">
<text variable="publisher"/>
<text macro="title"/>
</if>
<else>
<text macro="title"/>
</else>
</choose>
</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"/>
<choose>
<if type="report">
<text variable="publisher"/>
<text variable="title" form="short"/>
</if>
<else-if type="bill book graphic legal_case legislation motion_picture song" match="any">
<text variable="title" form="short"/>
</else-if>
<else>
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="author-count">
<names variable="author">
<name form="count"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="book graphic motion_picture report song manuscript speech" match="any">
<group delimiter=", ">
<text variable="title" font-style="italic"/>
<text macro="edition"/>
<text variable="number-of-pages" suffix=" p."/>
</group>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<choose>
<if variable="event" match="none">
<text variable="genre"/>
</if>
</choose>
<choose>
<if type="article-journal article-magazine" match="none">
<group delimiter=", ">
<text variable="publisher"/>
</group>
</if>
</choose>
</group>
</macro>
<macro name="event">
<choose>
<if variable="event">
<choose>
<if variable="genre" match="none">
<text term="presented at" text-case="capitalize-first" suffix=" "/>
<text variable="event"/>
</if>
<else>
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"/>
<text term="presented at"/>
<text variable="event"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if type="bill legal_case legislation" match="none">
<choose>
<if variable="issued">
<group prefix=" (" suffix=")">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
<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>
<group prefix=" (" suffix=")">
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued-sort">
<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 name="year"/>
<date-part name="month"/>
<date-part name="day"/>
</date>
</if>
<else>
<date variable="issued">
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</if>
<else>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</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>
<macro name="locators">
<choose>
<if type="article-journal article-magazine" match="any">
<group delimiter=": " prefix=", ">
<group delimiter="/">
<text variable="volume"/>
<text variable="issue"/>
</group>
<text variable="page"/>
</group>
</if>
<else-if type="article-newspaper">
<group delimiter=" " prefix=", ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="book graphic motion_picture report song chapter paper-conference" match="any">
<group delimiter=", " prefix=", ">
<group>
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=" "/>
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
</group>
<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
<number variable="volume" form="numeric"/>
</group>
<text variable="page"/>
</group>
</else-if>
<else-if type="legal_case">
<group prefix=" (" suffix=")" delimiter=" ">
<text variable="authority"/>
<date variable="issued" form="text"/>
</group>
</else-if>
<else-if type="bill legislation" match="any">
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year"/>
</date>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<group>
<choose>
<if locator="chapter">
<label variable="locator" form="long" text-case="capitalize-first"/>
</if>
</choose>
<text variable="locator" prefix=" "/>
</group>
</macro>
<macro name="container">
<group>
<choose>
<if type="chapter paper-conference entry-encyclopedia" match="any">
<text term="in" suffix=" "/>
</if>
</choose>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text macro="container-title" text-case="title"/>
</group>
</macro>
<macro name="container-title">
<choose>
<if type="bill legal_case legislation" match="none">
<text variable="container-title" font-style="italic"/>
</if>
<else>
<group delimiter=" " prefix=", ">
<choose>
<if variable="container-title">
<text variable="volume"/>
<text variable="container-title"/>
<group delimiter=" ">
<text term="section" form="symbol"/>
<text variable="section"/>
</group>
<text variable="page"/>
</if>
<else>
<choose>
<if type="legal_case">
<text variable="number" prefix="No. "/>
</if>
<else>
<text variable="number" prefix="Pub. L. No. "/>
<group delimiter=" ">
<text term="section" form="symbol"/>
<text variable="section"/>
</group>
</else>
</choose>
</else>
</choose>
</group>
</else>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-givenname="true" collapse="year">
<sort>
<key macro="issued-sort" sort="ascending"/>
<key macro="author"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=": ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="issued-year"/>
</group>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography et-al-min="11" et-al-use-first="10" subsequent-author-substitute="&#8212;&#8212;&#8212;" hanging-indent="true">
<sort>
<key macro="author" names-min="1" names-use-first="1"/>
<key macro="author-count" names-min="3" names-use-first="3"/>
<key macro="author" names-min="3" names-use-first="1"/>
<key macro="issued-year" sort="ascending"/>
<key variable="title"/>
</sort>
<layout>
<group suffix=".">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author"/>
<text macro="issued"/>
<text macro="title"/>
</group>
<text macro="container"/>
</group>
<text macro="locators"/>
<group delimiter=", " prefix=". ">
<text macro="event"/>
<text macro="publisher"/>
</group>
</group>
</layout>
</bibliography>
</style>

0 comments on commit 5ec1acf

Please sign in to comment.