Last active
October 2, 2021 07:18
-
-
Save mrowe/f55a4e52f52a4bed1fc99c4bfd03151e to your computer and use it in GitHub Desktop.
Zotero style definition for the 2020 version Deakin Australian Harvard (incomplete)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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="sort-only" default-locale="en-GB"> | |
<info> | |
<title>Deakin University - Harvard 2020</title> | |
<id>http://www.zotero.org/styles/harvard-deakin-university-2020</id> | |
<link href="http://www.zotero.org/styles/harvard-deakin-university" rel="self"/> | |
<link href="http://www.zotero.org/styles/harvard-the-university-of-melbourne" rel="template"/> | |
<link href="http://www.deakin.edu.au/students/studying/study-support/referencing/harvard" rel="documentation"/> | |
<author> | |
<name>simtyrell</name> | |
</author> | |
<contributor> | |
<name>mrowe</name> | |
<email>[email protected]</email> | |
</contributor> | |
<category citation-format="author-date"/> | |
<category field="generic-base"/> | |
<summary>Style for Deakin University 2020</summary> | |
<updated>2021-04-16T20:34:54+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="translator" form="short"> | |
<single>trans.</single> | |
<multiple>trans</multiple> | |
</term> | |
<term name="edition" form="short">edn</term> | |
<term name="volume" form="short">vol.</term> | |
<term name="chapter" form="short">ch.</term> | |
</terms> | |
</locale> | |
<macro name="editor"> | |
<names variable="editor" delimiter=", "> | |
<name name-as-sort-order="all" and="text" sort-separator=" " initialize-with="" delimiter=", "/> | |
<label form="short" prefix=" (" suffix=")" strip-periods="true"/> | |
</names> | |
</macro> | |
<macro name="noauthor_title"> | |
<!-- This macro is only called when author is empty and the trick with substitute automatically suppresses repeating elements --> | |
<choose> | |
<if type="article-newspaper"> | |
<names variable="author"> | |
<name/> | |
<substitute> | |
<text variable="container-title" font-style="italic"/> | |
</substitute> | |
</names> | |
</if> | |
<else> | |
<names variable="author"> | |
<name/> | |
<substitute> | |
<text macro="title" font-style="normal"/> | |
</substitute> | |
</names> | |
</else> | |
</choose> | |
</macro> | |
<macro name="author"> | |
<names variable="author"> | |
<name name-as-sort-order="all" and="text" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="never"/> | |
<label form="short" prefix=" (" suffix=")"/> | |
<substitute> | |
<names variable="editor"/> | |
<names variable="translator"/> | |
<text macro="noauthor_title"/> | |
</substitute> | |
</names> | |
</macro> | |
<macro name="author-short"> | |
<names variable="author"> | |
<name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/> | |
<substitute> | |
<names variable="editor"/> | |
<names variable="translator"/> | |
<text macro="noauthor_title"/> | |
</substitute> | |
</names> | |
</macro> | |
<macro name="access"> | |
<choose> | |
<if variable="URL"> | |
<text term="retrieved"/> | |
<group prefix=" " delimiter=", "> | |
<date variable="accessed"> | |
<date-part name="month" suffix=" "/> | |
<date-part name="day" suffix=", "/> | |
<date-part name="year"/> | |
</date> | |
<group> | |
<text term="from"/> | |
<text variable="URL" prefix=" <" suffix=">"/> | |
</group> | |
</group> | |
</if> | |
</choose> | |
</macro> | |
<macro name="title"> | |
<choose> | |
<if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | |
<text variable="title" font-style="italic"/> | |
</if> | |
<else> | |
<text variable="title" quotes="true"/> | |
</else> | |
</choose> | |
</macro> | |
<macro name="publisher"> | |
<group delimiter=", "> | |
<text variable="publisher"/> | |
<text variable="publisher-place"/> | |
</group> | |
</macro> | |
<macro name="year-date"> | |
<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="pages"> | |
<text value=":"/> | |
<text variable="page"/> | |
</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=" "/> | |
<text term="edition" form="short"/> | |
</else> | |
</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" collapse="year"> | |
<layout prefix="(" suffix=")" delimiter="; "> | |
<group delimiter=""> | |
<group delimiter=" "> | |
<text macro="author-short"/> | |
<text macro="year-date"/> | |
</group> | |
<group> | |
<text value=":"/> | |
<text variable="locator"/> | |
</group> | |
</group> | |
</layout> | |
</citation> | |
<bibliography hanging-indent="false"> | |
<sort> | |
<key macro="author"/> | |
<key macro="year-date"/> | |
</sort> | |
<layout suffix="."> | |
<choose> | |
<if type="motion_picture" match="any"> | |
<text macro="author" suffix=" (director)"/> | |
</if> | |
<else> | |
<text macro="author"/> | |
</else> | |
</choose> | |
<date variable="issued" prefix=" (" suffix=") "> | |
<date-part name="year"/> | |
</date> | |
<choose> | |
<if type="bill book graphic legal_case legislation report song" match="any"> | |
<group prefix=" " delimiter=", " suffix=","> | |
<text macro="title"/> | |
<text macro="edition"/> | |
<text macro="editor"/> | |
</group> | |
<text prefix=" " macro="publisher"/> | |
</if> | |
<else-if type="motion_picture" match="any"> | |
<group prefix=" " delimiter=", " suffix=","> | |
<text macro="title" suffix=" [motion picture]"/> | |
<text macro="edition"/> | |
<text macro="editor"/> | |
</group> | |
<text prefix=" " macro="publisher"/> | |
</else-if> | |
<else-if type="chapter paper-conference" match="any"> | |
<text macro="title" prefix=" "/> | |
<group delimiter=" " prefix=", "> | |
<text term="in"/> | |
<group delimiter=", "> | |
<text macro="editor"/> | |
<text variable="container-title" font-style="italic"/> | |
<text variable="collection-title"/> | |
<text macro="publisher"/> | |
</group> | |
</group> | |
<group> | |
<text macro="pages"/> | |
</group> | |
</else-if> | |
<else> | |
<group suffix=","> | |
<text macro="title" prefix=" "/> | |
<text macro="editor" prefix=" "/> | |
</group> | |
<group prefix=" "> | |
<text variable="container-title" font-style="italic"/> | |
<group prefix=", " delimiter=""> | |
<text variable="volume" prefix=""/> | |
<text variable="issue" prefix="(" suffix=")"/> | |
<text macro="pages"/> | |
</group> | |
<group prefix=", "> | |
<text variable="DOI" prefix="https://"/> | |
</group> | |
</group> | |
</else> | |
</choose> | |
<text prefix=", " macro="access"/> | |
</layout> | |
</bibliography> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment