Skip to content

Commit 40c2696

Browse files
authored
Update gallia.csl (#5782)
1 parent 5d5927a commit 40c2696

File tree

1 file changed

+96
-67
lines changed

1 file changed

+96
-67
lines changed

gallia.csl

+96-67
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
<category field="anthropology"/>
1515
<issn>0016-4119</issn>
1616
<eissn>2109-9588</eissn>
17-
<summary>Author-date style for Gallia - Archéologie des Gaules. Extra fields needed for exhibition catalogues: genre, event place, event date; place is to be empty replaced by publisher place in extra field.
18-
Voir si maintien de verbe conjugué pour éd/trad. textes anciens. Solution possible via IFAO</summary>
19-
<updated>2020-08-20T01:59:23+00:00</updated>
17+
<summary>Author-date style for Gallia - Archéologie des Gaules. Extra fields needed for exhibition catalogues: genre, event place, event date; place is to be empty replaced by publisher place in extra field. Ancient sources need to be inserted manually</summary>
18+
<updated>2021-09-06T04:59:23+00:00</updated>
2019
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
2120
</info>
2221
<locale xml:lang="fr-FR">
@@ -41,39 +40,27 @@
4140
</if>
4241
</choose>
4342
</macro>
44-
<macro name="translator">
45-
<names variable="translator" delimiter=", ">
46-
<label form="verb-short" suffix=" "/>
47-
<name name-as-sort-order="all" sort-separator=" " initialize-with="." delimiter=", "/>
48-
</names>
49-
</macro>
50-
<macro name="author">
51-
<names variable="author" delimiter=", ">
52-
<name name-as-sort-order="all" sort-separator=" " initialize-with="." delimiter=", "/>
53-
<substitute>
54-
<text macro="editor"/>
55-
</substitute>
43+
<macro name="editor-encyclopedia">
44+
<names variable="editor">
45+
<name sort-separator=" " initialize-with=".&#160;" delimiter=", "/>
5646
</names>
5747
</macro>
5848
<macro name="editor">
5949
<choose>
6050
<if variable="container-author">
6151
<text macro="container-author"/>
6252
</if>
63-
<else-if variable="editor">
53+
<else>
6454
<names variable="editor">
65-
<name name-as-sort-order="all" sort-separator=" " initialize-with="." delimiter=", "/>
55+
<name name-as-sort-order="all" sort-separator=" " initialize-with=".&#160;" delimiter=", "/>
6656
<label form="short" text-case="lowercase" prefix=" (" suffix=")"/>
6757
</names>
68-
</else-if>
69-
<else>
70-
<text value="Collectif"/>
7158
</else>
7259
</choose>
7360
</macro>
7461
<macro name="container-author">
7562
<names variable="container-author" delimiter=", ">
76-
<name name-as-sort-order="all" sort-separator=" " initialize-with="." delimiter=", "/>
63+
<name name-as-sort-order="all" sort-separator=" " initialize-with=".&#160;" delimiter=", "/>
7764
<et-al font-style="italic" font-variant="normal"/>
7865
</names>
7966
</macro>
@@ -105,6 +92,27 @@
10592
</else>
10693
</choose>
10794
</macro>
95+
<macro name="author-short-call">
96+
<names variable="author" delimiter=", ">
97+
<name name-as-sort-order="all" sort-separator=" " initialize-with=".&#160;" delimiter=", "/>
98+
<substitute>
99+
<text macro="editor-short-call"/>
100+
</substitute>
101+
</names>
102+
</macro>
103+
<macro name="editor-short-call">
104+
<choose>
105+
<if variable="editor">
106+
<names variable="editor">
107+
<name name-as-sort-order="all" sort-separator=" " initialize-with=".&#160;" delimiter=", "/>
108+
<label form="short" text-case="lowercase" prefix=" (" suffix=")"/>
109+
</names>
110+
</if>
111+
<else>
112+
<text value="Collectif"/>
113+
</else>
114+
</choose>
115+
</macro>
108116
<macro name="access">
109117
<group>
110118
<text term="accessed" suffix=" "/>
@@ -176,7 +184,7 @@
176184
<if is-numeric="edition">
177185
<group delimiter=" ">
178186
<number variable="edition" form="ordinal"/>
179-
<text term="edition" form="short" suffix=", " text-case="lowercase"/>
187+
<text term="edition" form="short" text-case="lowercase"/>
180188
</group>
181189
</if>
182190
<else>
@@ -189,25 +197,14 @@
189197
<key variable="issued"/>
190198
</sort>
191199
<layout prefix="(" suffix=")" delimiter="&#160;; ">
192-
<choose>
193-
<if variable="translator">
194-
<text macro="author-short" suffix=", "/>
195-
<text variable="title" form="short" font-style="italic"/>
196-
</if>
197-
<else>
198-
<text macro="author-short" suffix=", "/>
199-
<text macro="year-date"/>
200-
</else>
201-
</choose>
200+
<text macro="author-short" suffix=" "/>
201+
<text macro="year-date"/>
202202
<group prefix=", ">
203203
<choose>
204204
<if locator="paragraph issue" match="any">
205205
<label variable="locator" form="short" suffix="&#160;"/>
206206
<text variable="locator"/>
207207
</if>
208-
<else-if locator="page">
209-
<text variable="locator"/>
210-
</else-if>
211208
<else>
212209
<label variable="locator" form="short" suffix=".&#160;"/>
213210
<text variable="locator"/>
@@ -218,40 +215,50 @@
218215
</citation>
219216
<bibliography>
220217
<sort>
221-
<key macro="author"/>
218+
<key macro="author-short-call"/>
222219
<key variable="issued"/>
223220
<key variable="page-first"/>
224221
<key variable="title"/>
225222
</sort>
226223
<layout suffix=".">
227-
<group delimiter=" " font-weight="bold">
228-
<choose>
229-
<if variable="translator">
230-
<text macro="author"/>
231-
</if>
232-
<else>
233-
<text macro="author"/>
234-
<text macro="year-date" suffix="&#160;"/>
235-
</else>
236-
</choose>
224+
<group delimiter=" " font-weight="bold" suffix="&#160;">
225+
<text macro="author-short-call"/>
226+
<text macro="year-date"/>
227+
<group font-weight="normal">
228+
<group prefix="(" suffix=")" delimiter=" ">
229+
<choose>
230+
<if variable="original-date" match="all">
231+
<group>
232+
<text value="1"/>
233+
<text value="ère" vertical-align="sup"/>
234+
</group>
235+
<text term="edition" form="short"/>
236+
<date variable="original-date">
237+
<date-part name="year"/>
238+
</date>
239+
</if>
240+
<else-if is-numeric="edition">
241+
<text macro="edition"/>
242+
</else-if>
243+
</choose>
244+
</group>
245+
</group>
237246
</group>
238247
<group prefix=": ">
239248
<choose>
240249
<if type="thesis report">
241-
<group delimiter=", " suffix=".">
250+
<group delimiter=", ">
242251
<text macro="title" font-style="italic"/>
243252
<text variable="genre"/>
244253
<text variable="publisher"/>
245-
<group>
246-
<choose>
247-
<if variable="number-of-pages" match="any">
248-
<text variable="number-of-pages" suffix=" p."/>
249-
</if>
250-
<else>
251-
<text variable="page" suffix=" p."/>
252-
</else>
253-
</choose>
254-
</group>
254+
<choose>
255+
<if variable="number-of-pages" match="any">
256+
<text variable="number-of-pages" suffix=" p."/>
257+
</if>
258+
<else>
259+
<text variable="page" suffix=" p."/>
260+
</else>
261+
</choose>
255262
</group>
256263
</if>
257264
<else-if type="webpage">
@@ -264,42 +271,64 @@
264271
<group delimiter=", " suffix=".">
265272
<text macro="title"/>
266273
<text macro="container-title"/>
267-
<text variable="volume"/>
268-
<text variable="issue"/>
274+
<group delimiter="&#8209;">
275+
<text variable="volume"/>
276+
<text variable="issue"/>
277+
</group>
269278
<text macro="pages"/>
270279
</group>
271280
</else-if>
272281
<else-if type="book graphic" match="any">
273282
<group suffix=".">
274283
<text macro="title" suffix=", "/>
275-
<text macro="translator" suffix=", "/>
276-
<text macro="edition"/>
277284
<text macro="publisher"/>
278285
<text macro="collection"/>
279286
<group>
280287
<text variable="number-of-pages" prefix=", " suffix=" p."/>
281288
</group>
282289
</group>
283290
</else-if>
284-
<else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
291+
<else-if type="entry-dictionary entry-encyclopedia" match="any">
292+
<group delimiter=", ">
293+
<text macro="container-title"/>
294+
<text macro="editor-encyclopedia" prefix="éd. "/>
295+
<group delimiter=" ">
296+
<text macro="publisher"/>
297+
<text macro="collection"/>
298+
</group>
299+
<group delimiter=" ">
300+
<text term="sub verbo" form="short" font-style="italic"/>
301+
<text macro="title"/>
302+
</group>
303+
<text macro="pages"/>
304+
</group>
305+
</else-if>
306+
<else-if type="chapter paper-conference" match="any">
285307
<text macro="title" suffix=", "/>
286308
<group>
287-
<text value="in" suffix=" "/>
288-
<text macro="editor" suffix=", "/>
309+
<choose>
310+
<if variable="container-author editor" match="none">
311+
<text term="in" suffix=" "/>
312+
</if>
313+
<else>
314+
<text term="in" suffix=" " font-style="italic"/>
315+
<text macro="editor" suffix=", "/>
316+
</else>
317+
</choose>
289318
<text macro="container-title"/>
290319
<text macro="publisher" prefix=", "/>
291320
<text macro="collection"/>
292321
<text macro="pages" prefix=", " suffix="."/>
293322
</group>
294323
</else-if>
295324
<else>
296-
<group suffix=".">
297-
<text macro="title" suffix=", "/>
325+
<group delimiter=", ">
326+
<text macro="title"/>
298327
<text macro="edition"/>
299328
<text macro="publisher"/>
300329
<text macro="collection"/>
301330
<group>
302-
<text variable="number-of-pages" prefix=", " suffix=" p."/>
331+
<text variable="number-of-pages" suffix=" p."/>
303332
</group>
304333
</group>
305334
</else>

0 commit comments

Comments
 (0)