Skip to content

Instantly share code, notes, and snippets.

Created June 9, 2009 14:11
Show Gist options
  • Save anonymous/126531 to your computer and use it in GitHub Desktop.
Save anonymous/126531 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" xml:lang="en">
<info>
<title>BCUK trial3-SSG</title>
<id>http://www.somwhere.org/csl/style/BCUK trial3-SSG</id>
<link href="http://www.somwhere.org/csl"/>
<author>
<name>Made with Simple style generator</name>
<email></email>
</author>
<category term="communications"/>
<category term="author-date"/>
<updated>2009-06-05T16:10:36 01:00</updated>
</info>
<macro name="citation-number">
<choose>
<if type="book">
<text variable="citation-number" font-style="normal" vertical-align="baseline"/>
</if>
<else-if type="chapter">
<text variable="citation-number" font-style="normal" vertical-align="baseline"/>
</else-if>
<else>
<text variable="citation-number" font-style="normal" vertical-align="baseline" />
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book">
<text variable="title" font-weight="normal" font-style="normal" text-case="sentence" vertical-align="baseline" form="long"/>
</if>
<else-if type="chapter">
<text variable="title" font-weight="normal" font-style="normal" text-case="sentence" vertical-align="baseline" form="long"/>
</else-if>
<else>
<text variable="title" font-weight="normal" font-style="normal" text-case="sentence" vertical-align="baseline" form="long"/>
</else>
</choose>
</macro>
<macro name="editor">
<choose>
<if type="book">
<text variable="editor" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="editor" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form="long"/>
</else-if>
<else>
<text variable="editor" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="translator">
<choose>
<if type="book">
<text variable="translator" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="translator" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else-if>
<else>
<text variable="translator" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="book">
<text variable="publisher" font-weight="normal" font-style="normal" text-case="title" vertical-align="baseline" form="long"/>
</if>
<else-if type="chapter">
<text variable="publisher" font-weight="normal" font-style="normal" text-case="title" vertical-align="baseline" form="long"/>
</else-if>
<else>
<text variable="publisher" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="publisher-place">
<choose>
<if type="book">
<text variable="publisher-place" font-weight="normal" font-style="normal" text-case="capitalize-first" vertical-align="baseline" form="long"/>
</if>
<else-if type="chapter">
<text variable="publisher-place" font-weight="normal" font-style="normal" text-case="capitalize-first" vertical-align="baseline" form="long"/>
</else-if>
<else>
<text variable="publisher-place" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="number-of-volume">
<choose>
<if type="book">
<text variable="number-of-volume" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="number-of-volume" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else-if>
<else>
<text variable="number-of-volume" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="issue">
<choose>
<if type="book">
<text variable="issue" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="issue" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else-if>
<else>
<text variable="issue" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="URL">
<choose>
<if type="book">
<text variable="URL" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="URL" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else-if>
<else>
<text variable="URL" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form="short"/>
</else>
</choose>
</macro>
<macro name="DOI">
<choose>
<if type="book">
<text variable="DOI" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="DOI" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else-if>
<else>
<text variable="DOI" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if type="book">
<text variable="edition" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="edition" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else-if>
<else>
<text variable="edition" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="collection-title">
<choose>
<if type="book">
<text variable="collection-title" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="collection-title" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else-if>
<else>
<text variable="collection-title" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="volume">
<choose>
<if type="book">
<text variable="volume" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="volume" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else-if>
<else>
<text variable="volume" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</else>
</choose>
</macro>
<macro name="page">
<choose>
<if type="book">
<text variable="page" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="page" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form="short"/>
</else-if>
<else>
<text variable="page" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form="short"/>
</else>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="book">
<text variable="container-title" font-weight="normal" font-style="normal" text-case="" vertical-align="baseline" form=""/>
</if>
<else-if type="chapter">
<text variable="container-title" font-weight="normal" font-style="normal" text-case="sentence" vertical-align="baseline" form="long"/>
</else-if>
<else>
<text variable="container-title" font-weight="normal" font-style="normal" text-case="capitalize-first" vertical-align="baseline" form="short"/>
</else>
</choose>
</macro>
<macro name="author-short">
<choose>
<if type="book">
<names variable="author">
<name font-weight="normal" font-style="normal" initialize-with="," />
</names>
</if>
<else-if type="chapter">
<names variable="author">
<name font-weight="normal" font-style="normal" form="short" initialize-with=", " />
</names>
</else-if>
<else>
<names variable="author">
<name font-weight="normal" font-style="normal" form="long" initialize-with="," />
</names>
</else>
</choose>
</macro>
<macro name="year-date">
<choose>
<if type="book">
<date variable="issued" font-weight="normal" font-style="normal">
<date-part name="year" form="long" suffix=""/>
</date></if>
<else-if type="chapter">
<date variable="issued" font-weight="normal" font-style="normal">
<date-part name="year" form="long" suffix=""/>
</date></else-if>
<else>
<date variable="issued" font-weight="normal" font-style="normal">
<date-part name="year" form="long" suffix=""/>
</date></else>
</choose>
</macro>
<macro name="author-citation">
<names variable="author">
<name form="short"/>
</names>
</macro>
<citation>
<option name="et-al-min" value="3"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="3"/>
<option name="et-al-subsequent-use-first" value="1"/>
<option name="disambiguate-add-year" value="true"/>
<option name="collapse" value="year-suffix"/>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=": ">
<group delimiter=" ">
<text macro="author-citation"/>
<text macro="year-date"/>
</group>
<text variable="locator"/>
</group>
</layout>
</citation>
<bibliography>
<option name="et-al-min" value="3"/>
<option name="et-al-use-first" value="1"/>
<layout>
<choose>
<if type="book">
<text macro="author-short" prefix="" suffix=". "/>
<text macro="year-date" prefix="" suffix=". "/>
<text macro="title" prefix="<i>" suffix="</i> "/>
<text macro="publisher-place" prefix="" suffix=": "/>
<text macro="publisher" prefix="" suffix="."/>
</if>
<else-if type="chapter">
<text macro="author-short" prefix="" suffix=". "/>
<text macro="title" prefix="" suffix=". "/>
<text macro="editor" prefix="" suffix=" (Ed)"/>
<text macro="container-title" prefix=" <i>" suffix="</i> "/>
<text macro="edition" prefix="" suffix=". "/>
<text macro="publisher-place" prefix="" suffix=": "/>
<text macro="publisher" prefix="" suffix=", "/>
<text macro="page" prefix="" suffix="."/>
</else-if>
<else>
<text macro="author-short" prefix="" suffix=". "/>
<text macro="year-date" prefix="" suffix=". "/>
<text macro="title" prefix="" suffix=". "/>
<text macro="container-title" prefix="<i>" suffix="</i> "/>
<text macro="volume" prefix="" suffix=""/>
<text macro="issue" prefix="(" suffix="): "/>
<text macro="page" prefix="" suffix=". "/>
<text macro="URL" prefix="" suffix=""/>
</else>
</choose>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment