-
Notifications
You must be signed in to change notification settings - Fork 1
/
iso690-note-fr.csl
executable file
·640 lines (634 loc) · 22.6 KB
/
iso690-note-fr.csl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="never" default-locale="fr-FR">
<info>
<title>ISO-690 (note, no abstract, French)</title>
<id>http://www.zotero.org/styles/iso690-note-fr</id>
<link href="http://www.zotero.org/styles/iso690-note-fr" rel="self"/>
<author>
<name>Mathieu Saby</name>
<email>[email protected]</email>
</author>
<category citation-format="note"/>
<category field="generic-base"/>
<summary>Style based on ISO 690:2010(F), with notes and bibliography, derived from Mellifluo, Grolimund, Hardegger and Giraud author-date version.</summary>
<updated>2014-07-28T23:18:55+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>
<terms>
<!-- Only terms different from those in locale-fr-FR.xml are given -->
<term name="in">dans</term>
<term name="online">en ligne</term>
<term name="accessed">consulté le</term>
<term name="available at">disponible à l'adresse</term>
<term name="editor" form="short">
<!-- Dir. (Sous la direction de) = most common term in french for editorial responsability of a collective work-->
<single>dir.</single>
<multiple>dir.</multiple>
</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name and="text" name-as-sort-order="all" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
<name-part name="family" text-case="uppercase"/>
<name-part name="given"/>
</name>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name and="text" name-as-sort-order="all" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
<name-part name="family" text-case="uppercase"/>
<name-part name="given"/>
</name>
<label prefix=" (" form="short" suffix=".)"/>
</names>
</macro>
<macro name="translator">
<!-- Called by secondary-responsability-->
<names variable="translator">
<label text-case="capitalize-first" form="verb-short" suffix=" "/>
<name and="text" sort-separator=" " delimiter=", " delimiter-precedes-last="never">
<name-part name="family" text-case="uppercase"/>
<name-part name="given"/>
</name>
</names>
</macro>
<macro name="responsability">
<choose>
<if type="patent">
<!-- FIXME
Patent main creator should be Zotero "assignee", which is not yet mapped against any CSL field
-->
</if>
<else-if variable="author editor" match="any">
<choose>
<if variable="author">
<text macro="author"/>
</if>
<else-if variable="editor">
<text macro="editor"/>
</else-if>
</choose>
</else-if>
</choose>
</macro>
<macro name="patent-inventor">
<!-- Called by secondary-responsability-->
<text value="Inventeur(s)" suffix=" : "/>
<names variable="author">
<name and="text" sort-separator=" " delimiter=", " delimiter-precedes-last="never">
<name-part name="family" text-case="uppercase"/>
<name-part name="given"/>
</name>
</names>
</macro>
<macro name="secondary-responsability">
<!-- FIXME : improve management of secondary responsabiliy for other types -->
<choose>
<if type="patent">
<text macro="patent-inventor"/>
</if>
</choose>
<text macro="translator"/>
</macro>
<macro name="container-author">
<names variable="container-author">
<name and="text" name-as-sort-order="all" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
<name-part name="family" text-case="uppercase"/>
<name-part name="given"/>
</name>
</names>
</macro>
<macro name="container-responsability">
<choose>
<if variable="container-author editor" match="any">
<choose>
<if variable="container-author">
<text macro="container-author"/>
</if>
<else-if variable="editor">
<text macro="editor"/>
</else-if>
</choose>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="paper-conference speech chapter article-journal article-magazine article-newspaper post-weblog post webpage broadcast" match="any">
<choose>
<if variable="container-title">
<text variable="title" suffix=". "/>
<choose>
<if type="article-journal article-magazine article-newspaper" match="none">
<text term="in" text-case="capitalize-first" suffix=" : "/>
</if>
</choose>
<choose>
<if variable="container-author editor" match="any">
<text macro="container-responsability"/>
<choose>
<if variable="container-title event" match="any">
<text value=", "/>
</if>
</choose>
</if>
</choose>
<choose>
<if variable="container-title">
<text variable="container-title" font-style="italic"/>
</if>
<else>
<text variable="event" font-style="italic"/>
<!-- variable event: used for congresses-->
</else>
</choose>
</if>
<else>
<text variable="title" font-style="italic"/>
</else>
</choose>
</if>
<else>
<text variable="title" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="thesis-report-genre">
<choose>
<if type="report">
<!-- Title:Report type n°XXX
or Title:Report n°XXX (if no report type)
or Title:Report type (if no number)
-->
<choose>
<if variable="number">
<choose>
<if variable="genre">
<group delimiter=" ">
<text variable="genre"/>
<text term="issue" form="short"/>
</group>
</if>
<else>
<group delimiter=" ">
<text value="Rapport"/>
<text term="issue" form="short"/>
</group>
</else>
</choose>
<text variable="number"/>
</if>
<else-if variable="genre">
<text variable="genre"/>
</else-if>
</choose>
</if>
<else-if type="thesis">
<text variable="genre"/>
</else-if>
</choose>
</macro>
<macro name="volume">
<!-- If the volume field contains "Tome 1, vol. 2", this string is displayed. If it contains only a number, 'vol.' is added before-->
<choose>
<if type="article-newspaper article-journal article-magazine" match="none">
<!-- For article-newspaper article-journal article-magazine, volume is managed in 'issue-pagination-locator' macro-->
<choose>
<if is-numeric="volume">
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
<text variable="volume"/>
</if>
<else>
<text variable="volume"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="numberOfVolumes">
<!-- If the number-of-volume field contains '3 Tomes, 2 vol.', this string is displayed. If it contains only a number, 'vol.' is added after-->
<choose>
<if is-numeric="number-of-volumes">
<text variable="number-of-volumes"/>
<text term="volume" form="short" prefix=" "/>
</if>
<else>
<text variable="number-of-volumes"/>
</else>
</choose>
</macro>
<macro name="number">
<!-- Display only for patents.
For report, number is managed in title macro-->
<choose>
<if type="patent" match="any">
<text variable="number"/>
</if>
</choose>
</macro>
<macro name="online">
<choose>
<if variable="URL DOI" match="any">
<text term="online"/>
</if>
</choose>
</macro>
<macro name="medium_designation">
<!--
Reference : ISO 690:2010 §7 (physical ressources) and §15.2.2 (online ressources)
§7 Medium designation
"If necessary, information about the nature of the information resource and/or the form in which it is made available should be given in brackets. See also 15.2.2 on the medium designation for electronic information resources.
EXAMPLES [Braille] [cine film (35 mm)] [computer tape reel] [CD] [DVD] [Blu-ray disc] [film strip (35 mm)] [globe] [map] [microfiche (48x)] [microfilm reel (16 mm negative)] [photograph] [score] [slide (2 in.)] [sound disc (45 rpm)] [videocassette (VHS PAL)] [wall chart]"
§ 15.2.2 Type of medium
"The type of medium for the electronic information resource should be given in the medium designation (see Clause 7).
EXAMPLES [online] [disc]
If desired, the specific type of electronic information resource may also be given.
EXAMPLE 3 EXAMPLE 4
[online database] [online serial] [computer program] [electronic mail] [digital image] [podcast] [audiofile]"
It is not always possible to get this information from Zotero data once they are transformed in CSL data. Sometimes it can be guessed from the presence of URL or a DOI (for [online]), from the type of the ressource, from "medium" field, or from the "genre" fields. Some CSL types are mapped with several Zotero types (personal_communication = letter + instantMessage ; song = podcast + audioRecording, etc.). In those cases, it will be difficult to guess the proper medium designator.
"genre" and "medium" fields can also be used, but cautiously, as their meaning depends on the ressource type. In most cases, their content does not match the "medium designator" as defined in the standard.
CSL definition for medium field:
'medium description (e.g. "CD", "DVD", etc.)'
medium field is used in those CSL types:
graphic (mapped against artwork:artworkMedium (medium))
song (mapped against podcast:audioFileType (medium))
song (mapped against audioRecording:audioRecordingFormat (medium))
broadcast (mapped against radioBroadcast:audioRecordingFormat (medium))
broadcast (mapped against tvBroadcast:videoRecordingFormat (medium))
book (mapped against computerProgram:system)
motion_picture (mapped against film:videoRecordingFormat (medium))
motion_picture (mapped against videoRecording:videoRecordingFormat (medium))
interview (mapped against interview:interviewMedium (medium))
CSL definition for genre field:
'class, type or genre of the item (e.g. "adventure" for an adventure movie, "PhD dissertation" for a PhD thesis)'
genre field is used in those CSL types:
post-weblog (mapped against blogPost:websiteType (type))
book (mapped against computerProgram:programmingLanguage)
motion_picture (mapped against film:genre (type))
post (mapped against forumPost:postType (type))
personal_communication (mapped against letter:genre)
manuscript (mapped against manuscript:manuscriptType (type))
map (mapped against map:mapType (type))
speech (mapped against presentation:presentationType (type))
report (mapped against report:reportType (type))
thesis (mapped against thesis:thesisType (type))
webpage (mapped against webpage:websiteType (type))
-->
<choose>
<if type="book">
<choose>
<if variable="medium version" match="any">
<!-- softwares can only be identified in some cases: type book + use of medium or version fields
but the medium field should not be treated as a medium (it describes the "system")-->
<text value="logiciel" prefix="[" suffix="]"/>
</if>
</choose>
</if>
<else-if type="map">
<!-- For type "map", the genre field should be used (labelled as "type" in Zotero) and not the medium field
If no information is provided, generic medium "carte" is used
If the map is avalaible online, add "en ligne"-->
<group delimiter=" " prefix="[" suffix="]">
<choose>
<if variable="genre">
<text variable="genre"/>
</if>
<else>
<text value="carte"/>
</else>
</choose>
<text macro="online"/>
</group>
</else-if>
<else-if type="manuscript">
<!-- For type "manuscript", the genre field should be used (labelled as "type" in Zotero) and not the medium field
If no information is provided, generic medium "manuscrit" is used
If the mss is avalaible online, add "en ligne"-->
<group delimiter=" " prefix="[" suffix="]">
<choose>
<if variable="genre">
<text variable="genre"/>
</if>
<else>
<text value="manuscrit"/>
</else>
</choose>
<text macro="online"/>
</group>
</else-if>
<else-if type="graphic">
<group delimiter=" " prefix="[" suffix="]">
<choose>
<if variable="medium">
<text variable="medium"/>
</if>
<else>
<text value="image"/>
</else>
</choose>
<text macro="online"/>
</group>
</else-if>
<else-if type="song">
<!--can be a podcast (medium= type of file) or a physical recording. No try to guess a generic medium-->
<group delimiter=" " prefix="[" suffix="]">
<choose>
<if variable="medium">
<text variable="medium"/>
</if>
</choose>
<text macro="online"/>
</group>
</else-if>
<else>
<text macro="online" prefix="[" suffix="]"/>
</else>
</choose>
</macro>
<macro name="date">
<!-- We could display only year for books and monographs, but I'm not sure it is mandatory or important
FIXME Add a way to manage uncertain dates and range date. limit-day-ordinals-to-day-1 is defined in locale, but seems to have no effect
-->
<choose>
<if variable="issued">
<choose>
<if type="article-journal">
<date variable="issued">
<date-part name="month" form="long" text-case="capitalize-first" suffix=" "/>
<date-part name="year" form="long"/>
</date>
</if>
<else>
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" form="long" suffix=" "/>
<date-part name="year" form="long"/>
</date>
</else>
</choose>
</if>
<else>
<text term="no date" form="short" prefix="[" suffix="]"/>
</else>
</choose>
</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" text-case="capitalize-first" suffix="."/>
</else>
</choose>
</macro>
<macro name="publisher-place">
<choose>
<if type="book map thesis report chapter entry entry-dictionary entry-encyclopedia" match="any">
<choose>
<if variable="publisher-place">
<text variable="publisher-place"/>
</if>
<else>
<text value="s. l." prefix="[" suffix="]" text-case="capitalize-first"/>
</else>
</choose>
</if>
<else>
<choose>
<if variable="publisher-place">
<text variable="publisher-place"/>
</if>
</choose>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="book map thesis report chapter entry entry-dictionary entry-encyclopedia" match="any">
<choose>
<if variable="publisher">
<text variable="publisher"/>
</if>
<else>
<text value="s. n." prefix="[" suffix="]"/>
</else>
</choose>
</if>
<else>
<choose>
<if variable="publisher">
<text variable="publisher"/>
</if>
</choose>
</else>
</choose>
</macro>
<macro name="accessed">
<choose>
<if variable="URL">
<group prefix=" [" suffix="]">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed">
<date-part name="day" prefix=" "/>
<date-part name="month" prefix=" "/>
<date-part name="year" prefix=" "/>
</date>
</group>
</if>
</choose>
</macro>
<macro name="collection">
<group delimiter=", ">
<text variable="collection-title"/>
<text variable="collection-number"/>
</group>
</macro>
<macro name="issue-pagination-locator">
<!-- used for issues of serials, (pagination of books and monographs), and locator of specific passages
If a locator is used, it replaces the original pagination-->
<choose>
<if type="article-newspaper article-journal article-magazine" match="any">
<group delimiter=", ">
<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
<text variable="volume"/>
</group>
<group>
<text term="issue" form="short" suffix=" "/>
<text variable="issue"/>
</group>
<choose>
<if variable="locator">
<group>
<label variable="locator" form="short" suffix=" "/>
<text variable="locator"/>
</group>
</if>
<else>
<group>
<text term="page" form="short" suffix=" "/>
<text variable="page"/>
</group>
</else>
</choose>
</group>
</if>
<else-if variable="locator">
<group>
<label variable="locator" form="short" suffix=" "/>
<text variable="locator"/>
</group>
</else-if>
<else-if type="chapter entry entry-dictionary entry-encyclopedia paper-conference" match="any">
<group>
<text term="page" form="short" suffix=" "/>
<text variable="page"/>
</group>
</else-if>
<else-if type="report patent book thesis manuscript" match="any">
<!--
Uncomment to mention the number of pages of books and monographs
<text variable="number-of-pages"/>
<text term="page" form="short" prefix=" "/>
-->
</else-if>
</choose>
</macro>
<macro name="isbn">
<text variable="ISBN" prefix="ISBN "/>
</macro>
<macro name="doi">
<text variable="DOI" prefix="DOI "/>
</macro>
<macro name="url">
<choose>
<if variable="URL">
<group>
<text term="available at" suffix=" : " text-case="capitalize-first"/>
<text variable="URL"/>
</group>
</if>
</choose>
</macro>
<macro name="archive">
<group delimiter=" : ">
<text variable="archive" text-case="capitalize-first"/>
<text variable="archive_location" text-case="capitalize-first"/>
<text variable="call-number"/>
</group>
</macro>
<macro name="access">
<group delimiter=". ">
<choose>
<if variable="DOI">
<text macro="doi"/>
</if>
<else>
<text macro="url"/>
</else>
</choose>
<text macro="archive"/>
</group>
</macro>
<macro name="abstract">
<text variable="abstract"/>
</macro>
<macro name="note">
<text variable="note" text-case="capitalize-first"/>
</macro>
<macro name="citation-reference">
<group delimiter=". ">
<text macro="responsability"/>
<group delimiter=" ">
<group delimiter=". ">
<text macro="title"/>
<!-- volume : used for books and monographs (a volume of a multivolume book)-->
<text macro="volume"/>
</group>
<!-- medium : [online], [map], [software], etc.-->
<text macro="medium_designation"/>
</group>
<text macro="thesis-report-genre"/>
<text macro="edition"/>
<!-- secondary-responsability : used for patent inventors and translators -->
<!-- <text macro="secondary-responsability"/> -->
<group delimiter=", ">
<group delimiter=". ">
<group delimiter=" : ">
<text macro="publisher-place"/>
<text macro="publisher"/>
</group>
<text macro="number"/>
</group>
<group delimiter=", ">
<text macro="date"/>
<text macro="numberOfVolumes"/>
<text macro="issue-pagination-locator"/>
</group>
</group>
<text macro="accessed"/>
<!-- <text macro="collection"/> -->
<text macro="isbn"/>
<text macro="access"/>
<text macro="note"/>
</group>
</macro>
<macro name="bibliography-reference">
<group delimiter=". ">
<text macro="responsability"/>
<group delimiter=" ">
<group delimiter=". ">
<text macro="title"/>
<!-- volume : used for books and monographs (a volume of a multivolume book)-->
<text macro="volume"/>
</group>
<!-- medium : [online], [map], [software], etc.-->
<text macro="medium_designation"/>
</group>
<text macro="thesis-report-genre"/>
<text macro="edition"/>
<!-- secondary-responsability : used for patent inventors and translators -->
<text macro="secondary-responsability"/>
<group delimiter=", ">
<group delimiter=". ">
<group delimiter=" : ">
<text macro="publisher-place"/>
<text macro="publisher"/>
</group>
<text macro="number"/>
</group>
<group delimiter=", ">
<text macro="date"/>
<text macro="numberOfVolumes"/>
<text macro="issue-pagination-locator"/>
</group>
</group>
<text macro="accessed"/>
<text macro="collection"/>
<text macro="isbn"/>
<text macro="access"/>
<text macro="note"/>
</group>
</macro>
<citation et-al-min="4" et-al-use-first="3">
<layout suffix="." delimiter=" ; ">
<text macro="citation-reference"/>
</layout>
</citation>
<bibliography>
<sort>
<key macro="responsability"/>
<key macro="title"/>
</sort>
<layout>
<text macro="bibliography-reference"/>
</layout>
</bibliography>
</style>