Skip to content

Commit

Permalink
Create qeios.csl (#5261)
Browse files Browse the repository at this point in the history
  • Loading branch information
QeiosLab committed Feb 18, 2021
1 parent 86347b7 commit 1fc979e
Showing 1 changed file with 391 additions and 0 deletions.
391 changes: 391 additions & 0 deletions qeios.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,391 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US">
<info>
<title>Qeios</title>
<id>http://www.zotero.org/styles/qeios</id>
<link href="http://www.zotero.org/styles/qeios" rel="self"/>
<link href="http://www.zotero.org/styles/vancouver" rel="template"/>
<link href="https://www.qeios.com/posting-policy#references" rel="documentation"/>
<author>
<name>Alberto Marinello</name>
<email>am@qeios.com</email>
</author>
<contributor>
<name>Gabriele Marinello</name>
</contributor>
<contributor>
<name>Marcello Fuschi</name>
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<issn>2632-3834</issn>
<updated>2021-01-24T12:23:44+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">
<date form="text" delimiter=" ">
<date-part name="day"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="year"/>
</date>
<terms>
<term name="collection-editor" form="long">
<single>editor</single>
<multiple>editors</multiple>
</term>
<term name="presented at">presented at</term>
<term name="retrieved">available from</term>
<term name="section" form="short">sect.</term>
<term name="et-al">et al.</term>
<term name="page" form="short">
<single>p.</single>
<multiple>pp.</multiple>
</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name delimiter=", " delimiter-precedes-et-al="always" et-al-min="6" et-al-use-first="5" initialize="false" initialize-with=". "/>
<label form="long"/>
<et-al term="et-al"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor" suffix=".">
<name delimiter=", " delimiter-precedes-et-al="always" et-al-min="6" et-al-use-first="5" initialize="false" initialize-with=". "/>
<label form="long"/>
<et-al term="et-al"/>
</names>
</macro>
<macro name="chapter-marker">
<choose>
<if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
<text term="in" text-case="capitalize-first" font-style="italic"/>
</if>
</choose>
</macro>
<macro name="date">
<choose>
<if type="article-journal article-magazine article-newspaper book paper-conference review review-book thesis" match="any">
<choose>
<if variable="issued" match="all">
<date variable="issued">
<date-part name="year" prefix="(" suffix=")"/>
</date>
</if>
</choose>
</if>
<else-if type="report">
<date variable="issued" delimiter=" " prefix="(" suffix=")">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
</date>
</else-if>
</choose>
</macro>
<macro name="extended-date">
<choose>
<if type="article-journal article-magazine article-newspaper book paper-conference review review-book thesis" match="any">
<choose>
<if variable="issued" match="none">
<text macro="accessed-date"/>
</if>
</choose>
</if>
<else-if type="bill legislation" match="any">
<group delimiter=", ">
<date variable="issued" delimiter=" ">
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="patent">
<group suffix=".">
<group delimiter=", ">
<text variable="number"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</group>
</else-if>
<else-if type="speech">
<group delimiter="; ">
<group delimiter=" ">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
</group>
<text variable="event-place"/>
</group>
</else-if>
<else-if type="post-weblog webpage" match="any">
<date variable="issued" form="text"/>
<group prefix="[" suffix="]" delimiter=" ">
<text term="cited" text-case="lowercase"/>
<date variable="accessed" form="text"/>
</group>
</else-if>
<else>
<group suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else>
</choose>
</macro>
<macro name="title">
<text variable="title"/>
<choose>
<if type="book chapter" match="any">
<text macro="edition" prefix=". "/>
</if>
</choose>
<choose>
<if type="song motion_picture" match="any">
<text variable="medium" prefix=" [" suffix="]"/>
</if>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage post report" match="any">
<group suffix="." delimiter=" ">
<choose>
<if type="article-journal report" match="any">
<text variable="container-title" font-style="italic" form="short" strip-periods="true"/>
</if>
<else-if type="post-weblog webpage post" match="any">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":" font-style="italic"/>
<text variable="container-title" font-style="italic"/>
<choose>
<if variable="URL">
<text term="internet" prefix="[" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</group>
</else-if>
<else>
<text variable="container-title" font-style="italic" strip-periods="true"/>
</else>
</choose>
</group>
<text macro="edition" prefix=" "/>
</if>
<else-if type="bill legislation" match="any">
<group delimiter=", ">
<group delimiter=". ">
<text variable="container-title"/>
<group delimiter=" ">
<text term="section" form="short" text-case="capitalize-first"/>
<text variable="section"/>
</group>
</group>
<text variable="number"/>
</group>
</else-if>
<else-if type="speech">
<group delimiter=": " suffix=";">
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"/>
<text term="presented at"/>
</group>
<text variable="event"/>
</group>
</else-if>
<else>
<text variable="container-title" suffix="."/>
</else>
</choose>
</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>
<macro name="locators">
<choose>
<if type="article-journal article-magazine review review-book" match="any">
<text variable="volume" font-weight="bold"/>
<text variable="issue" prefix="(" suffix=")"/>
</if>
</choose>
</macro>
<macro name="pages">
<choose>
<if type="article-journal article-magazine article-newspaper review review-book" match="any">
<text variable="page" prefix=":"/>
</if>
<else-if type="book" match="any">
<text variable="number-of-pages" prefix=" "/>
<choose>
<if is-numeric="number-of-pages">
<label variable="number-of-pages" form="short" prefix=" "/>
</if>
</choose>
</else-if>
<else>
<group prefix=" " delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="thesis">
<group delimiter=", " suffix=".">
<text variable="genre" text-case="capitalize-first"/>
<text variable="publisher" font-style="italic"/>
</group>
</if>
<else>
<choose>
<if type="article-newspaper article-journal article-magazine" match="none">
<group delimiter=": ">
<choose>
<if type="speech" match="any"/>
<else>
<text variable="publisher-place"/>
</else>
</choose>
<text variable="publisher" font-style="italic"/>
</group>
</if>
</choose>
</else>
</choose>
</macro>
<macro name="collection-details">
<choose>
<if type="article-journal article-magazine article-newspaper review review-book" match="none">
<choose>
<if variable="collection-title">
<group delimiter=" " prefix="(" suffix=")">
<names variable="collection-editor" suffix=".">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", "/>
</names>
<group delimiter="; ">
<text variable="collection-title"/>
<group delimiter=" ">
<label variable="volume" form="short"/>
<text variable="volume"/>
</group>
</group>
</group>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="report-details">
<choose>
<if type="report">
<text variable="number" prefix="Report No.: "/>
</if>
</choose>
</macro>
<macro name="access">
<group delimiter=". ">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</if>
<else-if variable="URL">
<group delimiter=". ">
<group delimiter=": ">
<text term="retrieved" text-case="capitalize-first"/>
<text variable="URL"/>
</group>
<choose>
<if type="article-newspaper article-magazine" match="any">
<group delimiter=" " suffix=".">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
</group>
</else-if>
</choose>
<choose>
<if type="book chapter review-book" match="any">
<text variable="ISBN" prefix="ISBN "/>
</if>
</choose>
</group>
<group delimiter="; ">
<text variable="PMID" prefix="PubMed PMID: "/>
<text variable="PMCID" prefix="PubMed Central PMCID: "/>
</group>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group prefix="[" suffix="]" delimiter=" ">
<text term="cited" text-case="lowercase"/>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="{m/" suffix="/}" delimiter="," vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="6" et-al-use-first="5" entry-spacing="1" line-spacing="1">
<layout>
<text variable="citation-number" prefix="{r/" suffix="/ "/>
<group suffix=" /}">
<group delimiter=". " suffix=". ">
<text macro="author"/>
<text macro="date"/>
<text macro="title"/>
</group>
<group delimiter=" " suffix=". ">
<group delimiter=": ">
<text macro="chapter-marker"/>
<group delimiter=" ">
<text macro="editor"/>
<text macro="container-title"/>
</group>
<text macro="publisher"/>
</group>
<group>
<text macro="extended-date"/>
<text macro="locators"/>
<text macro="pages"/>
</group>
</group>
<text macro="collection-details" suffix=". "/>
<text macro="report-details" suffix=". "/>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>

0 comments on commit 1fc979e

Please sign in to comment.