Skip to content

Commit

Permalink
Update uclouvain-centre-charles-de-visscher-pour-le-droit-internation… (
Browse files Browse the repository at this point in the history
#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.
  • Loading branch information
anfourny authored Jun 23, 2020
1 parent ae5eba3 commit 7e0828d
Showing 1 changed file with 43 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<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">
<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">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>UCLouvain - Centre Charles De Visscher pour le droit international et européen (French)</title>
Expand All @@ -14,7 +14,7 @@
</author>
<category citation-format="note"/>
<category field="law"/>
<updated>2017-10-12T09:30:22+00:00</updated>
<updated>2019-03-27T03:56:25+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 xml:lang="fr">
Expand All @@ -23,8 +23,41 @@
<single>p.</single>
<multiple>pp.</multiple>
</term>
<term name="paragraph" form="short">
<single>§</single>
<multiple>§§</multiple>
</term>
</terms>
</locale>
<macro name="point-locators">
<choose>
<if variable="locator" match="any">
<choose>
<if locator="page paragraph" match="any">
<label variable="locator" prefix=" " suffix="&#160;" form="short"/>
<text variable="locator"/>
</if>
<else-if locator="sub-verbo" match="any">
<label variable="locator" prefix=", " suffix="&#160;" form="long" font-style="italic"/>
<text variable="locator" quotes="true"/>
</else-if>
<else-if type="legislation bill" match="none">
<!--Standard locator -->
<label variable="locator" prefix=", " suffix="&#160;" form="short"/>
<text variable="locator"/>
</else-if>
<!--Rest is just for bill and legislation-->
<else-if locator="section">
<text variable="locator" prefix=", art&#160;"/>
</else-if>
<else>
<label variable="locator" prefix=", " suffix="&#160;" form="short"/>
<text variable="locator"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name and="text" delimiter-precedes-last="never" initialize-with="." sort-separator="">
Expand Down Expand Up @@ -123,12 +156,6 @@
<text macro="URL"/>
</group>
</macro>
<macro name="locator">
<group delimiter=" ">
<text term="at"/>
<text variable="locator"/>
</group>
</macro>
<macro name="container-author">
<names variable="container-author">
<name and="text"/>
Expand Down Expand Up @@ -188,7 +215,7 @@
<date date-parts="year" form="text" variable="issued"/>
<names variable="translator" prefix="trad. "/>
<text variable="note"/>
<text macro="locator"/>
<text macro="point-locators"/>
</group>
</if>
<else-if type="report" match="any">
Expand Down Expand Up @@ -253,7 +280,7 @@
</date>
<text macro="page"/>
</group>
<text macro="locator"/>
<text macro="point-locators"/>
</group>
</else-if>
<else-if type="interview personal_communication speech article article-journal article-magazine article-newspaper" match="any">
Expand All @@ -273,7 +300,7 @@
<text macro="page"/>
<text variable="edition"/>
<text macro="URL"/>
<text macro="locator"/>
<text macro="point-locators"/>
</group>
</else-if>
<else-if type="webpage post-weblog" match="any">
Expand All @@ -288,7 +315,7 @@
<text variable="title" text-case="title" quotes="true"/>
<date date-parts="year" form="text" variable="issued"/>
<text macro="thesis"/>
<text macro="locator"/>
<text macro="point-locators"/>
</group>
</else-if>
<else-if type="legislation" match="any">
Expand Down Expand Up @@ -326,8 +353,7 @@
<group delimiter=", ">
<text term="ibid" form="long" font-style="italic" text-case="capitalize-first"/>
<group>
<text term="at"/>
<text variable="locator" prefix=" "/>
<text macro="point-locators"/>
</group>
</group>
</else-if>
Expand Down Expand Up @@ -386,13 +412,10 @@
<text variable="title" font-style="italic" suffix=", "/>
</else>
</choose>
<text value="op. cit." font-style="italic" suffix=", "/>
<text value="note" suffix=" "/>
<text variable="first-reference-note-number"/>
<text value="op. cit." font-style="italic" suffix=","/>
<choose>
<if match="any" variable="locator">
<text term="at" prefix=", " suffix=" "/>
<text variable="locator"/>
<text macro="point-locators"/>
</if>
</choose>
</else-if>
Expand Down Expand Up @@ -520,7 +543,7 @@
<text variable="title" text-case="title" quotes="true"/>
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=") "/>
<text macro="thesis"/>
<text macro="locator"/>
<text macro="point-locators"/>
</group>
</else-if>
<else-if type="legislation" match="any">
Expand Down

0 comments on commit 7e0828d

Please sign in to comment.