Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save deepankardatta/3107878 to your computer and use it in GitHub Desktop.
Save deepankardatta/3107878 to your computer and use it in GitHub Desktop.
Style for European Journal of Emergency Medicine (EJEM)
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="minimal" default-locale="en-GB">
<info>
<title>European Journal of Emergency Medicine</title>
<id>cslEditor/http://www.zotero.org/styles/european-journal-of-emergency-medicine</id>
<author>
<name>Deepankar Datta</name>
<email>deepankardatta@nhs.net</email>
</author>
<category field="medicine"></category>
<category citation-format="numeric"></category>
<updated>2012-07-13T22:04:55+00:00</updated>
<summary>Vancouver style adapted for EJEM</summary>
<link href="http://edmgr.ovid.com/ejem/accounts/ifauth.htm" rel="documentation"></link>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
<link href="http://www.zotero.org/styles/european-journal-of-emergency-medicine" rel="self"></link>
<issn>0969-9546</issn>
<issn>1473-5695</issn>
</info>
<macro name="author">
<names variable="author" suffix=". ">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"></name>
<label form="long" prefix=", " text-case="lowercase"></label>
<et-al term="et-al" font-style="italic"></et-al>
<substitute>
<names variable="editor"></names>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor" suffix=". ">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"></name>
<label form="short" prefix=", " text-case="lowercase"></label>
<et-al term="et-al" font-style="italic"></et-al>
</names>
</macro>
<macro name="publisher">
<group delimiter=": " suffix=" ">
<text variable="publisher-place" suffix=": "></text>
<text variable="publisher" suffix=" "></text>
</group>
<text macro="date" suffix=". "></text>
</macro>
<macro name="access">
<choose>
<if variable="page" match="none">
<choose>
<if variable="DOI">
<text variable="DOI" prefix=" doi:"></text>
</if>
<else-if variable="URL">
<text variable="URL"></text>
<group prefix=" (" suffix=")." delimiter=" ">
<text term="accessed" text-case="lowercase"></text>
<date variable="accessed" suffix="">
<date-part name="day" prefix=" "></date-part>
<date-part name="month" prefix=" " form="short" strip-periods="true"></date-part>
<date-part name="year"></date-part>
</date>
</group>
</else-if>
</choose>
</if>
</choose>
</macro>
<macro name="journal-title">
<choose>
<if type="article-journal article-magazine" match="any">
<text variable="container-title" form="short" font-style="italic" strip-periods="true"></text>
</if>
<else>
<text variable="container-title" suffix=". " form="short"></text>
</else>
</choose>
</macro>
<macro name="date">
<choose>
<if type="article-journal">
<choose>
<if variable="volume page" match="none">
<choose>
<if variable="DOI URL" match="any">
<group prefix="Published Online First: ">
<date variable="issued" delimiter=" ">
<date-part name="day"></date-part>
<date-part name="month" form="long" text-case="capitalize-first"></date-part>
<date-part name="year"></date-part>
</date>
</group>
</if>
<else>
<date variable="issued">
<date-part name="year"></date-part>
</date>
</else>
</choose>
</if>
<else>
<date variable="issued">
<date-part name="year"></date-part>
</date>
</else>
</choose>
</if>
<else>
<date variable="issued">
<date-part name="year"></date-part>
</date>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book thesis" match="any">
<text variable="title" font-style="italic"></text>
</if>
<else>
<text variable="title"></text>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"></number>
<text term="edition" form="short" suffix="." strip-periods="true"></text>
</group>
</if>
<else>
<text variable="edition" suffix="."></text>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"></key>
</sort>
<layout prefix="[" suffix="]" delimiter=",">
<text variable="citation-number"></text>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
<layout>
<text variable="citation-number" suffix=" "></text>
<text macro="author"></text>
<text macro="title" suffix=". "></text>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" "></text>
<text macro="publisher" prefix=" "></text>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=".">
<text term="in" suffix=": " text-case="capitalize-first"></text>
<text macro="editor"></text>
<text variable="container-title" font-style="italic"></text>
</group>
<text macro="publisher" prefix=" "></text>
<text variable="page" suffix="."></text>
</else-if>
<else>
<text macro="journal-title"></text>
<group suffix=".">
<text macro="date" prefix=" "></text>
<group prefix=";">
<text variable="volume" font-weight="bold"></text>
<text variable="page" prefix=":"></text>
</group>
</group>
</else>
</choose>
<text macro="access"></text>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment