Skip to content

Commit

Permalink
Create sn-computer-science.csl (#6228)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Nov 5, 2022
1 parent a0d09b4 commit 0d91742
Showing 1 changed file with 169 additions and 0 deletions.
169 changes: 169 additions & 0 deletions sn-computer-science.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" page-range-format="minimal" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>SN Computer Science</title>
<id>http://www.zotero.org/styles/sn-computer-science</id>
<link href="http://www.zotero.org/styles/sn-computer-science" rel="self"/>
<link href="http://www.zotero.org/styles/elsevier-vancouver" rel="template"/>
<link href="https://www.springer.com/journal/42979/submission-guidelines#Instructions%20for%20Authors_References" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="numeric"/>
<category field="generic-base"/>
<issn>2662-995X</issn>
<eissn>2661-8907</eissn>
<updated>2022-09-15T14:03:11+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">
<name initialize-with="" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all" sort-separator=" "/>
<label form="long" prefix=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name initialize-with="" delimiter=", " delimiter-precedes-last="always" name-as-sort-order="all" sort-separator=" "/>
<label form="long" prefix=", " suffix="."/>
</names>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter="; ">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="year-date"/>
</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"/>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else-if type="webpage post-weblog post" match="any">
<choose>
<if variable="URL">
<group delimiter=". ">
<text variable="URL"/>
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text"/>
</group>
</group>
</if>
</choose>
</else-if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter=", " prefix="[" suffix="]">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography entry-spacing="0" second-field-align="flush" et-al-min="7" et-al-use-first="6">
<layout suffix=".">
<text variable="citation-number" suffix="."/>
<text macro="author" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=". ">
<text variable="title"/>
<text variable="volume" prefix="vol. "/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=". ">
<group delimiter=". ">
<text variable="title"/>
<group>
<text term="in" text-case="sentence" suffix=": "/>
<text macro="editor"/>
</group>
<group delimiter=", ">
<text variable="container-title" form="short"/>
<text variable="volume" prefix="vol. "/>
</group>
<text macro="edition"/>
</group>
<text macro="publisher"/>
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</group>
</else-if>
<else-if type="patent">
<group delimiter=", ">
<group delimiter=". ">
<text variable="title"/>
<text variable="number"/>
</group>
<text macro="year-date"/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=". ">
<text variable="title"/>
<text variable="genre"/>
<group delimiter=", ">
<text variable="publisher"/>
<text macro="year-date"/>
</group>
</group>
</else-if>
<else>
<group delimiter=":">
<group delimiter=";">
<group delimiter=". ">
<text variable="title"/>
<text variable="container-title" form="short" text-case="title" strip-periods="true"/>
<text macro="year-date"/>
</group>
<group delimiter=":">
<text variable="volume"/>
<text variable="page" form="short"/>
</group>
</group>
</group>
</else>
</choose>
<text macro="access" prefix=". "/>
</layout>
</bibliography>
</style>

0 comments on commit 0d91742

Please sign in to comment.