1<?xml version="1.0" encoding="utf-8"?>
2<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0.1" default-locale="en-US">
3  <info>
4    <id>https://github.com/cormacrelf/citeproc-rs/test-style</id>
5    <title>test-style</title>
6    <updated>2000-01-01T00:00:00Z</updated>
7  </info>
8
9  <locale>
10    <terms>
11      <term name="ibid">ibid</term>
12    </terms>
13  </locale>
14
15  <macro name="year">
16    <group>
17      <date variable="issued" form="numeric" date-parts="year" />
18      <text variable="year-suffix" />
19    </group>
20  </macro>
21
22  <macro name="author">
23    <names variable="author">
24      <name initialize="true" initialize-with="." />
25    </names>
26  </macro>
27
28  <citation
29    et-al-min="1"
30    et-al-use-first="1"
31    disambiguate-add-givenname="true"
32    givenname-disambiguation-rule="by-cite"
33    disambiguate-add-names="true"
34    disambiguate-add-year-suffix="true">
35
36    <layout delimiter="; " suffix=".">
37      <choose>
38        <if position="ibid-with-locator">
39          <group delimiter=", ">
40            <text term="ibid" />
41            <text variable="locator" />
42          </group>
43        </if>
44        <else-if position="ibid">
45          <text term="ibid" />
46        </else-if>
47        <else-if position="subsequent">
48          <group delimiter=", ">
49            <group delimiter=" ">
50              <text variable="title" font-style="italic" />
51              <text macro="year" />
52              <text prefix="(n " variable="first-reference-note-number" suffix=")" />
53            </group>
54            <text variable="locator" />
55          </group>
56        </else-if>
57        <else>
58          <group delimiter=", ">
59            <group delimiter=" ">
60              <text macro="author" />
61              <text variable="title" font-style="italic" />
62              <text macro="year" />
63            </group>
64            <text variable="locator" />
65          </group>
66        </else>
67      </choose>
68    </layout>
69  </citation>
70  <bibliography>
71      <layout>
72          <group display="left-margin">
73            <choose>
74                <if variable="author">
75                  <names variable="author" />
76                </if>
77                <else>
78                    <text value="no author" />
79                </else>
80            </choose>
81          </group>
82          <text variable="title" display="right-inline" />
83      </layout>
84  </bibliography>
85</style>
86