Skip to content

Commit b231514

Browse files
authored
Update european-society-of-cardiology.csl (#5519)
Basically a rewrite
1 parent a5101b6 commit b231514

File tree

1 file changed

+55
-104
lines changed

1 file changed

+55
-104
lines changed

european-society-of-cardiology.csl

Lines changed: 55 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,26 @@
55
<id>http://www.zotero.org/styles/european-society-of-cardiology</id>
66
<link href="http://www.zotero.org/styles/european-society-of-cardiology" rel="self"/>
77
<link href="http://www.zotero.org/styles/vancouver" rel="template"/>
8-
<link href="http://www.oxfordjournals.org/our_journals/eurheartj/for_authors/" rel="documentation"/>
8+
<link href="https://academic.oup.com/eurheartj/pages/general_instructions#2.4" rel="documentation"/>
99
<author>
10-
<name>Charles Parnot</name>
11-
<email>[email protected]</email>
10+
<name>Sebastian Karcher</name>
1211
</author>
12+
<contributor>
13+
<name>Matthieu Depuydt</name>
14+
</contributor>
1315
<category citation-format="numeric"/>
1416
<category field="medicine"/>
1517
<updated>2012-09-27T22:06:38+00:00</updated>
1618
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1719
</info>
18-
<locale xml:lang="en">
20+
<locale xml:lang="en-GB">
1921
<terms>
2022
<term name="section" form="short">sect.</term>
2123
</terms>
2224
</locale>
2325
<macro name="author">
2426
<names variable="author">
25-
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
27+
<name delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
2628
<label form="short" prefix=", "/>
2729
<substitute>
2830
<names variable="editor"/>
@@ -32,28 +34,37 @@
3234
<macro name="editor">
3335
<group delimiter=": ">
3436
<choose>
35-
<if type="chapter paper-conference" match="any">
36-
<text term="in" text-case="capitalize-first"/>
37+
<if type="chapter" match="any">
38+
<text term="in" text-case="capitalize-first" prefix=" "/>
3739
</if>
3840
</choose>
3941
<names variable="editor" suffix=".">
40-
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
42+
<name delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
4143
<label form="short" prefix=", "/>
4244
</names>
4345
</group>
4446
</macro>
4547
<macro name="publisher">
46-
<group delimiter=": " suffix=";">
48+
<group>
4749
<choose>
48-
<if type="thesis">
49-
<text variable="publisher-place" prefix="[" suffix="]"/>
50+
<if type="book chapter paper-conference" match="any">
51+
<group delimiter=". ">
52+
<group delimiter="; ">
53+
<group delimiter=": ">
54+
<text variable="publisher-place"/>
55+
<text variable="publisher"/>
56+
</group>
57+
<date variable="issued" form="numeric" date-parts="year"/>
58+
</group>
59+
<group>
60+
<label variable="page" form="short" plural="never" strip-periods="true"/>
61+
<text variable="page"/>
62+
</group>
63+
</group>
5064
</if>
51-
<else>
52-
<text variable="publisher-place"/>
53-
</else>
5465
</choose>
55-
<text variable="publisher"/>
5666
</group>
67+
<text value="" prefix=" " suffix=";"/>
5768
</macro>
5869
<macro name="access">
5970
<choose>
@@ -67,50 +78,34 @@
6778
</macro>
6879
<macro name="container-title">
6980
<choose>
70-
<if type="article-magazine chapter paper-conference article-newspaper" match="any">
81+
<if type="book article-newspaper" match="any">
7182
<text variable="container-title" font-style="italic"/>
7283
<text macro="edition" prefix=" "/>
7384
</if>
7485
<else-if type="article-journal">
75-
<text variable="container-title" font-style="italic" form="short" strip-periods="true"/>
76-
</else-if>
77-
<!--add event-name and event-place once they become available-->
78-
<else-if type="bill legislation" match="any">
79-
<group delimiter=", ">
80-
<group delimiter=". ">
81-
<text variable="container-title" form="short"/>
82-
<group delimiter=" ">
83-
<text term="section" form="short" text-case="capitalize-first"/>
84-
<text variable="section"/>
85-
</group>
86-
</group>
87-
<text variable="number"/>
88-
</group>
86+
<text variable="container-title" form="short" strip-periods="true" font-style="italic" prefix=" "/>
8987
</else-if>
9088
<else>
91-
<text variable="container-title" suffix="." form="short"/>
89+
<text variable="container-title" font-style="italic"/>
9290
</else>
9391
</choose>
9492
</macro>
9593
<macro name="title">
96-
<text variable="title"/>
9794
<choose>
98-
<if type="article-journal article-magazine chapter paper-conference article-newspaper" match="none">
99-
<text macro="edition" prefix=". "/>
100-
</if>
101-
</choose>
102-
<choose>
103-
<if type="thesis">
104-
<text variable="genre" prefix=" [" suffix="]"/>
95+
<if type="book" match="any">
96+
<text variable="title" font-style="italic"/>
10597
</if>
98+
<else>
99+
<text variable="title"/>
100+
</else>
106101
</choose>
107102
</macro>
108103
<macro name="edition">
109104
<choose>
110105
<if is-numeric="edition">
111106
<group delimiter=" ">
112107
<number variable="edition" form="ordinal"/>
113-
<text term="edition" form="short"/>
108+
<text term="edition" form="long"/>
114109
</group>
115110
</if>
116111
<else>
@@ -119,61 +114,18 @@
119114
</choose>
120115
</macro>
121116
<macro name="date">
122-
<choose>
123-
<if type="article-journal article-magazine article-newspaper" match="any">
124-
<group suffix=";" delimiter=" ">
125-
<date variable="issued" delimiter=" ">
126-
<date-part name="year"/>
127-
</date>
128-
</group>
129-
</if>
130-
<else-if type="bill legislation" match="any">
131-
<group delimiter=", ">
132-
<date variable="issued" delimiter=" ">
133-
<date-part name="month" form="short" strip-periods="true"/>
134-
<date-part name="day"/>
135-
</date>
136-
<date variable="issued">
137-
<date-part name="year"/>
138-
</date>
139-
</group>
140-
</else-if>
141-
<else-if type="report">
142-
<date variable="issued" delimiter=" ">
143-
<date-part name="year"/>
144-
<date-part name="month" form="short" strip-periods="true"/>
145-
</date>
146-
</else-if>
147-
<else>
148-
<group suffix=".">
149-
<date variable="issued">
150-
<date-part name="year"/>
151-
</date>
152-
</group>
153-
</else>
154-
</choose>
155-
</macro>
156-
<macro name="pages">
157-
<choose>
158-
<if type="article-journal article-magazine article-newspaper" match="any">
159-
<text variable="page" prefix=":"/>
160-
</if>
161-
<else>
162-
<text variable="page" prefix=" p. "/>
163-
</else>
164-
</choose>
117+
<date variable="issued" form="numeric" date-parts="year"/>
165118
</macro>
166119
<macro name="journal-location">
167120
<choose>
168121
<if type="article-journal article-magazine" match="any">
169-
<text variable="volume" font-weight="bold"/>
170-
</if>
171-
</choose>
172-
</macro>
173-
<macro name="report-details">
174-
<choose>
175-
<if type="report">
176-
<text variable="number" prefix="Report No.: "/>
122+
<group delimiter=":">
123+
<group delimiter=";">
124+
<text macro="date"/>
125+
<text variable="volume" font-weight="bold"/>
126+
</group>
127+
<text variable="page"/>
128+
</group>
177129
</if>
178130
</choose>
179131
</macro>
@@ -185,24 +137,23 @@
185137
<text variable="citation-number"/>
186138
</layout>
187139
</citation>
188-
<bibliography et-al-min="31" et-al-use-first="30" second-field-align="flush">
140+
<bibliography second-field-align="flush">
189141
<layout>
190142
<text variable="citation-number" suffix=". "/>
191-
<group delimiter=". " suffix=". ">
192-
<text macro="author"/>
193-
<text macro="title"/>
194-
</group>
195-
<group delimiter=" " suffix=". ">
196-
<text macro="editor"/>
197-
<text macro="container-title"/>
198-
<text macro="publisher"/>
199-
<group>
200-
<text macro="date"/>
143+
<group delimiter=". ">
144+
<group delimiter=". ">
145+
<text macro="author"/>
146+
<text macro="title"/>
147+
</group>
148+
<group delimiter=" " suffix=". ">
149+
<text macro="editor"/>
150+
<group delimiter=". ">
151+
<text macro="container-title"/>
152+
<text macro="publisher"/>
153+
</group>
201154
<text macro="journal-location"/>
202-
<text macro="pages"/>
203155
</group>
204156
</group>
205-
<text macro="report-details" suffix=". "/>
206157
<text macro="access"/>
207158
</layout>
208159
</bibliography>

0 commit comments

Comments
 (0)