Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #284 from kpiipari/master

Changes in BMJ styles
  • Loading branch information...
commit 0dec39ec7ae7018cb66544bfad4267f7eee98c56 2 parents 80c50ec + f5c9e1c
@cparnot cparnot authored
View
4 bmj.csl
@@ -19,7 +19,7 @@
<category citation-format="numeric"/>
<category field="medicine"/>
<summary>Vancouver style adapted for BMJ journals</summary>
- <updated>2012-10-15T05:08:46+00:00</updated>
+ <updated>2012-11-14T12: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="author">
@@ -147,7 +147,7 @@
<text variable="citation-number"/>
</layout>
</citation>
- <bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
+ <bibliography et-al-min="4" et-al-use-first="3" second-field-align="flush">
<layout>
<text variable="citation-number" suffix=" "/>
<text macro="author"/>
View
12 dependent/journal-of-medical-genetics.csl
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
- <info>
- <title>Journal of Medical Genetics</title>
- <id>http://www.zotero.org/styles/journal-of-medical-genetics</id>
- <link href="http://www.zotero.org/styles/bmj" rel="independent-parent"/>
- <category citation-format="numeric"/>
- <category field="medicine"/>
- <updated>2012-09-09T21:58:08+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>
-</style>
View
180 journal-of-medical-genetics.csl
@@ -0,0 +1,180 @@
+<?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>Journal of Medical Genetics</title>
+ <id>http://www.zotero.org/styles/journal-of-medical-genetics</id>
+ <link href="http://www.zotero.org/styles/journal-of-medical-genetics" rel="self"/>
+ <link href="http://www.zotero.org/styles/bmj" rel="template"/>
+<!-- From the documentation: "List the names and initials of all authors if there are 3 or fewer; otherwise list the first 3 and add et al. (The exception is the Journal of Medical Genetics, which lists all authors.)" -->
+ <link href="http://group.bmj.com/products/journals/instructions-for-authors/formatting#references" rel="documentation"/>
+ <author>
+ <name>Kaisa Piipari</name>
+ <email>kaisa@mekentosj.com</email>
+ <uri>http://twitter.com/kaisapii</uri>
+ </author>
+ <category citation-format="numeric"/>
+ <category field="medicine"/>
+ <issn>0022-2593</issn>
+ <eissn>1468-6244</eissn>
+ <updated>2012-11-14T12: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="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 vertical-align="sup" delimiter=" ">
+ <text variable="citation-number"/>
+ </layout>
+ </citation>
+ <bibliography 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>
Please sign in to comment.
Something went wrong with that request. Please try again.