Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Browse files

Create dsh-harvard.csl (#4387)

  • Loading branch information
fedormyskin authored and adam3smith committed Nov 9, 2019
1 parent 6324931 commit 2d0de83f65c267d8dfe7d5b1692a103618a784d1
Showing with 305 additions and 0 deletions.
  1. +305 −0 digital-scholarship-in-the-humanities.csl
@@ -0,0 +1,305 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" and="text" demote-non-dropping-particle="sort-only" default-locale="en-GB" page-range-format="minimal">
<info>
<title>Digital Scholarship in the Humanities</title>
<id>http://www.zotero.org/styles/digital-scholarship-in-the-humanities</id>
<link href="http://www.zotero.org/styles/digital-scholarship-in-the-humanities" rel="self"/>
<link href="http://www.zotero.org/styles/griffith-college-harvard" rel="template"/>
<link href="https://academic.oup.com/dsh/pages/general_instructions#Typescript%20Text" rel="documentation"/>
<author>
<name>Federico Pianzola</name>
</author>
<category citation-format="author-date"/>
<category field="humanities"/>
<issn>2055-7671</issn>
<eissn>2055-768X</eissn>
<summary>Harvard variant for the journal Digital Scholarship in the Humanities.</summary>
<updated>2019-11-01T23:09:26+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="short">
<single>ed.</single>
<multiple>eds</multiple>
</term>
<term name="available at">available from</term>
<term name="director">directed by</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter=" ">
<name font-variant="normal" delimiter="" and="text" initialize-with="." name-as-sort-order="all"/>
<label form="short" text-case="lowercase" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
</macro>
<macro name="author">
<names variable="author" font-weight="bold">
<name suffix="." and="text" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
<label form="short" text-case="lowercase" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title" text-case="title" suffix="."/>
<text macro="anon" font-variant="small-caps"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" delimiter-precedes-last="never" initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
<text variable="title" text-case="title" font-style="italic"/>
</if>
<else>
<text variable="title" text-case="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place" text-case="title"/>
<text variable="publisher" text-case="title"/>
</group>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<group>
<text term="no date" form="short"/>
</group>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number text-case="lowercase" font-variant="normal" vertical-align="baseline" variable="edition" form="ordinal"/>
<text term="edition" text-case="title"/>
</group>
</if>
<else>
<text variable="edition" text-case="lowercase" suffix="."/>
</else>
</choose>
</macro>
<macro name="locator">
<choose>
<if type="article-newspaper article-magazine interview" match="any">
<date delimiter="" variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month"/>
</date>
</if>
<else-if type="article-magazine article-newspaper" match="any">
<choose>
<if match="any" variable="URL">
<text variable="URL"/>
<group>
<text term="accessed"/>
<date form="text" variable="accessed">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</group>
</if>
</choose>
</else-if>
</choose>
</macro>
<macro name="pages">
<group>
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</group>
</macro>
<macro name="access">
<choose>
<if match="all" variable="DOI">
<text variable="DOI"/>
</if>
<else-if match="all" variable="URL">
<text variable="URL"/>
<group delimiter=":" prefix=" (" suffix=")">
<text term="accessed"/>
<date form="text" variable="accessed">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</group>
</else-if>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
<sort>
<key variable="issued"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<choose>
<if type="motion_picture broadcast" match="any">
<group delimiter=", ">
<text macro="title" strip-periods="true"/>
<text macro="year-date"/>
</group>
</if>
<else>
<group delimiter=", ">
<group delimiter=", ">
<text macro="author-short" text-case="capitalize-first"/>
<text macro="year-date"/>
</group>
<group>
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</else>
</choose>
</layout>
</citation>
<bibliography hanging-indent="false" et-al-min="4" et-al-use-first="1">
<sort>
<key macro="author"/>
<key variable="title"/>
</sort>
<layout suffix=".">
<choose>
<if type="motion_picture" match="any">
<group delimiter=" ">
<text variable="title" text-case="title" font-style="italic"/>
<group delimiter=" ">
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
<text variable="genre" text-case="capitalize-first" prefix="[" suffix="]"/>
<text term="director" text-case="capitalize-first"/>
<text macro="author"/>
<text variable="medium" text-case="title" prefix="[" suffix="]."/>
<text macro="access"/>
</group>
<text macro="publisher"/>
</group>
</if>
<else-if type="broadcast" match="any">
<group delimiter=". ">
<text variable="title" text-case="title" quotes="true"/>
<group delimiter=" ">
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
<text variable="container-title" text-case="title" font-style="italic" suffix="."/>
<text variable="number" text-case="title" suffix="."/>
<text variable="medium" text-case="title" prefix="[" suffix="]."/>
<text variable="publisher-place" text-case="title" suffix=":"/>
<text variable="publisher" text-case="title"/>
</group>
</group>
</else-if>
<else>
<group delimiter=" ">
<text macro="author"/>
<date variable="issued" prefix="(" suffix=").">
<date-part name="year"/>
</date>
<text variable="number" prefix="(" suffix=")"/>
</group>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=". " prefix=" " suffix=".">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
<text variable="medium" text-case="title" prefix="[" suffix="]"/>
<text variable="archive"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<text macro="title" prefix=" " suffix="."/>
<group prefix=" " delimiter=" ">
<text term="in" text-case="capitalize-first"/>
<text macro="editor" suffix=","/>
<text variable="container-title" text-case="title" font-style="italic" suffix="."/>
<text variable="collection-title" suffix="."/>
<text variable="event" suffix="."/>
<group suffix="." delimiter=", " prefix=" ">
<text macro="publisher"/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="thesis">
<group prefix=" " suffix="." delimiter=". ">
<text macro="title"/>
<text variable="genre" text-case="title" prefix="[" suffix=" Thesis]"/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="article" match="any"/>
<else-if type="webpage post-weblog" match="any">
<group delimiter=" ">
<group delimiter=". " prefix=" ">
<text variable="title" text-case="title" strip-periods="false" quotes="false" font-style="italic" suffix="."/>
<text variable="container-title" strip-periods="false" quotes="false" font-style="italic" suffix=". "/>
</group>
</group>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
</group>
<group delimiter=", " prefix=" " suffix=".">
<text variable="container-title" text-case="title" font-style="italic"/>
<group>
<text variable="volume" font-weight="bold"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text macro="locator" prefix=" "/>
<group delimiter=" " prefix=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</group>
<text variable="genre" prefix="[" suffix="]"/>
</else>
</choose>
<group>
<choose>
<if match="all" variable="DOI">
<text variable="DOI" prefix=" "/>
</if>
<else-if variable="URL">
<text variable="URL"/>
<group prefix=" (" suffix=")">
<text term="accessed" suffix=" "/>
<date form="text" variable="accessed">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</group>
</else-if>
</choose>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>

0 comments on commit 2d0de83

Please sign in to comment.
You can’t perform that action at this time.