-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathjuris-ca+on.csl
178 lines (178 loc) · 5.69 KB
/
juris-ca+on.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
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.1mlz1" class="note">
<info>
<title>Canada</title>
<id>http://citationstylist.org/modules/juris-ca+on</id>
<link href="http://citationstylist/modules/juris-ca+on" rel="self"/>
<link href="http://juris-m.github.io" rel="documentation"/>
<author>
<name>Samuel Gagnon</name>
<email>gagnon-samuel@outlook.com</email>
</author>
<category citation-format="note"/>
<category field="law"/>
<summary>Juris-M style module for Ontario</summary>
<updated>2020-10-19T15:45:45.469Z</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>
<law-module types="regulation hearing"/>
</info>
<macro name="juris-pretitle">
<!-- Fragment to precede title (rare) -->
<choose>
<if type="regulation" variable="authority" match="all">
<group delimiter=", ">
<names variable="authority"/>
<group delimiter=" ">
<text variable="genre"/>
<group delimiter=" ">
<choose>
<if variable="issued">
<text term="issue"/>
</if>
</choose>
<number variable="volume"/>
</group>
</group>
</group>
</if>
<else-if type="hearing">
<!-- Should render "Bill being debated", reading number, legislative-body, committee(if present) -->
<!-- Cannot use quotes="true" here because it leads to the quotes rendering incorrectly before the comma -->
<group delimiter=", ">
<group>
<text term="open-quote"/>
<text variable="event"/>
<text term="close-quote"/>
</group>
<choose>
<if variable="genre references" match="any">
<text variable="genre"/>
<text variable="references"/>
</if>
<else>
<text variable="publisher-place"/>
</else>
</choose>
<names variable="authority"/>
<names variable="committee"/>
</group>
</else-if>
</choose>
</macro>
<macro name="juris-title">
<!-- The title form for full citations (of all types) -->
<text variable="title" strip-periods="true"/>
</macro>
<macro name="juris-main">
<choose>
<if type="regulation" variable="authority">
<date variable="issued" form="text" prefix="(" suffix=")"/>
</if>
<else-if type="regulation" variable="genre">
<group delimiter=", ">
<group delimiter=" ">
<text variable="container-title"/>
<number variable="volume"/>
</group>
<number variable="number" prefix="Reg "/>
</group>
</else-if>
<else-if type="regulation">
<group delimiter=" ">
<text variable="container-title"/>
<group delimiter="/">
<number variable="number"/>
<number variable="volume"/>
</group>
</group>
</else-if>
<else-if type="hearing">
<group delimiter=", ">
<group delimiter="-">
<number variable="collection-number"/>
<number variable="chapter-number"/>
</group>
<group delimiter=" ">
<choose>
<if variable="document-number">
<label variable="number"/>
<number variable="document-number"/>
</if>
<else-if variable="volume">
<label variable="number"/>
<number variable="volume"/>
</else-if>
</choose>
<date variable="issued" prefix="(" suffix=")" form="text"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="juris-tail">
<!-- Full form of the portion of the citation that follows a pinpoint locator, if any (for all types) -->
<choose>
<if type="hearing">
<names variable="author" prefix="(" suffix=")"/>
</if>
</choose>
</macro>
<macro name="juris-pretitle-short">
<!-- Fragment to precede short title (rare) -->
<text value=""/>
</macro>
<macro name="juris-title-short">
<!-- The title form for subsequent citations (of all types) -->
<choose>
<if position="first">
<choose>
<if variable="hereinafter">
<text variable="hereinafter"/>
</if>
<else-if variable="title-short">
<text variable="title-short"/>
</else-if>
</choose>
</if>
<else>
<choose>
<if variable="hereinafter">
<text variable="hereinafter"/>
</if>
<else-if variable="title-short">
<text variable="title-short"/>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</else>
</choose>
</macro>
<macro name="juris-main-short">
<text value=""/>
</macro>
<macro name="juris-tail-short">
<!-- Short form of the portion of the citation that follows a pinpoint locator, if any (for all types) -->
<text value=""/>
</macro>
<macro name="juris-locator">
<choose>
<if page="page" match="none">
<group delimiter=" ">
<label form="short" plural="contextual" variable="page"/>
</group>
</if>
<else>
<group delimiter=" ">
<label variable="locator" form="short" plural="contextual"/>
<number variable="locator"/>
</group>
</else>
</choose>
</macro>
<citation>
<layout>
</layout>
</citation>
</style>