Skip to content

Commit

Permalink
Create crispr-journal.csl (#5249)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmalloy authored Feb 8, 2021
1 parent a217299 commit 5d9560b
Showing 1 changed file with 208 additions and 0 deletions.
208 changes: 208 additions & 0 deletions the-crispr-journal.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
<?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-US">
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
<info>
<title>The CRISPR Journal</title>
<title-short>CRISPR J</title-short>
<id>http://www.zotero.org/styles/the-crispr-journal</id>
<link href="http://www.zotero.org/styles/the-crispr-journal" rel="self"/>
<link href="http://www.zotero.org/styles/sage-vancouver" rel="template"/>
<link href="https://home.liebertpub.com/publications/the-crispr-journal/642/for-authors" rel="documentation"/>
<author>
<name>Heather Malloy</name>
</author>
<category citation-format="numeric"/>
<category field="biology"/>
<category field="medicine"/>
<issn>2573-1599</issn>
<eissn>2573-1602</eissn>
<updated>2021-02-05T01:22:24+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>
<locale xml:lang="en">
<terms>
<term name="available at">available from</term>
</terms>
</locale>
<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" strip-periods="true" prefix=" (" suffix=")"/>
</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=". ">
<group delimiter=": ">
<text term="available at" text-case="capitalize-first"/>
<text variable="URL"/>
</group>
<text macro="accessed-date"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group delimiter=". ">
<text macro="date"/>
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<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" font-style="normal"/>
</if>
<else>
<text variable="container-title" font-style="italic"/>
</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="," vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography delimiter-precedes-et-al="always" et-al-min="4" et-al-use-first="3" second-field-align="flush" line-spacing="2">
<layout suffix=".">
<text variable="citation-number" 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 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" font-style="normal"/>
</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" prefix=" "/>
</layout>
</bibliography>
</style>

0 comments on commit 5d9560b

Please sign in to comment.