Skip to content

Commit

Permalink
some fixes to Allergy style (randomly stumbled on this. It would real…
Browse files Browse the repository at this point in the history
…ly be nice if we could do some more quality control. Crowd source it?
  • Loading branch information
adam3smith committed Aug 28, 2013
1 parent cc059e1 commit 76fbf6d
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions allergy.csl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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">
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="expanded" default-locale="en-GB">
<info>
<title>Allergy</title>
<id>http://www.zotero.org/styles/allergy</id>
Expand All @@ -10,18 +10,20 @@
<name>Brian Vegas</name>
<uri>http://www.copsac.com/</uri>
</author>
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<category citation-format="numeric"/>
<category field="medicine"/>
<issn>0105-4538</issn>
<eissn>1398-9995</eissn>
<updated>2012-09-27T22:06:38+00:00</updated>
<updated>2013-04-02T02:07:39+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"/>
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always" delimiter-precedes-et-al="never"/>
<label form="long" prefix=", "/>
<substitute>
<names variable="editor"/>
</substitute>
Expand All @@ -30,16 +32,17 @@
<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"/>
<label prefix=", "/>
</names>
</macro>
<macro name="publisher">
<group delimiter=": " suffix=" ">
<text variable="publisher-place" suffix=": "/>
<text variable="publisher" suffix=" "/>
<group delimiter=" ">
<group delimiter=": " >
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="date"/>
</group>
<text macro="date" suffix=". "/>
</macro>
<macro name="access">
<choose>
Expand Down Expand Up @@ -75,7 +78,7 @@
</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 -->
journal articles w/o volume and page range and with DOI or URL -->
<choose>
<if type="article-journal">
<choose>
Expand Down Expand Up @@ -142,7 +145,7 @@
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="6" et-al-use-first="6" second-field-align="flush">
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
<layout>
<text variable="citation-number" suffix="."/>
<text macro="author"/>
Expand All @@ -158,8 +161,10 @@
<text macro="editor"/>
<text variable="container-title" font-style="italic"/>
</group>
<text macro="publisher" prefix=" "/>
<text variable="page" suffix="."/>
<group delimiter=": " prefix=" ">
<text macro="publisher"/>
<text variable="page" suffix="."/>
</group>
</else-if>
<else>
<text macro="journal-title"/>
Expand Down

0 comments on commit 76fbf6d

Please sign in to comment.