Skip to content

Commit

Permalink
Squashed 'src/main/resources/csl-styles/' changes from 1f706cd..cacc4ee
Browse files Browse the repository at this point in the history
cacc4ee Create nejm-catalyst.csl (#4943)
bd769b9 Update and rename dependent/chinese-medical-journal.csl to chinese-me… (#4941)

git-subtree-dir: src/main/resources/csl-styles
git-subtree-split: cacc4ee
  • Loading branch information
github actions committed Jul 27, 2020
1 parent 23a91d2 commit adbea0e
Show file tree
Hide file tree
Showing 3 changed files with 388 additions and 15 deletions.
212 changes: 212 additions & 0 deletions chinese-medical-journal.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" page-range-format="minimal" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Chinese Medical Journal</title>
<title-short>CMJ</title-short>
<id>http://www.zotero.org/styles/chinese-medical-journal</id>
<link href="http://www.zotero.org/styles/chinese-medical-journal" rel="self"/>
<link href="http://www.zotero.org/styles/american-journal-of-sonography" rel="template"/>
<link href="http://edmgr.ovid.com/cmj/accounts/ifauth.htm" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="numeric"/>
<category field="medicine"/>
<issn>0366-6999</issn>
<eissn>2542-5641</eissn>
<updated>2020-07-24T14:36:43+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">retrieved from</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=", "/>
</names>
</macro>
<macro name="author">
<group suffix=".">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<et-al font-style="italic"/>
<label prefix=", "/>
<substitute>
<names variable="editor"/>
<text macro="title"/>
</substitute>
</names>
</group>
</macro>
<macro name="access">
<choose>
<if type="article-journal">
<text variable="DOI" prefix="doi: "/>
</if>
<else-if type="webpage post-weblog" match="any">
<group delimiter=". ">
<date variable="accessed" prefix="(" suffix=")">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
<group delimiter=" ">
<text term="available at" text-case="capitalize-first"/>
<text variable="URL"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</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" prefix="[" suffix="]">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
<layout>
<text variable="citation-number" suffix=". "/>
<text macro="author"/>
<text macro="title" prefix=" " suffix="."/>
<choose>
<if type="bill book graphic legislation motion_picture report song" match="any">
<group suffix="." prefix=", " delimiter=" ">
<text macro="edition"/>
<text macro="editor" prefix="(" suffix=")"/>
</group>
<text prefix=" " macro="publisher"/>
<group prefix="; " suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="page" prefix=":"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" ">
<text term="in" text-case="capitalize-first" suffix=": "/>
<text macro="editor"/>
<group prefix=" " delimiter=", " suffix=".">
<text variable="container-title" prefix=" "/>
<text variable="volume" prefix="Vol "/>
<text macro="edition" prefix=" "/>
</group>
<group delimiter="; " suffix=".">
<text macro="publisher" prefix=" "/>
<group delimiter=": " suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="page"/>
</group>
</group>
</group>
</else-if>
<else-if type="article-newspaper">
<text variable="container-title" font-style="italic" prefix=" " suffix=". "/>
<choose>
<if variable="URL">
<group delimiter=". " suffix=".">
<text variable="URL"/>
<group prefix="Published ">
<date variable="issued">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
<group>
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</group>
</if>
<else>
<group delimiter=":" suffix=".">
<group>
<date variable="issued">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
<text variable="page"/>
</group>
</else>
</choose>
</else-if>
<else-if type="legal_case">
<group suffix="," prefix=" " delimiter=" ">
<text macro="editor" prefix="(" suffix=")"/>
</group>
<group prefix=" " delimiter=" ">
<text variable="container-title"/>
<text variable="volume"/>
</group>
<text variable="page" prefix=", " suffix=" "/>
<group prefix="(" suffix=")." delimiter=" ">
<text variable="authority"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else>
<text macro="editor" prefix=" " suffix="."/>
<group delimiter=" " prefix=" " suffix=".">
<text variable="container-title" form="short" strip-periods="true"/>
<group delimiter=":">
<group delimiter=";">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="volume"/>
</group>
<text variable="page"/>
</group>
</group>
</else>
</choose>
<text prefix=" " macro="access" suffix="."/>
</layout>
</bibliography>
</style>
15 changes: 0 additions & 15 deletions dependent/chinese-medical-journal.csl

This file was deleted.

Loading

0 comments on commit adbea0e

Please sign in to comment.