Created
May 24, 2012 10:13
-
-
Save anonymous/2780653 to your computer and use it in GitHub Desktop.
BMJ style for Allergy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>BMJ for Allergy</title> | |
<id>http://www.zotero.org/styles/bmj-allergy</id> | |
<link href="http://www.zotero.org/styles/bmj-allergy" rel="self"/> | |
<author> | |
<name>Sebastian Karcher</name> | |
</author> | |
<contributor> | |
<name>Sean Takats</name> | |
<email>stakats@gmu.edu</email> | |
</contributor> | |
<contributor> | |
<name>Michael Berkowitz</name> | |
<email>mberkowi@gmu.edu</email> | |
</contributor> | |
<contributor> | |
<name>Brian Vegas, COPSAC</name> | |
</contributor> | |
<category field="medicine"/> | |
<category citation-format="numeric"/> | |
<updated>2012-05-24T11:20:01+00:00</updated> | |
<summary>Vancouver style adapted for BMJ journals - Allergy style</summary> | |
<link href="http://group.bmj.com/products/journals/instructions-for-authors/formatting#references" rel="documentation"/> | |
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights> | |
</info> | |
<macro name="author"> | |
<names variable="author" suffix=". "> | |
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/> | |
<label form="long" prefix=", " text-case="lowercase"/> | |
<et-al term="et-al" font-style="italic"/> | |
<substitute> | |
<names variable="editor"/> | |
</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"/> | |
<label form="short" prefix=", " text-case="lowercase"/> | |
<et-al term="et-al" font-style="italic"/> | |
</names> | |
</macro> | |
<macro name="publisher"> | |
<group delimiter=": " suffix=" "> | |
<text variable="publisher-place" suffix=": "/> | |
<text variable="publisher" suffix=" "/> | |
</group> | |
<text macro="date" suffix=". "/> | |
</macro> | |
<macro name="access"> | |
<choose> | |
<if variable="page" match="none"> | |
<choose> | |
<if variable="DOI"> | |
<text variable="DOI" prefix=" doi:"/> | |
</if> | |
<else-if variable="URL"> | |
<text variable="URL"/> | |
<group prefix=" (" suffix=")." delimiter=" "> | |
<text term="accessed" text-case="lowercase"/> | |
<date variable="accessed" suffix=""> | |
<date-part name="day" prefix=" "/> | |
<date-part name="month" prefix=" " form="short" strip-periods="true"/> | |
<date-part name="year"/> | |
</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"/> | |
</if> | |
<else> | |
<text variable="container-title" suffix=". " form="short"/> | |
</else> | |
</choose> | |
</macro> | |
<macro name="date"> | |
<!--Print full date as "Published online first" for | |
journal articles w/o volume and page range and with DOI or URL --> | |
<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 name="month" form="long" text-case="capitalize-first"/> | |
<date-part name="year"/> | |
</date> | |
</group> | |
</if> | |
<else> | |
<date variable="issued"> | |
<date-part name="year"/> | |
</date> | |
</else> | |
</choose> | |
</if> | |
<else> | |
<date variable="issued"> | |
<date-part name="year"/> | |
</date> | |
</else> | |
</choose> | |
</if> | |
<else> | |
<date variable="issued"> | |
<date-part name="year"/> | |
</date> | |
</else> | |
</choose> | |
</macro> | |
<macro name="title"> | |
<choose> | |
<if type="book thesis" match="any"> | |
<text variable="title" font-style="italic"/> | |
</if> | |
<else> | |
<text variable="title"/> | |
</else> | |
</choose> | |
</macro> | |
<macro name="edition"> | |
<choose> | |
<if is-numeric="edition"> | |
<group delimiter=" "> | |
<number variable="edition" form="ordinal"/> | |
<text term="edition" form="short" suffix="." strip-periods="true"/> | |
</group> | |
</if> | |
<else> | |
<text variable="edition" suffix="."/> | |
</else> | |
</choose> | |
</macro> | |
<citation collapse="citation-number"> | |
<sort> | |
<key variable="citation-number"/> | |
</sort> | |
<layout prefix="(" suffix=")" delimiter=","> | |
<text variable="citation-number"/> | |
</layout> | |
</citation> | |
<bibliography et-al-min="6" et-al-use-first="6" second-field-align="flush"> | |
<layout> | |
<text variable="citation-number" suffix="."/> | |
<text macro="author"/> | |
<text macro="title" suffix=". "/> | |
<choose> | |
<if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | |
<text macro="edition" prefix=" "/> | |
<text macro="publisher" prefix=" "/> | |
</if> | |
<else-if type="chapter paper-conference" match="any"> | |
<group prefix=" " suffix="."> | |
<text term="in" suffix=": " text-case="capitalize-first"/> | |
<text macro="editor"/> | |
<text variable="container-title" font-style="italic"/> | |
</group> | |
<text macro="publisher" prefix=" "/> | |
<text variable="page" suffix="."/> | |
</else-if> | |
<else> | |
<text macro="journal-title"/> | |
<group suffix="."> | |
<text macro="date" prefix=" "/> | |
<group prefix=";"> | |
<text variable="volume" font-weight="bold"/> | |
<text variable="page" prefix=":"/> | |
</group> | |
</group> | |
</else> | |
</choose> | |
<text macro="access"/> | |
</layout> | |
</bibliography> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment