Skip to content

Commit

Permalink
Create annals-of-laboratory-medicine.csl (JabRef#5959)
Browse files Browse the repository at this point in the history
* Create annals-of-laboratory-medicine.csl

* Fix timestamp

* Re-indent CSL styles

* add issns

Co-authored-by: Brenton M. Wiernik <[email protected]>
  • Loading branch information
mcmdma and bwiernik authored Apr 19, 2022
1 parent 80a9506 commit 2f42b8c
Showing 1 changed file with 201 additions and 0 deletions.
201 changes: 201 additions & 0 deletions annals-of-laboratory-medicine.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
<?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" default-locale="en-GB">
<info>
<title>Annals of Laboratory Medicine</title>
<title-short>ALM</title-short>
<id>http://www.zotero.org/styles/annals-of-laboratory-medicine</id>
<link href="http://www.zotero.org/styles/annals-of-laboratory-medicine" rel="self"/>
<link href="http://www.zotero.org/styles/sage-vancouver-brackets" rel="template"/>
<link href="http://www.annlabmed.org/content/authors/file/Author%E2%80%99s_Checklist.pdf?v=2203101106" rel="documentation"/>
<author>
<name>Taeo Ma</name>
<email>[email protected]</email>
</author>
<category citation-format="numeric"/>
<category field="medicine"/>
<summary>Annals of Laboratory Medicine style</summary>
<issn>2234-3806</issn>
<eissn>2234-3814</eissn>
<updated>2022-03-10T09:47:13+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="short" prefix=" (" suffix=")" strip-periods="true"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")" strip-periods="true"/>
</names>
</macro>
<macro name="date">
<choose>
<if type="article-newspaper report" match="any">
<date variable="issued" form="text"/>
</if>
<else>
<date variable="issued" form="text" date-parts="year"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<group delimiter=" ">
<text variable="genre" text-case="title"/>
<text variable="number"/>
</group>
<group delimiter=": ">
<choose>
<if type="thesis" match="none">
<text variable="publisher-place"/>
</if>
</choose>
<text variable="publisher"/>
</group>
<choose>
<if variable="URL" match="none">
<text macro="date"/>
</if>
</choose>
</group>
</macro>
<macro name="access">
<choose>
<if variable="page" match="none">
<choose>
<if variable="DOI" match="any">
<group prefix=". " delimiter=". ">
<date variable="issued" form="text" prefix="Epub ahead of print "/>
<text variable="DOI" prefix="DOI: "/>
</group>
</if>
<else>
<group delimiter=" " prefix=", ">
<text variable="URL"/>
<text macro="accessed-date"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group prefix="(" suffix=")" delimiter=", ">
<text macro="date"/>
<group delimiter=" ">
<text term="accessed"/>
<date variable="accessed" form="text"/>
</group>
</group>
</if>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal" match="any">
<text variable="container-title" form="short" strip-periods="true"/>
</if>
<else>
<text variable="container-title"/>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book patent report thesis" match="any">
<text variable="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="page">
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter=", " prefix="[" suffix="]">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" prefix="" suffix=". "/>
<text macro="author"/>
<text macro="title"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture patent report song thesis" match="any">
<group delimiter=". " prefix=". ">
<text term="in" suffix=": " text-case="capitalize-first"/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=", " prefix=". ">
<group delimiter=". ">
<group delimiter=" ">
<text term="in" suffix=": " text-case="capitalize-first"/>
<text macro="editor"/>
<text variable="container-title"/>
</group>
<text macro="publisher"/>
</group>
<text macro="page"/>
</group>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<group delimiter=", " prefix=". ">
<text macro="container-title"/>
<text macro="date"/>
<text macro="page"/>
</group>
</else-if>
<else>
<group delimiter=";" prefix=". ">
<group delimiter=" ">
<text macro="container-title"/>
<choose>
<if variable="page" match="any">
<text macro="date"/>
</if>
</choose>
</group>
<group delimiter=":">
<text variable="volume"/>
<text variable="page"/>
</group>
</group>
</else>
</choose>
<text macro="access"/>
</layout>
</bibliography>
</style>

0 comments on commit 2f42b8c

Please sign in to comment.