Skip to content

Instantly share code, notes, and snippets.

@rmzelle
Created May 20, 2009 19:58
Show Gist options
  • Save rmzelle/115052 to your computer and use it in GitHub Desktop.
Save rmzelle/115052 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en">
<info>
<title>
german-law-style
</title>
<id>
http://www.zotero.org/styles/german-law-style
</id>
<author>
<name>myname</name>
</author>
<summary>German Law Citation Style</summary>
<category term="note"/>
<updated>2009-05-20T02:46:19+00:00</updated>
</info>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter="/" delimiter-precedes-last="always" font-style="italic"/>
</names>
</macro>
<macro name="title-short">
<choose>
<if variable="title" match="none">
</if>
<else>
<text variable="title" form="short"/>
</else>
</choose>
</macro>
<macro name="editor-short">
<choose>
<if variable="title abstract" match="all">
</if>
<else>
<names variable="editor">
<name form="short" delimiter="/" delimiter-precedes-last="always" prefix="in: " suffix=" (Hrsg.)"/>
</names>
</else>
</choose>
</macro>
<macro name="container-title">
<choose>
<if variable="abstract">
<text variable="abstract"/>
</if>
<else>
<text variable="container-title"/>
<text variable="volume"/>
</else>
</choose>
</macro>
<macro name="edition-year">
<choose>
<if type="article-journal">
<group delimiter=" ">
<text variable="collection-title" prefix="in: "/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else-if variable="edition" match="any">
<group delimiter=" ">
<text variable="edition" suffix=" Aufl."/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else>
<date variable="issued">
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<citation>
<option name="et-al-min" value="4"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="4"/>
<option name="et-al-subsequent-use-first" value="1"/>
<option name="disambiguate-add-names" value="true"/>
<layout prefix="" suffix="." delimiter="; ">
<choose>
<if position="ibid-with-locator">
<group delimiter=", ">
<text term="ibid" text-case="capitalize-first" suffix="."/>
<text macro="point-locators-subsequent"/>
</group>
</if>
<else-if position="ibid">
<text term="ibid" text-case="capitalize-first" suffix="."/>
</else-if>
<else>
<group delimiter=", ">
<text macro="author-short"/>
<text macro="title-short"/>
<text macro="editor-short"/>
<text macro="container-title"/>
<text macro="edition-year"/>
</group>
</else>
</choose>
</layout>
</citation>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment