-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create the-open-university-harvard-s390-modules.csl (#4711)
- Loading branch information
Showing
1 changed file
with
264 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,264 @@ | ||
<?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>The Open University - S390</title> | ||
<id>http://www.zotero.org/styles/the-open-university-s390</id> | ||
<link href="http://www.zotero.org/styles/the-open-university-s390" rel="self"/> | ||
<link href="http://www.zotero.org/styles/the-open-university-harvard" rel="template"/> | ||
<link href="http://www.open.ac.uk/libraryservices/documents/Harvard_citation_hlp.pdf" rel="documentation"/> | ||
<link href="https://github.com/citation-style-language/styles/pull/4711#discussion_r411547690" rel="documentation"/> | ||
<author> | ||
<name>Neal Lyon</name> | ||
<email>[email protected]/</email> | ||
</author> | ||
<category citation-format="author-date"/> | ||
<category field="generic-base"/> | ||
<summary>The Open University Harvard author-date style-this version includes et al font style in italics and bibliography limited to 10 (ten) authors-for use with S390 modules</summary> | ||
<updated>2020-03-26T21:53:41+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="editor"> | ||
<names variable="editor" delimiter=", "> | ||
<name and="text" initialize-with=". " delimiter=", " sort-separator=", " name-as-sort-order="all"/> | ||
<label form="short" prefix=" (" suffix=")" strip-periods="true"/> | ||
</names> | ||
</macro> | ||
<macro name="anon"> | ||
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/> | ||
</macro> | ||
<macro name="author"> | ||
<names variable="author"> | ||
<name name-as-sort-order="all" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never" form="long" initialize-with=". "/> | ||
<et-al font-style="italic"/> | ||
<label form="short" prefix=" (" suffix=")"/> | ||
<substitute> | ||
<choose> | ||
<if type="webpage"> | ||
<text variable="container-title"/> | ||
<text variable="URL"/> | ||
</if> | ||
<else> | ||
<names variable="editor"/> | ||
<text macro="anon"/> | ||
</else> | ||
</choose> | ||
</substitute> | ||
</names> | ||
</macro> | ||
<macro name="author-short"> | ||
<names variable="author"> | ||
<name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/> | ||
<et-al font-style="italic"/> | ||
<substitute> | ||
<choose> | ||
<if type="webpage"> | ||
<text variable="container-title"/> | ||
<text variable="URL"/> | ||
</if> | ||
<else> | ||
<names variable="editor"/> | ||
<names variable="translator"/> | ||
<text macro="anon"/> | ||
</else> | ||
</choose> | ||
</substitute> | ||
</names> | ||
</macro> | ||
<macro name="translator"> | ||
<names variable="translator"> | ||
<label form="short" plural="always" suffix=" "/> | ||
<name and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/> | ||
</names> | ||
</macro> | ||
<macro name="director"> | ||
<names variable="author" prefix="Directed by "/> | ||
</macro> | ||
<macro name="access"> | ||
<group delimiter=" "> | ||
<text term="online" prefix="[" suffix="]." text-case="capitalize-first"/> | ||
<choose> | ||
<if variable="DOI"> | ||
<text variable="DOI" prefix="DOI: "/> | ||
</if> | ||
<else> | ||
<group delimiter=" "> | ||
<text term="available at" text-case="capitalize-first"/> | ||
<text variable="URL"/> | ||
</group> | ||
</else> | ||
</choose> | ||
<group prefix="(" delimiter=" " suffix=")."> | ||
<text term="accessed" text-case="capitalize-first"/> | ||
<date variable="accessed"> | ||
<date-part name="day" suffix=" "/> | ||
<date-part name="month" suffix=" "/> | ||
<date-part name="year"/> | ||
</date> | ||
</group> | ||
</group> | ||
</macro> | ||
<macro name="title"> | ||
<choose> | ||
<if type="bill book graphic legal_case legislation motion_picture report song webpage" 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-place"/> | ||
<text variable="publisher"/> | ||
</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="locators"> | ||
<group delimiter=", "> | ||
<group delimiter=" "> | ||
<text term="volume" form="short"/> | ||
<number variable="volume" form="numeric"/> | ||
</group> | ||
<group delimiter=" "> | ||
<text term="issue" form="short"/> | ||
<number variable="issue" form="numeric"/> | ||
</group> | ||
</group> | ||
</macro> | ||
<macro name="published-date"> | ||
<choose> | ||
<if type="article-newspaper"> | ||
<date variable="issued"> | ||
<date-part name="day" form="ordinal" suffix=" "/> | ||
<date-part name="month" form="long"/> | ||
</date> | ||
</if> | ||
</choose> | ||
</macro> | ||
<macro name="pages"> | ||
<choose> | ||
<if type="chapter paper-conference article-journal" match="any"> | ||
<label variable="page" form="short" suffix=" "/> | ||
<text variable="page"/> | ||
</if> | ||
</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="container-prefix"> | ||
<choose> | ||
<if type="chapter"> | ||
<text term="in"/> | ||
</if> | ||
</choose> | ||
</macro> | ||
<locale xml:lang="en"> | ||
<terms> | ||
<term name="edition" form="short">edn</term> | ||
</terms> | ||
</locale> | ||
<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"> | ||
<sort> | ||
<key macro="year-date" sort="descending"/> | ||
<key macro="author-short"/> | ||
</sort> | ||
<layout prefix="(" suffix=")" delimiter="; "> | ||
<choose> | ||
<if type="motion_picture"> | ||
<group delimiter=", "> | ||
<text macro="title"/> | ||
<text macro="year-date"/> | ||
</group> | ||
</if> | ||
<else> | ||
<group delimiter=", "> | ||
<group delimiter=", "> | ||
<text macro="author-short"/> | ||
<text macro="year-date"/> | ||
</group> | ||
<group> | ||
<label variable="locator" form="short" suffix=" "/> | ||
<text variable="locator"/> | ||
</group> | ||
</group> | ||
</else> | ||
</choose> | ||
</layout> | ||
</citation> | ||
<bibliography et-al-min="11" et-al-use-first="10"> | ||
<sort> | ||
<key macro="author"/> | ||
<key macro="year-date"/> | ||
<key variable="citation-number"/> | ||
<key variable="title"/> | ||
</sort> | ||
<layout suffix="."> | ||
<choose> | ||
<if type="motion_picture"> | ||
<group delimiter=" "> | ||
<group delimiter=" " suffix=" [Film]."> | ||
<text macro="title"/> | ||
<text macro="year-date" prefix="(" suffix=")"/> | ||
<text macro="director"/> | ||
</group> | ||
<text macro="publisher"/> | ||
</group> | ||
</if> | ||
<else-if type="webpage"> | ||
<group delimiter=" "> | ||
<text macro="author"/> | ||
<text macro="year-date" prefix="(" suffix=")"/> | ||
<text macro="title"/> | ||
<text macro="access"/> | ||
</group> | ||
</else-if> | ||
<else> | ||
<group delimiter=" "> | ||
<text macro="author"/> | ||
<text macro="year-date" prefix="(" suffix=")"/> | ||
<group delimiter=" " suffix=","> | ||
<text macro="title"/> | ||
<text macro="translator" prefix="(" suffix=")"/> | ||
</group> | ||
<text macro="container-prefix"/> | ||
<group delimiter=", "> | ||
<text macro="editor"/> | ||
<text variable="container-title" font-style="italic"/> | ||
<text variable="collection-title"/> | ||
<text variable="genre"/> | ||
<text macro="edition"/> | ||
<text macro="publisher"/> | ||
<text macro="locators"/> | ||
<text macro="published-date"/> | ||
<text macro="pages"/> | ||
</group> | ||
<text macro="access"/> | ||
</group> | ||
</else> | ||
</choose> | ||
</layout> | ||
</bibliography> | ||
</style> |