Skip to content

Commit

Permalink
Create historical-materialism.csl (JabRef#4955)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Aug 9, 2020
1 parent 5553dcd commit eadb950
Showing 1 changed file with 376 additions and 0 deletions.
376 changes: 376 additions & 0 deletions historical-materialism.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,376 @@
<?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="never" default-locale="en-GB">
<info>
<title>Historical Materialism</title>
<id>http://www.zotero.org/styles/historical-materialism</id>
<link href="http://www.zotero.org/styles/historical-materialism" rel="self"/>
<link href="http://www.zotero.org/styles/journal-of-finance" rel="template"/>
<link href="http://www.historicalmaterialism.org/instructions-for-authors" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="author-date"/>
<category field="social_science"/>
<issn>1465-4466</issn>
<eissn>1569-206X</eissn>
<updated>2020-08-03T08:43:23+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="editor" form="verb-short">ed.</term>
<term name="translator" form="verb-short">trans.</term>
<term name="retrieved">retrieved from</term>
</terms>
</locale>
<macro name="secondary-contributors">
<choose>
<if type="chapter" match="none">
<group delimiter=". ">
<choose>
<if variable="author">
<names variable="editor">
<label form="verb-short" text-case="capitalize-first" suffix=". "/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
<choose>
<if variable="author editor" match="any">
<names variable="translator">
<label form="verb-short" text-case="capitalize-first" suffix=". "/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<macro name="container-contributors">
<choose>
<if type="chapter">
<group prefix=" " delimiter=", ">
<choose>
<if variable="author">
<names variable="editor">
<label form="verb" prefix=" " suffix=" "/>
<name and="text"/>
</names>
<choose>
<if variable="container-author">
<group prefix=" by ">
<names variable="container-author">
<label form="verb-short" prefix=" " suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</group>
</if>
</choose>
</if>
</choose>
<choose>
<if variable="author editor" match="any">
<names variable="translator">
<label form="verb-short" prefix=" " suffix=". "/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<macro name="anon">
<choose>
<if variable="author editor translator" match="none">
<text term="anonymous" form="short" text-case="capitalize-first" suffix="."/>
</if>
</choose>
</macro>
<macro name="editor">
<names variable="editor">
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=", " suffix="."/>
</names>
</macro>
<macro name="translator">
<names variable="translator">
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
<label form="verb-short" prefix=", " suffix="."/>
</names>
</macro>
<macro name="recipient">
<choose>
<if type="personal_communication">
<choose>
<if variable="genre">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text term="letter" text-case="capitalize-first"/>
</else>
</choose>
</if>
</choose>
<names variable="recipient" delimiter=", ">
<label form="verb" prefix=" " suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</macro>
<macro name="contributors">
<names variable="author">
<name and="text" name-as-sort-order="first"/>
<label form="verb-short" prefix=", " suffix="."/>
<substitute>
<text macro="editor"/>
<text macro="translator"/>
</substitute>
</names>
<text macro="anon"/>
<text macro="recipient"/>
</macro>
<macro name="contributors-short">
<names variable="author">
<name form="short" and="text" delimiter=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
<text macro="anon"/>
</macro>
<macro name="interviewer">
<names variable="interviewer" delimiter=", ">
<label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</macro>
<macro name="title">
<choose>
<if variable="title" match="none">
<choose>
<if type="personal_communication" match="none">
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
</if>
<else-if type="report">
<text variable="title"/>
</else-if>
<else-if type="book">
<text variable="title" font-style="italic" text-case="title"/>
</else-if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if type="book chapter" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal">
<text variable="volume" prefix=" "/>
<text variable="issue" prefix="(" suffix=")"/>
</if>
<else-if type="legal_case">
<text variable="volume" prefix=", "/>
<text variable="container-title" prefix=" "/>
<text variable="page" prefix=" "/>
</else-if>
<else-if type="book">
<group delimiter=". ">
<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=". "/>
<number variable="volume" form="numeric"/>
</group>
<group>
<number variable="number-of-volumes" form="numeric"/>
<text term="volume" form="short" prefix=" " suffix="." plural="true"/>
</group>
</group>
</else-if>
<else-if type="chapter">
<choose>
<if variable="page" match="none">
<group prefix=". ">
<text term="volume" form="short" text-case="capitalize-first" suffix=". "/>
<number variable="volume" form="numeric"/>
</group>
</if>
</choose>
</else-if>
</choose>
</macro>
<macro name="locators-article">
<choose>
<if type="article-newspaper">
<group prefix=", " delimiter=", ">
<group delimiter=" ">
<text variable="edition"/>
<text term="edition"/>
</group>
<group>
<text term="section" form="short" suffix=". "/>
<text variable="section"/>
</group>
</group>
</if>
<else-if type="article-journal">
<text variable="page"/>
</else-if>
</choose>
</macro>
<macro name="point-locators">
<group delimiter=" ">
<label variable="locator" form="short" suffix=" "/>
<text variable="locator"/>
</group>
</macro>
<macro name="container-title">
<choose>
<if type="chapter">
<text term="in" suffix=" "/>
</if>
</choose>
<choose>
<if type="legal_case" match="none">
<text variable="container-title" font-style="italic"/>
</if>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="article-journal" match="none">
<choose>
<if variable="publisher" match="none">
<choose>
<if type="personal_communication" match="none">
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
</if>
<else-if type="report">
<group delimiter=", " prefix=", ">
<text variable="publisher" form="long"/>
<text variable="publisher-place" form="long"/>
</group>
</else-if>
<else>
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="date">
<group delimiter=" ">
<date variable="issued">
<date-part name="year"/>
</date>
<date date-parts="year" form="text" variable="original-date" prefix="[" suffix="]"/>
</group>
</macro>
<macro name="collection-title">
<text variable="collection-title"/>
<text variable="collection-number" prefix=" "/>
</macro>
<macro name="description">
<choose>
<if type="interview">
<group delimiter=". ">
<text macro="interviewer"/>
<text variable="medium" text-case="capitalize-first"/>
</group>
</if>
<else>
<text variable="medium" text-case="capitalize-first" prefix=". "/>
</else>
</choose>
<choose>
<if variable="title" match="none"/>
<else-if type="thesis"/>
<else>
<text variable="genre" text-case="capitalize-first"/>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if type="webpage post post-weblog" match="any">
<group delimiter=": ">
<text term="available at"/>
<text variable="URL"/>
</group>
</if>
</choose>
</macro>
<citation et-al-min="4" et-al-use-first="1">
<layout delimiter="; ">
<choose>
<if match="any" position="ibid-with-locator">
<group delimiter=", ">
<text term="ibid"/>
<text macro="point-locators"/>
</group>
</if>
<else-if match="any" position="ibid">
<text term="ibid"/>
</else-if>
<else>
<group delimiter=", ">
<group delimiter=" ">
<text macro="contributors-short"/>
<text macro="date"/>
</group>
<text macro="point-locators"/>
</group>
</else>
</choose>
</layout>
</citation>
<bibliography subsequent-author-substitute="&#8212;&#8212;&#8212;">
<sort>
<key macro="contributors"/>
<key variable="issued"/>
</sort>
<layout suffix=".">
<group delimiter=", ">
<group delimiter=" ">
<text macro="contributors"/>
<text macro="date"/>
</group>
<text macro="title"/>
<text macro="description"/>
<text macro="container-title"/>
<text macro="secondary-contributors"/>
<text macro="container-contributors"/>
<text macro="edition"/>
<text macro="locators"/>
<text macro="collection-title" prefix=". "/>
<text macro="locators-article"/>
<text macro="publisher"/>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>

0 comments on commit eadb950

Please sign in to comment.