]> Git — Sourcephile - julm/rezine-rfcs.git/blob - styles/rfc.csl
complet(csl): add support for collection-title
[julm/rezine-rfcs.git] / styles / rfc.csl
1 <?xml version="1.0" encoding="utf-8"?>
2 <style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="fr-FR" version="1.0" demote-non-dropping-particle="never">
3 <info>
4 <title>Requests for Criticisms (Français)</title>
5 <title-short>RFC</title-short>
6 <!--<id>http://www.zotero.org/styles/…</id>-->
7 <link href="http://www.zotero.org/styles/…" rel="self"/>
8 <link href="http://www.zotero.org/styles/infoclio-fr-smallcaps" rel="template"/>
9 <!--<link href="https://…" rel="documentation"/>-->
10 <author>
11 <name>Julien Moutinho</name>
12 <email>julm+rfc@sourcephile.fr</email>
13 <!--<uri>http://…</uri>-->
14 </author>
15 <category citation-format="note"/>
16 <category field="engineering"/>
17 <updated>2024-01-01T00:00:00+01:00</updated>
18 <rights license="http://creativecommons.org/licenses/by/4.0/">This work is licensed under a Creative Commons Attribution 4.0 License</rights>
19 </info>
20
21 <locale xml:lang="fr">
22 <terms>
23 <term name="accessed">consulté le</term>
24 <term name="cited">op. cit.</term>
25 <term name="editor" form="short">
26 <single>éd.</single>
27 <multiple>éds.</multiple>
28 </term>
29 <term name="in">dans</term>
30 <term name="page" form="short">
31 <single>p.</single>
32 <multiple>pp.</multiple>
33 </term>
34 </terms>
35 </locale>
36
37 <macro name="author-note">
38 <choose>
39 <if variable="author">
40 <names variable="author">
41 <name sort-separator=" " delimiter=", " and="text" form="short">
42 <name-part name="family" font-variant="small-caps"/>
43 </name>
44 <et-al font-style="italic"/>
45 </names>
46 </if>
47 <else-if variable="editor">
48 <text macro="editor-note"/>
49 </else-if>
50 </choose>
51 </macro>
52 <macro name="author-or-editor">
53 <choose>
54 <if variable="author">
55 <names variable="author">
56 <name form="long" delimiter=" &amp; " and="symbol" sort-separator=" ">
57 <name-part name="family" font-variant="small-caps"/>
58 <name-part name="given" prefix="(" suffix=")"/>
59 </name>
60 <et-al font-style="italic"/>
61 </names>
62 </if>
63 <else-if variable="editor">
64 <text macro="editor"/>
65 </else-if>
66 </choose>
67 </macro>
68 <macro name="editor">
69 <names variable="editor">
70 <name sort-separator=", " initialize-with="." delimiter=", " and="text" delimiter-precedes-last="never" name-as-sort-order="all">
71 <name-part name="family"/>
72 </name>
73 <et-al font-style="italic"/>
74 <label form="short" prefix=" (" suffix=")"/>
75 </names>
76 </macro>
77 <macro name="editor-note">
78 <names variable="editor">
79 <name sort-separator=" " initialize-with="." delimiter=", " and="text" form="long">
80 <name-part name="family"/>
81 </name>
82 <et-al font-style="italic"/>
83 <label form="short" prefix=" (" suffix=")"/>
84 </names>
85 </macro>
86 <macro name="container">
87 <choose>
88 <if variable="container-title">
89 <text variable="container-title" font-style="italic"/>
90 </if>
91 <else-if variable="collection-title">
92 <text variable="collection-title" font-style="italic"/>
93 </else-if>
94 </choose>
95 </macro>
96 <macro name="title">
97 <choose>
98 <if type="book manuscript thesis graphic motion_picture" match="any">
99 <text variable="title" font-style="italic" quotes="true"/>
100 </if>
101 <else-if type="chapter paper-conference" match="any">
102 <group delimiter=" ">
103 <text variable="title" quotes="true" suffix=","/>
104 <text value="dans" font-style="normal"/>
105 <text macro="editor" suffix=","/>
106 <text macro="container"/>
107 </group>
108 </else-if>
109 <else-if type="article-journal">
110 <group delimiter=", ">
111 <text variable="title" quotes="true" font-style="italic"/>
112 <group>
113 <text macro="container"/>
114 <choose>
115 <if is-numeric="volume">
116 <number variable="volume" prefix=", vol. "/>
117 <choose>
118 <if is-numeric="issue">
119 <text value=""/>
120 <number variable="issue" prefix=", n° "/>
121 </if>
122 </choose>
123 </if>
124 <else-if is-numeric="issue">
125 <number variable="issue" prefix=", n° "/>
126 </else-if>
127 </choose>
128 </group>
129 </group>
130 </else-if>
131 <else-if type="article-newspaper article-magazine entry-encyclopedia entry-dictionary broadcast" match="any">
132 <group delimiter=", ">
133 <text variable="title" font-style="italic" quotes="true"/>
134 <text macro="container"/>
135 </group>
136 </else-if>
137 <else-if type="mail post post-weblog webpage" match="any">
138 <group delimiter=", ">
139 <text variable="title" font-style="italic" quotes="true"/>
140 <text macro="container"/>
141 </group>
142 </else-if>
143 <else-if type="report" match="any">
144 <group delimiter=", ">
145 <text variable="title" font-style="italic" quotes="true"/>
146 <text macro="container"/>
147 <text variable="volume-title" font-style="italic" quotes="true"/>
148 </group>
149 </else-if>
150 <else>
151 <text variable="title" font-style="italic" quotes="true"/>
152 </else>
153 </choose>
154 </macro>
155 <macro name="title-note">
156 <choose>
157 <if type="book manuscript thesis graphic motion_picture" match="any">
158 <text variable="title" quotes="true" font-style="italic"/>
159 </if>
160 <else-if type="chapter paper-conference" match="any">
161 <group delimiter=" ">
162 <text variable="title" font-style="italic" quotes="true" suffix=","/>
163 <text term="in" font-style="normal"/>
164 <text macro="editor-note" suffix=","/>
165 <text macro="container"/>
166 </group>
167 </else-if>
168 <else-if type="article-journal">
169 <group delimiter=", ">
170 <text variable="title" font-style="italic" quotes="true"/>
171 <group>
172 <text macro="container"/>
173 <choose>
174 <if is-numeric="volume">
175 <number variable="volume" prefix=", vol. "/>
176 <choose>
177 <if is-numeric="issue">
178 <text value=""/>
179 <number variable="issue" prefix=", n° "/>
180 </if>
181 </choose>
182 </if>
183 <else-if is-numeric="issue">
184 <number variable="issue" prefix=", n° "/>
185 </else-if>
186 </choose>
187 </group>
188 </group>
189 </else-if>
190 <else-if type="article-newspaper article-magazine entry-encyclopedia entry-dictionary broadcast" match="any">
191 <group delimiter=", ">
192 <text variable="title" font-style="italic" quotes="true"/>
193 <text macro="container"/>
194 </group>
195 </else-if>
196 <else-if type="mail post post-weblog webpage" match="any">
197 <group delimiter=", ">
198 <text variable="title" font-style="italic" quotes="true"/>
199 <text macro="container"/>
200 </group>
201 </else-if>
202 <else>
203 <text variable="title" font-style="italic" quotes="true"/>
204 </else>
205 </choose>
206 </macro>
207 <macro name="volume-or-medium">
208 <choose>
209 <if type="book chapter entry-encyclopedia entry-dictionary" match="any">
210 <choose>
211 <if is-numeric="volume number-of-volumes" match="any">
212 <text term="volume" form="short" suffix=". "/>
213 <number variable="volume" suffix=""/>
214 <number variable="number-of-volumes"/>
215 </if>
216 <else-if is-numeric="volume">
217 <text term="volume" form="short" suffix=". "/>
218 <number variable="volume"/>
219 </else-if>
220 <else-if is-numeric="number-of-volumes">
221 <number variable="number-of-volumes"/>
222 <text term="volume" form="short" prefix=" " suffix="."/>
223 </else-if>
224 </choose>
225 </if>
226 </choose>
227 </macro>
228 <macro name="place-and-publisher">
229 <choose>
230 <if type="book chapter paper-conference" match="any">
231 <text variable="publisher"/>
232 </if>
233 <else-if type="thesis">
234 <group delimiter=", ">
235 <text variable="genre"/>
236 <text variable="publisher-place"/>
237 <text variable="publisher"/>
238 </group>
239 </else-if>
240 </choose>
241 </macro>
242 <macro name="url">
243 <choose>
244 <if variable="URL">
245 <group delimiter=" ">
246 <text variable="URL" prefix=" &lt;" suffix="&gt;"/>
247 <choose>
248 <if variable="accessed">
249 <group delimiter=" ">
250 <text term="accessed" prefix="("/>
251 <date variable="accessed" form="text" date-parts="year-month-day" suffix=")"/>
252 </group>
253 </if>
254 </choose>
255 </group>
256 </if>
257 </choose>
258 </macro>
259 <macro name="date">
260 <choose>
261 <if variable="original-date">
262 <group delimiter=", ">
263 <date variable="original-date" form="text" date-parts="year-month-day"/>
264 <choose>
265 <if variable="issued">
266 <group delimiter=" ">
267 <text value="rééd."/>
268 <date variable="issued" form="text" date-parts="year-month-day"/>
269 </group>
270 </if>
271 </choose>
272 </group>
273 </if>
274 <else-if variable="issued">
275 <date variable="issued" form="text" date-parts="year-month-day"/>
276 </else-if>
277 <else-if variable="event-date">
278 <date variable="event-date" form="text" date-parts="year-month-day"/>
279 </else-if>
280 </choose>
281 </macro>
282 <macro name="edition">
283 <choose>
284 <if type="book chapter paper-conference" match="any">
285 <choose>
286 <if is-numeric="edition">
287 <number variable="edition" form="ordinal"/>
288 <text term="edition" prefix=" "/>
289 </if>
290 </choose>
291 </if>
292 </choose>
293 </macro>
294 <macro name="locator">
295 <group delimiter=" ">
296 <label variable="locator" form="short"/>
297 <text variable="locator"/>
298 </group>
299 </macro>
300 <macro name="locator-or-pages">
301 <choose>
302 <if variable="locator">
303 <text macro="locator"/>
304 </if>
305 <else>
306 <group delimiter=" ">
307 <label variable="page" form="short"/>
308 <text variable="page"/>
309 </group>
310 </else>
311 </choose>
312 </macro>
313
314 <citation name-form="long" and="text" sort-separator=", " delimiter-precedes-last="never" et-al-min="1" et-al-use-first="1">
315 <layout suffix="." delimiter="&#160;;&#10;">
316 <choose>
317 <if position="ibid-with-locator">
318 <group delimiter=" — ">
319 <text term="ibid" font-style="italic" suffix="."/>
320 <text macro="locator"/>
321 </group>
322 </if>
323 <else-if position="ibid">
324 <text term="ibid" font-style="italic"/>
325 </else-if>
326 <else-if position="subsequent">
327 <group delimiter=" — ">
328 <group font-weight="bold">
329 <text macro="author-note"/>
330 </group>
331 <text variable="title" form="short" font-style="italic" quotes="true"/>
332 <group font-style="italic" delimiter=" ">
333 <choose>
334 <if type="article article-magazine article-newspaper article-journal entry entry-dictionary entry-encyclopedia chapter" match="any">
335 <text value="art. cit."/>
336 </if>
337 <else>
338 <text term="cited"/>
339 </else>
340 </choose>
341 </group>
342 <text macro="locator"/>
343 </group>
344 </else-if>
345 <else>
346 <group delimiter=" — ">
347 <group font-weight="bold">
348 <text macro="author-note"/>
349 </group>
350 <text macro="date"/>
351 <text macro="title-note"/>
352 <text macro="locator"/>
353 <text macro="url"/>
354 </group>
355 </else>
356 </choose>
357 </layout>
358 </citation>
359
360 <bibliography name-form="long" and="text" sort-separator=", " name-as-sort-order="all" delimiter-precedes-last="never" et-al-min="4" et-al-use-first="1" hanging-indent="false" >
361 <sort>
362 <key macro="author-or-editor" names-min="3" names-use-first="3"/>
363 <key variable="issued" sort="descending"/>
364 </sort>
365 <layout suffix=".">
366 <group delimiter=" — ">
367 <group font-weight="bold">
368 <text macro="author-or-editor"/>
369 </group>
370 <text macro="date"/>
371 <text macro="title"/>
372 <text macro="volume-or-medium"/>
373 <text macro="edition"/>
374 <text macro="place-and-publisher"/>
375 <text macro="url"/>
376 </group>
377 </layout>
378 </bibliography>
379 </style>