Skip to content

Instantly share code, notes, and snippets.

@fbennett
Created July 25, 2012 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fbennett/3176037 to your computer and use it in GitHub Desktop.
Save fbennett/3176037 to your computer and use it in GitHub Desktop.
Style converted to CSL 1.0 and with localized quotes
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US">
<info>
<title>Harvard Reference format Buhmann1 (Author-Date) (de) (dev)</title>
<id>http://www.zotero.org/styles/harvardBuhmann1</id>
<link href="http://www.zotero.org/styles/harvard7de" rel="self"/>
<contributor>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</contributor>
<contributor>
<name>Sven Rothe</name>
<email>mmoole@googlemail.com</email>
</contributor>
<category citation-format="author-date"/>
<category field="generic-base"/>
<updated>2010-01-15T21:05:26+00:00</updated>
<summary>A Harvard author-date style variant, mostly german</summary>
<link href="http://qse.ifs.tuwien.ac.at/courses/Usability2/Literaturangaben.pdf" rel="documentation"/><!--please e-mail me about bugs, suggestions etc! i do not often check the website! mmoole@googlemail.com --><!-- useful things: non breaking space: &#160;
narrow no break space: uni202F / &#8239; - but this is not supported widely!
em dash: &#8212;
-->
</info>
<locale>
<terms>
<term name="open-quote">„</term>
<term name="close-quote">“</term>
<term name="open-inner-quote">‚</term>
<term name="close-inner-quote">‘</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter="; ">
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always" form="long"/>
<label form="short" prefix=" (" suffix=".)" strip-periods="true"/>
</names>
</macro>
<macro name="anon">
<text value="o. A."/>
</macro>
<macro name="author">
<names variable="author" delimiter="; ">
<name name-as-sort-order="all" sort-separator=", " delimiter="; " delimiter-precedes-last="always" form="long"/>
<label form="short" prefix=" (" suffix=".)" strip-periods="true"/>
<substitute>
<text macro="editor"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author" delimiter="; ">
<name form="short" delimiter=", " initialize-with=". " delimiter-precedes-last="always"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi: "/>
</if>
<else-if variable="URL">
<text variable="URL" prefix="URL: "/>
<group prefix=" (" suffix=")">
<date variable="accessed">
<date-part name="month" suffix=" " form="long"/>
<date-part name="year" form="long"/>
</date>
</group>
</else-if>
</choose>
</macro>
<macro name="title">
<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>
</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 value="o. J."/>
</else>
</choose>
</macro>
<macro name="locator">
<choose>
<if type="article-journal">
<text variable="volume" suffix=" "/><!-- <date variable="issued">
<date-part name="year" prefix="(" suffix=")"/>
</date>-->
<text variable="issue" prefix="(" suffix=")"/>
</if>
</choose>
</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=". " strip-periods="true"/>
<text variable="page"/>
</if>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group>
<number variable="edition" form="numeric" suffix=". "/>
<text term="edition" form="short" suffix="." strip-periods="true"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="container-prefix">
<choose>
<if type="chapter paper-conference article-journal" match="any">
<text term="in" text-case="capitalize-first" suffix=":"/>
</if>
</choose>
</macro>
<macro name="isbn">
<text variable="ISBN" prefix="ISBN: "/>
</macro>
<citation et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
<layout prefix="(" suffix=")" delimiter="; ">
<choose>
<if position="ibid-with-locator">
<text variable="locator"/>
</if>
<else-if position="ibid">
<text term="ibid" suffix="."/>
</else-if>
<else>
<group delimiter=", ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<group>
<text variable="locator" prefix=": "/>
</group>
</else>
</choose>
</layout>
</citation>
<bibliography hanging-indent="true" et-al-min="4" et-al-use-first="3" entry-spacing="0">
<sort>
<key macro="author"/>
<key macro="year-date"/>
<key variable="title"/>
</sort>
<layout>
<group delimiter=" " suffix=".">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter="; ">
<text macro="author"/>
</group>
</if>
<else>
<group delimiter="; ">
<text macro="author"/>
<text macro="editor"/>
</group>
</else>
</choose>
<text macro="year-date" prefix="(" suffix="):"/>
<text macro="title" suffix="."/>
<text macro="container-prefix"/>
<choose>
<if type="chapter paper-conference" match="any">
<text macro="editor"/>
</if>
</choose>
<text variable="container-title" font-style="italic" suffix="."/>
<text macro="edition"/>
<text variable="genre"/>
<text macro="publisher"/>
<group delimiter=", ">
<group delimiter=", " prefix="(" suffix=")">
<text variable="collection-title"/>
</group>
<text macro="locator"/>
<text macro="published-date"/>
<text macro="pages"/>
<text macro="access"/>
</group>
</group>
<text macro="isbn" prefix=" — "/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment