Skip to content

Commit 7e0828d

Browse files
authored
Update uclouvain-centre-charles-de-visscher-pour-le-droit-internation… (#4871)
These changes were made by a student after he received feedback from a group who used this style. He then submitted this updated version of the style to me. It's been so long since I worked on this code, I'd be very happy if someone could help me and see if everything seems OK.
1 parent ae5eba3 commit 7e0828d

File tree

1 file changed

+43
-20
lines changed

1 file changed

+43
-20
lines changed

uclouvain-centre-charles-de-visscher-pour-le-droit-international-et-europeen.csl

+43-20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" default-locale="fr-FR" and="text" et-al-min="5" et-al-use-first="1" initialize-with="." page-range-format="expanded" demote-non-dropping-particle="never">
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" and="text" et-al-min="5" et-al-use-first="1" initialize-with="." page-range-format="expanded" demote-non-dropping-particle="never" default-locale="fr-FR">
33
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
44
<info>
55
<title>UCLouvain - Centre Charles De Visscher pour le droit international et européen (French)</title>
@@ -14,7 +14,7 @@
1414
</author>
1515
<category citation-format="note"/>
1616
<category field="law"/>
17-
<updated>2017-10-12T09:30:22+00:00</updated>
17+
<updated>2019-03-27T03:56:25+00:00</updated>
1818
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1919
</info>
2020
<locale xml:lang="fr">
@@ -23,8 +23,41 @@
2323
<single>p.</single>
2424
<multiple>pp.</multiple>
2525
</term>
26+
<term name="paragraph" form="short">
27+
<single>§</single>
28+
<multiple>§§</multiple>
29+
</term>
2630
</terms>
2731
</locale>
32+
<macro name="point-locators">
33+
<choose>
34+
<if variable="locator" match="any">
35+
<choose>
36+
<if locator="page paragraph" match="any">
37+
<label variable="locator" prefix=" " suffix="&#160;" form="short"/>
38+
<text variable="locator"/>
39+
</if>
40+
<else-if locator="sub-verbo" match="any">
41+
<label variable="locator" prefix=", " suffix="&#160;" form="long" font-style="italic"/>
42+
<text variable="locator" quotes="true"/>
43+
</else-if>
44+
<else-if type="legislation bill" match="none">
45+
<!--Standard locator -->
46+
<label variable="locator" prefix=", " suffix="&#160;" form="short"/>
47+
<text variable="locator"/>
48+
</else-if>
49+
<!--Rest is just for bill and legislation-->
50+
<else-if locator="section">
51+
<text variable="locator" prefix=", art&#160;"/>
52+
</else-if>
53+
<else>
54+
<label variable="locator" prefix=", " suffix="&#160;" form="short"/>
55+
<text variable="locator"/>
56+
</else>
57+
</choose>
58+
</if>
59+
</choose>
60+
</macro>
2861
<macro name="author">
2962
<names variable="author">
3063
<name and="text" delimiter-precedes-last="never" initialize-with="." sort-separator="">
@@ -123,12 +156,6 @@
123156
<text macro="URL"/>
124157
</group>
125158
</macro>
126-
<macro name="locator">
127-
<group delimiter=" ">
128-
<text term="at"/>
129-
<text variable="locator"/>
130-
</group>
131-
</macro>
132159
<macro name="container-author">
133160
<names variable="container-author">
134161
<name and="text"/>
@@ -188,7 +215,7 @@
188215
<date date-parts="year" form="text" variable="issued"/>
189216
<names variable="translator" prefix="trad. "/>
190217
<text variable="note"/>
191-
<text macro="locator"/>
218+
<text macro="point-locators"/>
192219
</group>
193220
</if>
194221
<else-if type="report" match="any">
@@ -253,7 +280,7 @@
253280
</date>
254281
<text macro="page"/>
255282
</group>
256-
<text macro="locator"/>
283+
<text macro="point-locators"/>
257284
</group>
258285
</else-if>
259286
<else-if type="interview personal_communication speech article article-journal article-magazine article-newspaper" match="any">
@@ -273,7 +300,7 @@
273300
<text macro="page"/>
274301
<text variable="edition"/>
275302
<text macro="URL"/>
276-
<text macro="locator"/>
303+
<text macro="point-locators"/>
277304
</group>
278305
</else-if>
279306
<else-if type="webpage post-weblog" match="any">
@@ -288,7 +315,7 @@
288315
<text variable="title" text-case="title" quotes="true"/>
289316
<date date-parts="year" form="text" variable="issued"/>
290317
<text macro="thesis"/>
291-
<text macro="locator"/>
318+
<text macro="point-locators"/>
292319
</group>
293320
</else-if>
294321
<else-if type="legislation" match="any">
@@ -326,8 +353,7 @@
326353
<group delimiter=", ">
327354
<text term="ibid" form="long" font-style="italic" text-case="capitalize-first"/>
328355
<group>
329-
<text term="at"/>
330-
<text variable="locator" prefix=" "/>
356+
<text macro="point-locators"/>
331357
</group>
332358
</group>
333359
</else-if>
@@ -386,13 +412,10 @@
386412
<text variable="title" font-style="italic" suffix=", "/>
387413
</else>
388414
</choose>
389-
<text value="op. cit." font-style="italic" suffix=", "/>
390-
<text value="note" suffix=" "/>
391-
<text variable="first-reference-note-number"/>
415+
<text value="op. cit." font-style="italic" suffix=","/>
392416
<choose>
393417
<if match="any" variable="locator">
394-
<text term="at" prefix=", " suffix=" "/>
395-
<text variable="locator"/>
418+
<text macro="point-locators"/>
396419
</if>
397420
</choose>
398421
</else-if>
@@ -520,7 +543,7 @@
520543
<text variable="title" text-case="title" quotes="true"/>
521544
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=") "/>
522545
<text macro="thesis"/>
523-
<text macro="locator"/>
546+
<text macro="point-locators"/>
524547
</group>
525548
</else-if>
526549
<else-if type="legislation" match="any">

0 commit comments

Comments
 (0)