This file is indexed.

/usr/share/citation-style-language/styles/swedish-legal.csl is in citation-style-language-styles 0~20180122.283b8d871-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="note" default-locale="sv-SE">
  <info>
    <title>Swedish Legal (Swedish)</title>
    <id>http://www.zotero.org/styles/swedish-legal</id>
    <link href="http://www.zotero.org/styles/swedish-legal" rel="self"/>
    <link href="http://libris.kb.se/bib/10057506" rel="documentation"/>
    <author>
      <name>Isak Bergdahl</name>
      <email>isak.bergdahl@oru.se</email>
      <uri>http://www.oru.se/jps/isak_bergdahl</uri>
    </author>
    <category citation-format="note"/>
    <category field="law"/>
    <summary>For general legal writing in Sweden, based on the handbook Att skriva juridik. (incomplete)</summary>
    <published>2012-11-19T22:00:00+01:00</published>
    <updated>2014-06-24T19:30:00+02: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="sv-SE">
    <terms>
      <term name="et-al">m. fl.</term>
      <term name="editor" form="short">red.</term>
      <term name="edition" form="short">uppl.</term>
      <term name="page" form="short">s.</term>
      <term name="chapter" form="short">kap.</term>
      <term name="paragraph" form="short">st.</term>
      <term name="section" form="short">avs.</term>
      <term name="volume" form="short">vol.</term>
      <term name="line" form="short">rad</term>
      <term name="figure" form="short">fig.</term>
    </terms>
  </locale>
  <macro name="author-short">
    <names variable="author">
      <name form="short" and="symbol" sort-separator=", " delimiter-precedes-last="never" initialize-with=". "/>
      <substitute>
        <names variable="editor"/>
        <text variable="publisher"/>
      </substitute>
    </names>
  </macro>
  <macro name="author">
    <names variable="author">
      <name name-as-sort-order="all" initialize-with=". "/>
      <substitute>
        <names variable="editor"/>
        <text variable="publisher"/>
        <text variable="title"/>
        <!-- känns knasigt. ska detta användas i förteckningen? -->
      </substitute>
    </names>
  </macro>
  <macro name="editor">
    <names variable="editor">
      <name and="symbol" name-as-sort-order="all" initialize-with=". "/>
      <label form="short" prefix=" (" suffix=")" plural="never"/>
    </names>
  </macro>
  <macro name="edition">
    <group delimiter=" ">
      <number variable="edition"/>
      <text term="edition" form="short"/>
    </group>
  </macro>
  <macro name="issued">
    <date variable="issued">
      <date-part name="year"/>
    </date>
  </macro>
  <macro name="issued-full-date">
    <date variable="issued">
      <date-part name="day"/>
      <date-part name="month" form="long" text-case="lowercase" prefix=" " suffix=" "/>
      <date-part name="year"/>
    </date>
  </macro>
  <macro name="locators">
    <group delimiter=" ">
      <label variable="locator" form="short"/>
      <text variable="locator"/>
    </group>
  </macro>
  <macro name="type-sorting">
    <choose>
      <if type="legislation">
        <text value="1"/>
      </if>
      <else-if type="legal_case">
        <text value="2"/>
      </else-if>
      <else-if type="bill">
        <text value="3"/>
      </else-if>
      <else-if type="legislation legal_case bill broadcast webpage entry-encyclopedia" match="none">
        <text value="4"/>
      </else-if>
      <else-if type="webpage">
        <text value="5"/>
      </else-if>
      <else>
        <text value="6"/>
      </else>
    </choose>
  </macro>
  <citation et-al-min="4" et-al-use-first="1" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name">
    <sort>
      <key variable="citation-number"/>
    </sort>
    <layout delimiter="; " suffix=".">
      <choose>
        <if type="article-journal">
          <group delimiter=" ">
            <text macro="author-short"/>
            <text variable="container-title" form="short" text-case="title"/>
            <text variable="volume"/>
            <text macro="locators"/>
          </group>
        </if>
        <else-if type="book thesis chapter paper-conference" match="any">
          <group delimiter=", ">
            <text macro="author-short"/>
            <text variable="title" form="short"/>
            <text macro="locators"/>
          </group>
        </else-if>
        <else-if type="legal_case">
          <group delimiter=" ">
            <text variable="title" form="short"/>
            <text macro="locators" prefix="vid "/>
          </group>
        </else-if>
        <else-if type="bill">
          <group delimiter=" ">
            <text variable="number"/>
            <text macro="locators"/>
          </group>
        </else-if>
        <else-if type="legislation">
          <group delimiter=" ">
            <text variable="number"/>
          </group>
        </else-if>
        <else-if type="webpage">
          <group delimiter=", ">
            <text macro="author-short"/>
            <text variable="title" form="short"/>
            <text variable="container-title"/>
          </group>
        </else-if>
        <else-if type="report">
          <group delimiter=", ">
            <text macro="author-short"/>
            <text variable="title" form="short"/>
            <text macro="locators"/>
          </group>
        </else-if>
        <else-if type="broadcast">
          <group delimiter=", ">
            <group delimiter=": ">
              <text variable="container-title"/>
              <text variable="title" form="short"/>
            </group>
            <text macro="locators"/>
          </group>
        </else-if>
        <else-if type="entry-encyclopedia">
          <group delimiter=", ">
            <text variable="container-title"/>
            <text variable="title"/>
          </group>
        </else-if>
        <else>
          <group delimiter=", ">
            <text macro="author-short"/>
            <text variable="title" form="short"/>
            <text macro="locators"/>
          </group>
        </else>
      </choose>
    </layout>
  </citation>
  <bibliography>
    <sort>
      <key macro="type-sorting"/>
      <key macro="author"/>
      <key variable="issued"/>
      <key variable="title"/>
    </sort>
    <layout>
      <choose>
        <if type="article-journal paper-conference" match="any">
          <group delimiter=", ">
            <text macro="author"/>
            <text variable="title"/>
            <group delimiter=" ">
              <text variable="container-title" text-case="title"/>
              <text variable="volume"/>
              <label variable="page" form="short"/>
              <text variable="page"/>
            </group>
          </group>
        </if>
        <else-if type="book thesis" match="any">
          <group delimiter=", ">
            <text macro="author"/>
            <text variable="title"/>
            <text macro="edition"/>
          </group>
          <group prefix=", " delimiter=" ">
            <text variable="publisher"/>
            <text macro="issued"/>
          </group>
        </else-if>
        <else-if type="chapter">
          <group delimiter=", ">
            <text macro="author"/>
            <text variable="title"/>
            <group delimiter=" ">
              <text term="in" text-case="capitalize-first" suffix=":"/>
              <text variable="container-title" suffix="."/>
              <text macro="editor"/>
            </group>
            <text macro="edition"/>
            <group delimiter=" ">
              <text variable="publisher"/>
              <text macro="issued"/>
            </group>
            <text variable="page" prefix="s. "/>
          </group>
        </else-if>
        <else-if type="bill legislation" match="any">
          <group delimiter=" ">
            <text variable="number" suffix="."/>
            <text variable="title"/>
          </group>
        </else-if>
        <else-if type="legal_case">
          <group delimiter=", ">
            <text variable="number"/>
            <text variable="title"/>
          </group>
        </else-if>
        <else-if type="webpage">
          <group delimiter=", ">
            <text macro="author"/>
            <text variable="title"/>
            <text variable="container-title"/>
            <group delimiter=" ">
              <date variable="issued" form="numeric"/>
              <date variable="accessed" form="numeric" prefix="(" suffix=")"/>
            </group>
            <text variable="URL"/>
          </group>
        </else-if>
        <else-if type="report">
          <group delimiter=", ">
            <text macro="author"/>
            <text variable="title"/>
            <text variable="number"/>
            <text variable="publisher"/>
            <text macro="issued-full-date"/>
          </group>
        </else-if>
        <else-if type="broadcast">
          <group delimiter=", ">
            <group delimiter=": ">
              <text variable="container-title"/>
              <text variable="title"/>
            </group>
            <text variable="publisher"/>
            <text macro="issued-full-date"/>
            <text variable="URL"/>
          </group>
        </else-if>
        <else-if type="entry-encyclopedia">
          <group delimiter=", ">
            <text variable="container-title"/>
            <text variable="title"/>
            <text variable="URL"/>
            <text macro="edition"/>
            <text variable="publisher"/>
            <group delimiter=" ">
              <date variable="issued" form="numeric"/>
              <date variable="accessed" form="numeric" prefix="(" suffix=")"/>
            </group>
          </group>
        </else-if>
        <else>
          <group delimiter=", ">
            <text macro="author"/>
            <text variable="title"/>
            <text macro="edition"/>
            <text variable="publisher"/>
            <text macro="issued"/>
          </group>
        </else>
      </choose>
    </layout>
  </bibliography>
</style>
<!-- 
  Att göra:
  Om en proposition föregås av ett prefix, ska inte första bokstaven vara versal. (går det ens?)
  Kan man för makrot issued-full-date, få månaden återgiven med inledande versal om det saknas full datumangivelse.
  -->