Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create elsevier-vancouver-author-date-alphabetical.csl #7397

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 184 additions & 0 deletions elsevier-vancouver-author-date-alphabetical.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
<?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>Elsevier - Vancouver (author-date; sorted alphabetical)</title>
<id>http://www.zotero.org/styles/elsevier-vancouver-author-date-alphabetical</id>
<link href="http://www.zotero.org/styles/elsevier-vancouver-author-date-alphabetical" rel="self"/>
<link href="http://www.zotero.org/styles/elsevier-vancouver-author-date" rel="template"/>
<link href="https://www.elsevier.com/journals/clinical-neurophysiology/1388-2457/guide-for-authors#68000" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>A style for some Elsevier journals, resembles Vancouver style, but using author-date format</summary>
<updated>2025-01-23T08:44:37+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"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title" form="short"/>
</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">
<text variable="publisher-place" suffix=": " text-case="title"/>
<text variable="publisher" suffix="; "/>
<text macro="year-date"/>
</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" match="any">
<choose>
<if variable="URL">
<text variable="URL"/>
<group prefix=" (" suffix=")" delimiter=" ">
<text term="accessed"/>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
</else-if>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" collapse="year" cite-group-delimiter=", ">
<sort>
<key macro="year-date"/>
<key macro="author"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="year-date"/>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography entry-spacing="0" et-al-min="7" et-al-use-first="6">
<sort>
<key macro="author"/>
<key macro="year-date" sort="descending"/>
</sort>
<layout 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" plural="never"/>
<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"/>
</group>
<group delimiter=";">
<text macro="year-date"/>
<text variable="volume"/>
</group>
</group>
<text variable="page" form="short"/>
</group>
</else>
</choose>
<text macro="access" prefix=". "/>
</layout>
</bibliography>
</style>
Loading