This file is indexed.

/usr/share/citation-style-language/styles/university-of-south-australia-harvard-2011.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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" default-locale="en-GB" version="1.0" demote-non-dropping-particle="sort-only">
  <!-- University of South Australia 2011 (Harvard-based author-date system)
NOTES

- This style is based on the May 2011 version of the style guide.

- This style uses CSL1.0.1 and has been tested with Zotero 4.0.8

- Resource type is assumed to be electronic if both URL and Accessed date are filled out. Moreover, for journal articles there is an inbuilt override checkbox on 'Styles' tab in Preferences that only exports URL and accessed date if no page number. See http://forums.zotero.org/discussion/6268/electronic-journal-articles-and-item-type/

KNOWN CHALLENGES

- Thesis, electronically accessed - does not insert Dept between Title and genre. This is a limitation of UniSA/Zotero. Non-electronic thesis does not req Dept. & Zotero has no variable avaliable to support it.

- Thesis on microfiche - title wrongly in quotation marks. Workaround by using the Report type.

- Edited book with no authors will not insert "ed." or "eds" in an in-text citation (can be added as Prefix manually though). 

TO DO

- Incorporate more exotic resource types from the 2011 style guide

- Reduce explicit handling of types in conditions

-->
  <info>
    <title>University of South Australia 2011 - Harvard</title>
    <title-short>UniSA</title-short>
    <id>http://www.zotero.org/styles/university-of-south-australia-harvard-2011</id>
    <link href="http://www.zotero.org/styles/university-of-south-australia-harvard-2011" rel="self"/>
    <link href="http://www.unisa.edu.au/ltu/students/study/referencing/harvard.pdf" rel="documentation"/>
    <author>
      <name>Tim Hamilton</name>
      <email>hamilton.tim@gmail.com</email>
    </author>
    <author>
      <name>Lubos Vnuk</name>
      <email>zothero@hotmail.com</email>
    </author>
    <category citation-format="author-date"/>
    <category field="generic-base"/>
    <summary>University of South Australia citation style based on the May 2011 version of the style guide titled The Harvard Author&#8211;Date Referencing System</summary>
    <updated>2013-05-24T22:06:38+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="en">
    <terms>
      <term name="editor" form="short">
        <single>ed.</single>
        <multiple>eds</multiple>
      </term>
      <term name="translator" form="short">
        <single>trans.</single>
        <multiple>trans</multiple>
      </term>
      <term name="director" form="short">
        <single>dir.</single>
        <multiple>dirs</multiple>
      </term>
      <term name="edition" form="short">edn</term>
      <term name="volume" form="short">vol.</term>
      <!-- Unlike the en-US locale, inner and outer quotation marks are swapped here -->
      <term name="open-quote"></term>
      <term name="close-quote"></term>
      <term name="open-inner-quote"></term>
      <term name="close-inner-quote"></term>
    </terms>
    <style-options punctuation-in-quote="false"/>
  </locale>
  <macro name="editor">
    <choose>
      <if variable="editor container-title" match="all">
        <text term="in" suffix=" "/>
      </if>
    </choose>
    <names variable="editor" delimiter=", ">
      <name and="symbol" initialize-with="" delimiter=", " delimiter-precedes-last="never"/>
      <label form="short" prefix=" (" suffix=")"/>
    </names>
  </macro>
  <macro name="translator">
    <names variable="translator" delimiter=", ">
      <label form="short" suffix=" "/>
      <name and="symbol" initialize-with="" delimiter=", " delimiter-precedes-last="never"/>
    </names>
  </macro>
  <macro name="noauthor_editor">
    <!-- This macro is only called when author is empty and the trick with substitute automatically suppresses repeating elements -->
    <names variable="author">
      <name/>
      <substitute>
        <names variable="editor">
          <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="" delimiter=", " delimiter-precedes-last="never"/>
          <label form="short" prefix=" (" suffix=")"/>
        </names>
      </substitute>
    </names>
  </macro>
  <macro name="noauthor_title">
    <!-- This macro is only called when author is empty and the trick with substitute automatically suppresses repeating elements -->
    <choose>
      <if type="article-newspaper">
        <names variable="author">
          <name/>
          <substitute>
            <text variable="container-title" font-style="italic"/>
          </substitute>
        </names>
      </if>
      <else>
        <names variable="author">
          <name/>
          <substitute>
            <text macro="title"/>
          </substitute>
        </names>
      </else>
    </choose>
  </macro>
  <macro name="author">
    <names variable="author">
      <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="" delimiter=", " delimiter-precedes-last="never"/>
      <label form="short" prefix=" (" suffix=")" strip-periods="true"/>
      <substitute>
        <text macro="noauthor_editor"/>
        <text macro="noauthor_title"/>
      </substitute>
    </names>
    <choose>
      <if type="motion_picture">
        <choose>
          <if variable="author">
            <text term="director" form="short" prefix=" (" suffix=")"/>
          </if>
        </choose>
      </if>
    </choose>
  </macro>
  <macro name="author-short">
    <names variable="author">
      <label form="short" suffix=" " strip-periods="true"/>
      <name form="short" name-as-sort-order="all" and="symbol" sort-separator=", " delimiter=", " delimiter-precedes-last="never" initialize-with=""/>
      <substitute>
        <names variable="editor"/>
        <text macro="noauthor_title"/>
      </substitute>
    </names>
  </macro>
  <macro name="access">
    <choose>
      <if variable="URL accessed" match="all">
        <date variable="accessed" prefix="viewed ">
          <date-part name="day" form="numeric" suffix=" "/>
          <date-part name="month" form="long" suffix=" "/>
          <date-part name="year" form="long"/>
        </date>
        <text variable="URL" prefix=", &lt;" suffix="&gt;"/>
      </if>
    </choose>
  </macro>
  <macro name="title">
    <choose>
      <if type="chapter paper-conference article-journal article-magazine article-newspaper broadcast interview manuscript map personal_communication speech thesis map post post-weblog" match="none">
        <!-- book, webpage, document, song -->
        <text variable="title" font-style="italic"/>
      </if>
      <else>
        <text variable="title" quotes="true"/>
      </else>
    </choose>
  </macro>
  <macro name="publisher">
    <group delimiter=", ">
      <text variable="publisher"/>
      <!-- The special treatment of event is due to the "place" field being shared (e.g. in a "conference paper") for both "event-place" and "publisher-place" in Zotero -->
      <choose>
        <if variable="container-title">
          <text variable="publisher-place"/>
        </if>
        <else-if variable="event" match="none">
          <text variable="publisher-place"/>
        </else-if>
      </choose>
    </group>
  </macro>
  <macro name="year-date">
    <choose>
      <if variable="issued">
        <date variable="issued">
          <date-part name="year"/>
        </date>
      </if>
      <else>
        <text term="no date" form="short"/>
      </else>
    </choose>
  </macro>
  <macro name="day-month-date">
    <choose>
      <!-- "post" and "post-weblog" are currently not mapped by Zotero 2.1, "podcast" could be worked around as a report -->
      <if type="article-newspaper report post post-weblog song" match="any">
        <date variable="issued">
          <date-part name="day" form="numeric" suffix=" "/>
          <date-part name="month" form="long"/>
        </date>
      </if>
    </choose>
  </macro>
  <macro name="pages">
    <label variable="page" form="short" suffix=" "/>
    <text variable="page"/>
  </macro>
  <macro name="edition">
    <choose>
      <if is-numeric="edition">
        <group delimiter=" ">
          <number variable="edition" form="ordinal"/>
          <text term="edition" form="short" strip-periods="true"/>
        </group>
      </if>
      <else>
        <text variable="edition"/>
      </else>
    </choose>
  </macro>
  <macro name="volume">
    <group delimiter=" ">
      <text term="volume" form="short" strip-periods="true"/>
      <text variable="volume"/>
    </group>
  </macro>
  <macro name="medium">
    <choose>
      <if type="thesis">
        <text variable="genre" suffix=" thesis"/>
      </if>
      <else-if type="song motion_picture" match="any">
        <text variable="medium"/>
      </else-if>
      <else>
        <text variable="genre"/>
      </else>
    </choose>
  </macro>
  <macro name="container">
    <choose>
      <if type="chapter paper-conference" match="any">
        <choose>
          <if variable="container-title">
            <choose>
              <if variable="editor author" match="all">
              </if>
              <else>
                <text term="in" suffix=" "/>
              </else>
            </choose>
            <text variable="container-title" font-style="italic"/>
          </if>
          <else-if variable="event">
            <text value="paper presented at "/>
            <text variable="event"/>
            <text variable="event-place" prefix=", "/>
          </else-if>
        </choose>
      </if>
      <else-if type="webpage">
        <text variable="container-title"/>
      </else-if>
      <else>
        <text variable="container-title" font-style="italic"/>
      </else>
    </choose>
  </macro>
  <citation et-al-min="4" et-al-use-first="1" disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" collapse="year">
    <sort>
      <key macro="author-short"/>
      <key macro="year-date"/>
    </sort>
    <layout prefix="(" suffix=")" delimiter="; ">
      <group delimiter=", ">
        <group delimiter=" ">
          <text macro="author-short"/>
          <text macro="year-date"/>
        </group>
        <group>
          <label variable="locator" suffix=" " form="short"/>
          <text variable="locator"/>
        </group>
      </group>
    </layout>
  </citation>
  <bibliography et-al-min="99" et-al-use-first="98" hanging-indent="false" entry-spacing="1" line-spacing="1">
    <sort>
      <key macro="author"/>
      <key macro="year-date"/>
      <key macro="title"/>
    </sort>
    <layout>
      <choose>
        <if type="personal_communication" match="none">
          <text macro="author"/>
          <group prefix=" " delimiter=", " suffix=".">
            <text macro="year-date"/>
            <text macro="title"/>
            <choose>
              <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
                <group delimiter=", ">
                  <text macro="editor"/>
                  <text macro="container"/>
                  <text macro="edition"/>
                  <text macro="translator"/>
                  <text macro="medium"/>
                  <text macro="day-month-date"/>
                  <text macro="volume"/>
                  <text variable="number" prefix="no. "/>
                  <text variable="collection-title"/>
                  <text macro="publisher"/>
                </group>
              </if>
              <else>
                <group delimiter=", ">
                  <text macro="editor"/>
                  <text macro="translator"/>
                  <text macro="medium"/>
                  <text macro="publisher"/>
                  <text macro="container"/>
                  <text macro="day-month-date"/>
                  <text variable="number"/>
                  <text variable="volume" prefix="vol. "/>
                  <text variable="issue" prefix="no. "/>
                </group>
              </else>
            </choose>
            <text macro="pages"/>
            <text macro="access"/>
          </group>
        </if>
      </choose>
    </layout>
  </bibliography>
</style>