Skip to content

Commit

Permalink
Create carbohydrate-research.csl
Browse files Browse the repository at this point in the history
Style for an Elsevier nonstandard journal with slight changes to the Vancouver style
  • Loading branch information
Sankar-GEO-ELS committed Feb 27, 2015
1 parent c8e8b22 commit 28ca6d6
Showing 1 changed file with 221 additions and 0 deletions.
221 changes: 221 additions & 0 deletions carbohydrate-research.csl
@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" page-range-format="minimal" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Carbohydrate Research</title>
<title-short>CAR</title-short>
<id>http://www.zotero.org/styles/carbohydrate-research</id>
<link href="http://www.zotero.org/styles/carbohydrate-research" rel="self"/>
<link href="http://www.zotero.org/styles/elsevier-vancouver" rel="template"/>
<link href="http://www.elsevier.com/journals/carbohydrate-research/0008-6215/guide-for-authors" rel="documentation"/>
<author>
<name>Sankar</name>
<email>s.murugesan@elsevier.com</email>
</author>
<category citation-format="numeric"/>
<category field="chemistry"/>
<issn>0008-6215</issn>
<eissn>1873-426X</eissn>
<summary>A style for some Elsevier journals, resembles Vancouver style</summary>
<updated>2015-02-23T10:00:00+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="http://dx.doi.org/"/>
</if>
<else-if type="webpage post-weblog" match="any">
<choose>
<if variable="URL">
<group delimiter=". ">
<text variable="URL" prefix=" Available at: "/>
<date variable="accessed" prefix="Accessed " form="text"/>
</group>
</if>
</choose>
</else-if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name suffix="." form="long" initialize="true" initialize-with="." delimiter="; " delimiter-precedes-et-al="always" delimiter-precedes-last="contextual" name-as-sort-order="all" sort-separator=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name form="long" initialize="true" initialize-with=". " delimiter=", " delimiter-precedes-et-al="always" delimiter-precedes-last="contextual" name-as-sort-order="all" sort-separator=", "/>
<label form="short" prefix=", " plural="contextual" suffix="; " text-case="capitalize-first" strip-periods="true"/>
</names>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year" form="long" range-delimiter=""/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="journal-location">
<choose>
<if type="article-journal article-magazine" match="any">
<text variable="volume" form="long"/>
<text variable="issue" prefix="(" suffix=")"/>
</if>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<group delimiter=": ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
<text macro="year-date"/>
</group>
</macro>
<macro name="publisher_chapter">
<group delimiter=", ">
<group delimiter=": ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
<text macro="year-date" suffix="; "/>
</group>
</macro>
<macro name="publisher_thesis">
<group delimiter=", ">
<text variable="publisher" form="long"/>
<text variable="publisher-place" form="long"/>
</group>
</macro>
<macro name="edition_book">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" strip-periods="true" suffix=";"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<macro name="edition_chapter">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number" sort="ascending"/>
</sort>
<layout delimiter=",">
<text variable="citation-number" vertical-align="sup"/>
</layout>
</citation>
<bibliography entry-spacing="0" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" suffix="."/>
<text macro="author" suffix=" "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=". ">
<text variable="title" form="long" font-style="italic"/>
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first"/>
<text variable="volume"/>
</group>
<text macro="edition_book"/>
<text macro="publisher"/>
<group delimiter=" ">
<label variable="page" form="short" plural="contextual" strip-periods="true"/>
<text variable="page" form="long"/>
</group>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=" ">
<group delimiter=". ">
<text variable="title" form="long"/>
<text term="in" form="short" text-case="capitalize-first"/>
</group>
<group delimiter=", ">
<text variable="container-title" font-style="italic"/>
<group delimiter="; ">
<text macro="edition_chapter" strip-periods="true"/>
<text macro="editor"/>
</group>
</group>
</group>
<text macro="publisher_chapter"/>
<choose>
<if variable="volume">
<text term="volume" form="short" text-case="capitalize-first"/>
<text variable="volume" suffix=", "/>
</if>
<else>
<text variable="volume"/>
</else>
</choose>
<label strip-periods="true" suffix=" " variable="page" form="short"/>
<text variable="page" form="long"/>
</else-if>
<else-if type="patent">
<group delimiter=", ">
<group delimiter=". ">
<text variable="title" form="long"/>
<text variable="number" form="long"/>
</group>
<text macro="year-date"/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=" ">
<text variable="title" form="long" suffix="."/>
<text variable="genre" form="long" suffix=","/>
<text macro="publisher_thesis" suffix="," text-case="title"/>
<text macro="year-date"/>
</group>
</else-if>
<else-if type="webpage">
<group delimiter=" ">
<text variable="title" form="long" suffix="."/>
<text variable="container-title" form="long" suffix="." text-case="title" font-style="italic"/>
<text macro="access"/>
</group>
</else-if>
<else>
<group delimiter=", ">
<group delimiter=", ">
<group delimiter=". ">
<text variable="container-title" form="short" text-case="title" strip-periods="false" font-style="italic"/>
</group>
<group delimiter=", ">
<text macro="year-date" font-weight="bold"/>
<text macro="journal-location" font-style="italic"/>
</group>
</group>
<text variable="page" form="long"/>
</group>
<text macro="access" prefix=". "/>
</else>
</choose>
</layout>
</bibliography>
</style>

0 comments on commit 28ca6d6

Please sign in to comment.