Skip to content

Commit

Permalink
add Harvard Limerick
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith committed Mar 1, 2012
1 parent a1ef029 commit 70fa572
Showing 1 changed file with 263 additions and 0 deletions.
263 changes: 263 additions & 0 deletions harvard-limerick.csl
@@ -0,0 +1,263 @@
<?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>Harvard - University of Limerick (Cite it Right) </title>
<id>http://www.zotero.org/styles/harvard-limerick</id>
<link href="http://www.zotero.org/styles/harvard-limerick" rel="self"/>
<link href="http://www3.ul.ie/~library/pdf/citeitright.pdf" rel="documentation"/>
<link href="http://www.zotero.org/styles/elsevier-harvard" rel="template"/>
<author>
<name>Sebastian Karcher</name>
</author>
<category field="generic-base"/>
<category citation-format="author-date"/>
<updated>2009-12-01T20:22:16+00:00</updated>
<summary>Style based on the University of Limerick's Cite it Right guide, 2nd edition. Currently covers the most typical item types (books, chapters, webpages, articles in journals, magazines, newspapers (online and print), theses and reports. Doesn't cover legal citations and artworks. </summary>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<locale xml:lang="en-GB">
<terms>
<term name="et-al">et al</term>
</terms>
</locale>
<macro name="container">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" text-case="lowercase" suffix=" "/>
<group delimiter=", ">
<names variable="editor translator" delimiter=", ">
<name name-as-sort-order="all" sort-separator=", " and="text" initialize-with="." delimiter=", " delimiter-precedes-last="never"/>
<label form="short" prefix=", " />
</names>
<group delimiter=", ">
<text variable="container-title" text-case="title" font-style="italic"/>
<text variable="collection-title" text-case="title"/>
</group>
</group>
</if>
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<group delimiter=", ">
<text variable="container-title"/>
<text variable="collection-title"/>
</group>
</else-if>
<else>
<group delimiter=", ">
<text variable="container-title" font-style="italic"/>
<text variable="collection-title"/>
</group>
</else>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". " delimiter-precedes-last="never"/>
<et-al font-style="italic" />
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if variable="URL">
<group delimiter=" ">
<text variable="URL" prefix="available: "/>
<group prefix="[" suffix="]" delimiter=" ">
<text term="accessed"/>
<date variable="accessed" delimiter=" ">
<date-part name="day"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="year"/>
</date>
</group>
</group>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="report thesis" match="any">
<group delimiter=", ">
<text variable="title" text-case="title" font-style="italic"/>
<group delimiter=" ">
<text variable="genre"/>
<text variable="number"/>
</group>
</group>
</if>
<else-if type="bill book graphic legal_case motion_picture report song speech" match="any">
<text variable="title" font-style="italic" text-case="title"/>
<choose>
<if variable="URL">
<text term="online" prefix=" [" suffix="]"/>
</if>
</choose>
<text macro="edition" prefix=", "/>
</else-if>
<else-if type="webpage">
<text variable="title" text-case="title"/>
<text term="online" prefix=" [" suffix="]"/>
</else-if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="report thesis" match="any">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</if>
<else>
<group delimiter=": ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</else>
</choose>
</macro>
<macro name="event">
<choose>
<if variable="event">
<text term="presented at" text-case="capitalize-first" suffix=" "/>
<text variable="event"/>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else-if variable="accessed">
<choose>
<if type="webpage">
<date variable="accessed">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</else-if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="edition">
<group delimiter=" ">
<choose>
<if is-numeric="edition">
<number variable="edition" form="ordinal"/>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
<text value="ed"/>
</group>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group delimiter=", ">
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<choose>
<if type="article-magazine article-newspaper" match="any">
<date variable="issued" delimiter=" ">
<date-part name="day"/>
<date-part name="month" form="short" strip-periods="true"/>
</date>
</if>
</choose>
<text variable="page"/>
</group>
</if>
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<group delimiter=", " >
<text macro="event"/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=", " >
<text macro="event"/>
<text macro="publisher"/>
<group>
<text variable="page"/>
</group>
</group>
</else-if>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" collapse="year">
<sort>
<key macro="issued"/>
<key macro="author"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="issued"/>
</group>
<group>
<label variable="locator" form="short"/>
<text variable="locator"/>

</group>
</group>

</layout>
</citation>
<bibliography hanging-indent="true" entry-spacing="0" line-spacing="1">
<sort>
<key macro="author"/>
<key macro="issued" sort="ascending"/>
</sort>
<layout suffix=".">
<group delimiter=" ">
<text macro="author"/>
<text macro="issued" prefix="(" suffix=")"/>
</group>
<group delimiter=", " prefix=" ">
<text macro="title"/>
<text macro="container"/>
<text macro="locators"/>
<text macro="access"/>
</group>

</layout>
</bibliography>
</style>

0 comments on commit 70fa572

Please sign in to comment.