Skip to content

Commit 201e022

Browse files
authored
1 parent 46e6eed commit 201e022

File tree

1 file changed

+53
-83
lines changed

1 file changed

+53
-83
lines changed

trends-journals.csl

Lines changed: 53 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,16 @@
3030
<name>Thomas Kluyver</name>
3131
<email>[email protected]</email>
3232
</contributor>
33+
<contributor>
34+
<name>Patrick O'Brien</name>
35+
</contributor>
3336
<category citation-format="numeric"/>
3437
<category field="biology"/>
3538
<category field="medicine"/>
3639
<summary>Style for the "Trends" journals by Cell Press</summary>
37-
<updated>2012-10-29T10:03:16+00:00</updated>
40+
<updated>2022-09-12T12:37:15+00:00</updated>
3841
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
3942
</info>
40-
<!-- Macros -->
4143
<macro name="edition">
4244
<choose>
4345
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
@@ -56,25 +58,7 @@
5658
</choose>
5759
</macro>
5860
<macro name="issued">
59-
<choose>
60-
<if type="article-journal">
61-
<date variable="issued">
62-
<date-part name="year" form="long" prefix="(" suffix=") "/>
63-
</date>
64-
</if>
65-
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="any">
66-
<date variable="issued">
67-
<date-part name="year" form="long" prefix="(" suffix=") "/>
68-
</date>
69-
</else-if>
70-
<else>
71-
<date variable="issued">
72-
<date-part name="day" form="numeric-leading-zeros" suffix="-"/>
73-
<date-part name="month" form="short" suffix="-" strip-periods="true"/>
74-
<date-part name="year" form="long" prefix="(" suffix=") "/>
75-
</date>
76-
</else>
77-
</choose>
61+
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
7862
</macro>
7963
<macro name="author">
8064
<names variable="author">
@@ -88,14 +72,14 @@
8872
</names>
8973
</macro>
9074
<macro name="editor">
91-
<names variable="editor" prefix="(" suffix="),">
75+
<names variable="editor" prefix="(" suffix=")">
9276
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter=", " and="text"/>
9377
<label form="short" prefix=", " strip-periods="true"/>
9478
</names>
9579
</macro>
9680
<macro name="locators">
9781
<group delimiter=", ">
98-
<text macro="edition"/>
82+
<text macro="edition" prefix="(" suffix=")"/>
9983
<group delimiter=" ">
10084
<number variable="volume" form="numeric"/>
10185
</group>
@@ -108,10 +92,10 @@
10892
<macro name="title">
10993
<choose>
11094
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
111-
<text variable="title" font-style="italic" suffix=", "/>
95+
<text variable="title" font-style="italic"/>
11296
</if>
11397
<else>
114-
<text variable="title" suffix=". "/>
98+
<text variable="title"/>
11599
</else>
116100
</choose>
117101
</macro>
@@ -129,14 +113,12 @@
129113
<choose>
130114
<if type="paper-conference">
131115
<choose>
132-
<!-- Published Conference Paper -->
133116
<if variable="container-title">
134117
<group delimiter=", ">
135118
<text variable="container-title" prefix="in " font-style="italic"/>
136119
<text variable="event-place"/>
137120
</group>
138121
</if>
139-
<!-- Unpublished Conference Paper -->
140122
<else>
141123
<group delimiter=", ">
142124
<text variable="event" prefix="presented at the "/>
@@ -167,15 +149,16 @@
167149
<macro name="page">
168150
<choose>
169151
<if type="chapter paper-conference" match="any">
170-
<label variable="page" form="short" plural="always" suffix=" "/>
171-
<text variable="page"/>
152+
<group delimiter=" ">
153+
<label variable="page" form="short" plural="always"/>
154+
<text variable="page"/>
155+
</group>
172156
</if>
173157
<else>
174158
<text variable="page"/>
175159
</else>
176160
</choose>
177161
</macro>
178-
<!-- Citation -->
179162
<citation collapse="citation-number">
180163
<sort>
181164
<key variable="citation-number"/>
@@ -184,100 +167,87 @@
184167
<text variable="citation-number"/>
185168
</layout>
186169
</citation>
187-
<!-- Bibliography -->
188170
<bibliography et-al-min="3" et-al-use-first="1" entry-spacing="0" second-field-align="flush">
189171
<layout>
190-
<!-- Citation Number -->
191-
<text variable="citation-number" suffix=" "/>
192-
<!-- Author(s) -->
193-
<text macro="author" suffix=" "/>
194-
<!-- Rest of Citation -->
172+
<text variable="citation-number" suffix="."/>
173+
<group delimiter=" ">
174+
<text macro="author"/>
175+
<text macro="issued"/>
176+
<text macro="title"/>
177+
</group>
195178
<choose>
196-
<!-- Specific Formats -->
197179
<if type="article-journal">
198-
<text macro="issued"/>
199-
<text macro="title"/>
200-
<text variable="container-title" form="short" font-style="italic" suffix=" "/>
201-
<choose>
202-
<if variable="volume">
203-
<text macro="locators" suffix=", "/>
204-
<text macro="page"/>
205-
</if>
206-
<else-if variable="DOI">
207-
<text variable="DOI" prefix="DOI: "/>
208-
</else-if>
209-
<else-if variable="URL">
210-
<text term="at"/>
211-
<text variable="URL" prefix=" &lt;" suffix="&gt;"/>
212-
</else-if>
213-
</choose>
180+
<group delimiter=" " prefix=". ">
181+
<text variable="container-title" form="short" font-style="italic"/>
182+
<choose>
183+
<if variable="volume">
184+
<group delimiter=", ">
185+
<text macro="locators"/>
186+
<text macro="page"/>
187+
</group>
188+
</if>
189+
<else-if variable="DOI">
190+
<text variable="DOI" prefix="DOI: "/>
191+
</else-if>
192+
<else-if variable="URL">
193+
<text term="at"/>
194+
<text variable="URL" prefix=" &lt;" suffix="&gt;"/>
195+
</else-if>
196+
</choose>
197+
</group>
214198
</if>
215199
<else-if type="paper-conference">
216-
<group delimiter=", ">
217-
<text macro="issued"/>
218-
<text macro="title"/>
200+
<group delimiter=", " prefix=". ">
219201
<text macro="event"/>
220202
<text macro="locators"/>
221203
<text macro="page"/>
222204
</group>
223205
</else-if>
224206
<else-if type="thesis">
225-
<group delimiter=", ">
226-
<text macro="issued"/>
227-
<text macro="title"/>
207+
<group delimiter=", " prefix=". ">
228208
<text variable="genre"/>
229209
<text macro="publisher"/>
230210
</group>
231211
</else-if>
232-
<else-if type="webpage">
233-
<group delimiter=", " suffix=". ">
234-
<text macro="issued"/>
235-
<text macro="title"/>
236-
<text variable="container-title" font-style="italic"/>
237-
</group>
212+
<else-if type="webpage post post-weblog" match="any">
213+
<text variable="container-title" font-style="italic" prefix=". " suffix=". "/>
238214
<text macro="access"/>
239215
</else-if>
240216
<else-if type="patent">
241-
<text macro="issued"/>
242-
<text macro="title" suffix=", "/>
243-
<text variable="number"/>
217+
<text variable="number" prefix=", "/>
244218
</else-if>
245-
<!-- Generic/Fallback Formats -->
246219
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
247-
<text macro="issued"/>
248-
<text macro="title"/>
249-
<text macro="locators"/>
250-
<text macro="publisher" suffix="."/>
220+
<group delimiter=", " prefix=", ">
221+
<text macro="locators"/>
222+
<text macro="publisher"/>
223+
</group>
251224
</else-if>
252225
<else-if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
253226
<group delimiter=", ">
254-
<text macro="issued"/>
255-
<text macro="title"/>
256227
<text variable="container-title" font-style="italic"/>
257228
<text macro="locators"/>
258229
<text macro="publisher"/>
259230
<text macro="page"/>
260231
</group>
261232
</else-if>
262233
<else-if type="chapter paper-conference" match="any">
263-
<text macro="issued"/>
264-
<text macro="title"/>
265-
<text variable="container-title" prefix="In " font-style="italic" suffix=" "/>
266-
<text macro="locators"/>
267-
<text macro="editor" prefix=" " suffix=" "/>
268234
<group delimiter=", ">
235+
<group delimiter=" " prefix=". ">
236+
<text term="in" text-case="capitalize-first"/>
237+
<text variable="container-title" font-style="italic"/>
238+
<text macro="locators"/>
239+
<text macro="editor"/>
240+
</group>
269241
<text macro="page"/>
270242
<text macro="publisher"/>
271243
</group>
272244
</else-if>
273245
<else>
274-
<group delimiter=", " suffix=". ">
275-
<text macro="title"/>
246+
<group delimiter=", ">
276247
<text variable="container-title" font-style="italic"/>
277248
<text macro="locators"/>
278249
</group>
279250
<group delimiter=", ">
280-
<text macro="issued"/>
281251
<text macro="publisher"/>
282252
<text macro="page"/>
283253
</group>

0 commit comments

Comments
 (0)