Skip to content

Instantly share code, notes, and snippets.

/DBFZ

Created February 24, 2012 12:55
Show Gist options
  • Save anonymous/1900749 to your computer and use it in GitHub Desktop.
Save anonymous/1900749 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/trunk/csl.rnc?view=markup" type="compact"?>
<style class="in-text" xml:lang="en" xmlns="http://purl.org/net/xbiblio/csl">
<info>
<title>DBFZ</title>
<id>DBFZ</id>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>
<contributor>
<name>Simon Kornblith</name>
<email>simon@simonster.com</email>
</contributor>
<contributor>
<name>Elena Razlogova</name>
<email>elena.razlogova@gmail.com</email>
</contributor>
<contributor>
<name>Arne Gröngröft</name>
<email>arne.groengroeft@dbfz.de</email>
</contributor>
<contributor>
<name>Mario König</name>
<email>mario.koenig@dbfz.de</email>
</contributor>
<summary>Adaption for use at Deutsches BiomasseForschungsZentrum (DBFZ) from the original &quot;Chicago format with short notes and full bibliography&quot;. Big up to the authors and contributors!!</summary>
<category term="generic-base"/>
<category term="numeric"/>
<updated>2010-01-05</updated>
</info>
<macro name="editor">
<names variable="editor">
<name and="text" delimiter=", " delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all" sort-separator=", "/>
<label form="short" prefix=", (" suffix=".)"/>
</names>
</macro>
<macro name="translator">
<names variable="translator">
<name and="text" delimiter=", " delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all" sort-separator=", "/>
<label form="verb-short" prefix=", " suffix="."/>
</names>
</macro>
<macro name="recipient-note">
<names delimiter=", " variable="recipient">
<label form="verb" prefix=" " suffix=" " text-case="lowercase"/>
<name and="text" delimiter=", "/>
</names>
</macro>
<macro name="recipient">
<choose>
<if type="personal_communication">
<choose>
<if variable="genre">
<text text-case="capitalize-first" variable="genre"/>
</if>
<else>
<text term="letter" text-case="capitalize-first"/>
</else>
</choose>
</if>
</choose>
<text macro="recipient-note" prefix=" "/>
</macro>
<macro name="recipient-short">
<names variable="recipient">
<label form="verb" prefix=" " suffix=" " text-case="lowercase"/>
<name and="text" delimiter=", " form="short"/>
</names>
</macro>
<macro name="contributors-short">
<names variable="author">
<name and="text" delimiter=", " form="short"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
<text macro="recipient-short"/>
</macro>
<macro name="contributors-sort">
<names variable="author">
<name and="text" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all" sort-separator=", "/>
<label form="verb-short" prefix=", " suffix="."/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="interviewer">
<names delimiter=", " variable="interviewer">
<label form="verb" prefix=" " suffix=" " text-case="capitalize-first"/>
<name and="text" delimiter=", "/>
</names>
</macro>
<macro name="title-short">
<choose>
<if match="none" variable="title">
<choose>
<if type="interview">
<text term="interview" text-case="lowercase"/>
</if>
<else-if match="any" type="manuscript speech">
<text form="short" variable="genre"/>
</else-if>
<else-if type="personal_communication">
<text macro="issued"/>
</else-if>
</choose>
</if>
<else-if type="book">
<text font-style="italic" form="short" variable="title"/>
</else-if>
<else>
<text form="short" quotes="true" variable="title"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if match="any" type="book chapter">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number form="ordinal" variable="edition"/>
<text form="short" suffix=". " term="edition"/>
</group>
</if>
<else>
<text suffix="." text-case="capitalize-first" variable="edition"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="event">
<group>
<choose>
<if type="speech">
<text prefix=" " suffix=" " term="presented at"/>
</if>
</choose>
<text variable="event"/>
</group>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="issued">
<choose>
<if match="any" type="graphic report">
<date variable="issued">
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
</if>
<else-if match="any" type="book chapter thesis">
<date variable="issued">
<date-part name="year"/>
</date>
</else-if>
<else>
<date variable="issued">
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<macro name="point-locators-subsequent">
<group>
<choose>
<if locator="page" match="none">
<label form="short" include-period="true" suffix=" " variable="locator"/>
</if>
</choose>
<text variable="locator"/>
</group>
</macro>
<macro name="archive">
<group delimiter=". ">
<text text-case="capitalize-first" variable="archive_location"/>
<text variable="archive"/>
<text variable="archive-place"/>
</group>
</macro>
<macro name="contributors">
<names variable="author">
<name and="text" delimiter=", " delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all" sort-separator=", "/>
<substitute>
<text macro="editor"/>
<text macro="translator"/>
</substitute>
</names>
<text macro="recipient" prefix=". "/>
</macro>
<macro name="title">
<choose>
<if match="none" variable="title">
<choose>
<if match="none" type="personal_communication">
<text text-case="capitalize-first" variable="genre"/>
</if>
</choose>
</if>
<else-if type="book">
<text font-style="italic" variable="title"/>
</else-if>
<else>
<text font-style="italic" variable="title"/>
</else>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if match="none" type="chapter">
<group delimiter=". ">
<names delimiter=". " variable="editor">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text" delimiter=", " delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all" sort-separator=", "/>
</names>
<choose>
<if match="any" variable="author editor">
<names delimiter=". " variable="translator">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text" delimiter=", " delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all" sort-separator=", "/>
</names>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<macro name="description">
<group delimiter=", ">
<group delimiter=". ">
<text macro="interviewer"/>
<text text-case="capitalize-first" variable="medium"/>
</group>
<choose>
<if match="none" variable="title"/>
<else-if match="any" type="thesis speech"/>
<else>
<text text-case="capitalize-first" variable="genre"/>
</else>
</choose>
</group>
</macro>
<macro name="container-title">
<choose>
<if type="chapter">
<text suffix=" " term="in" text-case="capitalize-first"/>
</if>
</choose>
<text variable="container-title"/>
</macro>
<macro name="container-contributors">
<choose>
<if type="chapter">
<group delimiter=", ">
<names delimiter=", " variable="editor">
<label form="verb" suffix=" " text-case="lowercase"/>
<name and="text" delimiter=", " delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all" sort-separator=", "/>
</names>
<choose>
<if match="any" variable="author editor">
<names delimiter=", " variable="translator">
<label form="verb" suffix=" " text-case="lowercase"/>
<name and="text" delimiter=", " delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all" sort-separator=", "/>
</names>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<macro name="pages-chapter">
<choose>
<if type="chapter">
<text suffix=":" variable="volume"/>
<text variable="page" prefix="S. "/>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal">
<text form="short" suffix=". " term="volume"/>
<text suffix=", " variable="volume"/>
<choose>
<if match="any" variable="issue">
<!--<text form="short" suffix=". " term="issue"/>
-->
<text prefix="(" suffix=") " variable="issue"/>
</if>
</choose>
</if>
<else-if type="book">
<group delimiter=", ">
<group>
<text form="short" suffix="." term="volume" text-case="capitalize-first"/>
<number form="numeric" variable="volume"/>
</group>
<group>
<number form="numeric" variable="number-of-volumes"/>
<text form="short" plural="true" prefix=" " suffix="." term="volume"/>
</group>
<text macro="edition"/>
</group>
</else-if>
</choose>
</macro>
<macro name="collection-title">
<text variable="collection-title"/>
<text prefix=" " variable="collection-number"/>
<text variable="number" prefix=" Nr. "/>
</macro>
<macro name="issue">
<choose>
<if type="article-journal">
<text macro="issued"/>
</if>
<else-if match="any" type="speech paper-conference">
<choose>
<if match="none" variable="title"/>
<else>
<text text-case="capitalize-first" variable="genre"/>
</else>
</choose>
<text macro="event" suffix=", "/>
<text variable="event-place"/>
<text macro="issued" prefix=", "/>
</else-if>
<else-if match="any" variable="publisher-place publisher">
<group delimiter=", ">
<choose>
<if type="thesis">
<text text-case="capitalize-first" variable="genre"/>
</if>
</choose>
<text macro="publisher"/>
<text macro="issued"/>
</group>
</else-if>
<else>
<text macro="issued"/>
</else>
</choose>
</macro>
<macro name="locators-newspaper">
<choose>
<if type="article-newspaper">
<group delimiter=", ">
<group>
<text suffix=" " variable="edition"/>
<text prefix=" " term="edition"/>
</group>
<group>
<text form="short" suffix=". " term="section"/>
<text variable="section"/>
</group>
</group>
</if>
</choose>
</macro>
<macro name="pages-article">
<choose>
<if type="article-journal">
<label form="short" suffix=". " variable="page"/>
<text suffix=", " variable="page"/>
</if>
</choose>
</macro>
<macro name="access">
<group delimiter=", " prefix="(" suffix="), ">
<choose>
<if match="any" type="report patent">
</if>
<else-if type="webpage">
<text suffix=" " term="accessed" text-case="capitalize-first"/>
<date variable="accessed">
<date-part name="day" suffix=". "/>
<date-part name="month" suffix=" "/>
<date-part name="year" suffix=" "/>
</date>
<text suffix=": " term="at"/>
<text variable="URL"/>
</else-if>
<else-if type="article">
</else-if>
<else-if match="any" type="book chapter">
<text prefix="ISBN: " variable="ISBN"/>
</else-if>
</choose>
</group>
</macro>
<citation>
<option name="collapse" value="citation-number"/>
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," prefix="[" suffix="]">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography>
<!--<option name="hanging-indent" value="true"/>
-->
<!--<option name="et-al-min" value="4"/>
-->
<!--<option name="et-al-use-first" value="1"/>
-->
<option name="second-field-align" value="true"/>
<option name="disambiguate-add-year-suffix" value="true"/>
<!--<option name="entry-spacing" value="0"/>
-->
<layout>
<text prefix="[" suffix="]" variable="citation-number"/>
<group>
<text macro="contributors" suffix=": "/>
<text macro="title" suffix=". "/>
<text macro="secondary-contributors" suffix=", "/>
<text macro="description" suffix=", "/>
<group>
<text macro="container-title" suffix=", "/>
<text macro="container-contributors" suffix=", "/>
<text macro="pages-chapter" suffix=". "/>
</group>
</group>
<text macro="locators"/>
<text macro="collection-title" suffix=", "/>
<text macro="locators-newspaper" prefix=", "/>
<text macro="pages-article"/>
<text macro="access"/>
<text macro="issue"/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment