-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create indepedent style for journal-of-pediatric-surgery.csl (#6968)
* Create elsevier-vancouver-et-al.csl This PR is to make a new version of elsevier-vancouver.csl with different et-al rules. I wasn't fully sure about the naming. It's for this journal that would need this style: https://forums.zotero.org/discussion/112758/journal-pediatric-surgery-needs-updating#latest * Update elsevier-vancouver-et-al.csl * Update and rename dependent/journal-of-pediatric-surgery.csl to journal-of-pediatric-surgery.csl * Delete elsevier-vancouver-et-al.csl
- Loading branch information
1 parent
2aaaa9e
commit 752012e
Showing
2 changed files
with
164 additions
and
14 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
<?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>Journal of Pediatric Surgery</title> | ||
<title-short>JPS</title-short> | ||
<id>http://www.zotero.org/styles/journal-of-pediatric-surgery</id> | ||
<link href="http://www.zotero.org/styles/journal-of-pediatric-surgery" rel="self"/> | ||
<link href="http://www.zotero.org/styles/elsevier-vancouver" rel="template"/> | ||
<link href="https://www.jpedsurg.org/content/authorinfo" rel="documentation"/> | ||
<author> | ||
<name>Patrick O'Brien</name> | ||
</author> | ||
<category citation-format="numeric"/> | ||
<category field="generic-base"/> | ||
<issn>0022-3468</issn> | ||
<summary>A style for some Elsevier journals, resembles Vancouver style</summary> | ||
<updated>2024-03-22T10:11:39+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"> | ||
<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 collapse="citation-number"> | ||
<sort> | ||
<key variable="citation-number"/> | ||
</sort> | ||
<layout prefix="[" suffix="]" delimiter=","> | ||
<text variable="citation-number"/> | ||
</layout> | ||
</citation> | ||
<bibliography entry-spacing="0" second-field-align="flush" et-al-min="4" et-al-use-first="3"> | ||
<layout suffix="."> | ||
<text variable="citation-number" prefix="[" 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> |