Skip to content

Instantly share code, notes, and snippets.

@fbennett
Created April 16, 2011 12:13
Show Gist options
  • Save fbennett/923072 to your computer and use it in GitHub Desktop.
Save fbennett/923072 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>Publi NIMB</title>
<id>http://www.zotero.org/styles/elsevier-with-titles</id>
<link href="http://www.zotero.org/styles/elsevier-with-titles"/>
<author>
<name>Jean-Christophe Nappé, d'après un style écrit par Richard Karnesky</name>
<email>nappe_jchristophe@yahoo.fr</email>
<uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
</author>
<contributor>
<name>Rintze Zelle</name>
<uri>http://forums.zotero.org/account/831/</uri>
</contributor>
<category term="generic-base"/>
<category term="numeric"/>
<updated>2008-11-11T20:34:47+00:00</updated>
<summary>Style pour mon mémoire de thèse</summary>
<link href="http://www.zotero.org/styles/elsevier-without-titles.csl" rel="template"/>
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License: http://creativecommons.org/licenses/by-sa/3.0/us/</rights>
</info>
<macro name="author">
<names variable="author">
<name delimiter-precedes-last="always" delimiter=", " name-as-sort-order="all" />
<label form="short" prefix=", " text-case="lowercase" suffix="."/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name initialize-with="."
delimiter=", "
delimiter-precedes-last="always"
name-as-sort-order="all"
and="text"/>
<label form="short"
prefix=" ("
text-case="capitalize-first"
suffix=".)"/>
</names>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
</choose>
</macro>
<macro name="publisher">
<text variable="publisher-place" suffix=", "/>
<text variable="publisher" suffix=" "/>
<text macro="year-date" prefix="(" suffix=")"/>
</macro>
<macro name="edition">
<!--TODO: CSL should have low numeric be text (e.g. '3'->'third')-->
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<citation>
<option name="collapse" value="citation-number"/>
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography>
<option name="entry-spacing" value="0"/>
<option name="second-field-align" value="true"/>
<layout suffix=".">
<text variable="citation-number" prefix="[" suffix="]"/>
<text macro="author" prefix=" " suffix=", "/>
<choose>
<if type="book">
<group delimiter=" ">
<text variable="title" suffix=","/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter">
<group delimiter=" ">
<text variable="title" suffix=","/>
<text variable="container-title" form="short" text-case="title" suffix=","/>
<text variable="volume" suffix=","/>
<text macro="edition" suffix=","/>
<text macro="publisher"/>
<text variable="page" />
</group>
</else-if>
<else-if type="patent">
<group delimiter=" ">
<text variable="title" suffix=","/>
<text variable="page" suffix=","/>
<text variable="number" />
<text macro="year-date" prefix="(" suffix=")"/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=" ">
<text variable="title" suffix=","/>
<text variable="genre" suffix="."/>
<text variable="publisher"/>
<text macro="year-date" prefix="(" suffix=")"/>
<text variable="page" />
</group>
</else-if>
<else-if type="speech">
<group delimiter=" ">
<text variable="title" suffix=","/>
<text variable="genre" suffix="."/>
<text variable="publisher"/>
<text variable="publisher-place"/>
<text macro="year-date" prefix="(" suffix=")"/>
</group>
</else-if>
<else-if type="webpage">
<group delimiter=" ">
<text variable="URL"
prefix="&lt;"
suffix="&gt;." />
</group>
</else-if>
<else>
<group delimiter=" ">
<text variable="title" suffix=","/>
<text variable="container-title" form="short" text-case="title" />
<text variable="volume" />
<text macro="year-date" prefix="(" suffix=")"/>
<text variable="page" />
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment