Skip to content

Commit 868809c

Browse files
authored
Create agora.csl (#4940)
1 parent 99c19c3 commit 868809c

File tree

1 file changed

+266
-0
lines changed

1 file changed

+266
-0
lines changed

agora.csl

+266
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,266 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" page-range-format="expanded" demote-non-dropping-particle="sort-only">
3+
<!-- Polyglot; journal publishes in Scandinavian languages -->
4+
<info>
5+
<title>Agora</title>
6+
<id>http://www.zotero.org/styles/agora</id>
7+
<link href="http://www.zotero.org/styles/agora" rel="self"/>
8+
<link href="http://www.zotero.org/styles/annales" rel="template"/>
9+
<link href="https://www.idunn.no/agora?languageId=2#/authors" rel="documentation"/>
10+
<author>
11+
<name>Patrick O'Brien</name>
12+
</author>
13+
<category citation-format="note"/>
14+
<category field="philosophy"/>
15+
<issn>0800-7136</issn>
16+
<eissn>1500-1571</eissn>
17+
<updated>2020-07-24T09:14:05+00:00</updated>
18+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
19+
</info>
20+
<locale>
21+
<terms>
22+
<term name="open-quote">«</term>
23+
<term name="close-quote">»</term>
24+
</terms>
25+
</locale>
26+
<macro name="author">
27+
<names variable="author">
28+
<name form="long" and="text" delimiter-precedes-last="never"/>
29+
<label form="short" prefix=" (" suffix=")"/>
30+
<substitute>
31+
<names variable="editor"/>
32+
<names variable="translator"/>
33+
<text macro="title"/>
34+
</substitute>
35+
</names>
36+
</macro>
37+
<macro name="author-short">
38+
<names variable="author">
39+
<name form="long" and="text" initialize-with=". " delimiter-precedes-last="never">
40+
<name-part name="family"/>
41+
</name>
42+
<label form="short" prefix=" (" suffix=")"/>
43+
<substitute>
44+
<names variable="editor"/>
45+
<names variable="translator"/>
46+
<text macro="title"/>
47+
</substitute>
48+
</names>
49+
</macro>
50+
<macro name="editor">
51+
<names variable="editor">
52+
<name form="long" and="text" delimiter-precedes-last="never" sort-separator=" "/>
53+
<label form="short" prefix=" (" suffix=".)"/>
54+
</names>
55+
</macro>
56+
<macro name="translator">
57+
<names variable="translator">
58+
<name form="long" and="text" delimiter-precedes-last="never" sort-separator=" ">
59+
<name-part name="family"/>
60+
</name>
61+
</names>
62+
</macro>
63+
<macro name="title">
64+
<choose>
65+
<if type="bill book graphic legal_case motion_picture report song" match="any">
66+
<text variable="title" text-case="capitalize-first" font-style="italic"/>
67+
</if>
68+
<else-if type="article-journal article-newspaper article-magazine" match="any">
69+
<group delimiter=", ">
70+
<text variable="title" text-case="capitalize-first" quotes="true"/>
71+
<group delimiter=" ">
72+
<text term="in"/>
73+
<text variable="container-title" font-style="italic"/>
74+
</group>
75+
</group>
76+
</else-if>
77+
<else-if type="thesis" match="any">
78+
<group>
79+
<text variable="title" text-case="capitalize-first" quotes="true"/>
80+
<text variable="genre" suffix=", " prefix=" "/>
81+
<text variable="publisher"/>
82+
</group>
83+
</else-if>
84+
<else-if type="manuscript" match="any">
85+
<group delimiter=",">
86+
<text variable="title" text-case="capitalize-first" quotes="true"/>
87+
<text variable="genre" prefix=" "/>
88+
</group>
89+
</else-if>
90+
<else-if type="chapter entry-dictionary entry-encyclopedia" match="any">
91+
<group>
92+
<text variable="title" text-case="capitalize-first" quotes="true" suffix=","/>
93+
<text term="in" prefix=" " suffix=" "/>
94+
<text macro="editor" suffix=", "/>
95+
<text variable="container-title" text-case="capitalize-first" font-style="italic"/>
96+
</group>
97+
</else-if>
98+
<else-if type="webpage" match="any">
99+
<group>
100+
<text variable="title" text-case="capitalize-first" font-style="italic" suffix=", "/>
101+
<text variable="URL" text-decoration="underline"/>
102+
</group>
103+
</else-if>
104+
<else>
105+
<text variable="title" quotes="true"/>
106+
</else>
107+
</choose>
108+
</macro>
109+
<macro name="publisher">
110+
<group delimiter=": ">
111+
<text variable="publisher-place"/>
112+
<text variable="publisher"/>
113+
</group>
114+
</macro>
115+
<macro name="yearpage">
116+
<choose>
117+
<if type="bill book graphic legal_case motion_picture paper-conference manuscript report song thesis" match="any">
118+
<group delimiter=", ">
119+
<date variable="issued">
120+
<date-part name="year"/>
121+
</date>
122+
<group delimiter=" ">
123+
<text term="volume" form="short"/>
124+
<text variable="volume"/>
125+
</group>
126+
</group>
127+
</if>
128+
<else-if type="chapter entry-dictionary entry-encyclopedia" match="any">
129+
<group delimiter=", ">
130+
<date variable="issued">
131+
<date-part name="year"/>
132+
</date>
133+
<group>
134+
<text term="volume" form="short" suffix="."/>
135+
<text variable="number-of-volumes" prefix=". " suffix="/"/>
136+
<text variable="volume" suffix=","/>
137+
</group>
138+
<text variable="page"/>
139+
</group>
140+
</else-if>
141+
<else-if type="article-journal" match="any">
142+
<text variable="page"/>
143+
</else-if>
144+
<else-if type="article-newspaper article-magazine" match="any">
145+
<group delimiter=" ">
146+
<date variable="issued" form="numeric">
147+
<date-part name="day"/>
148+
<date-part name="month"/>
149+
<date-part name="year"/>
150+
</date>
151+
<group delimiter=" ">
152+
<choose>
153+
<if variable="locator" match="any">
154+
<group delimiter="&#8239;">
155+
<label variable="locator" form="short"/>
156+
<text variable="locator"/>
157+
</group>
158+
</if>
159+
<else-if variable="locator" match="none">
160+
<label variable="page" form="short"/>
161+
</else-if>
162+
</choose>
163+
</group>
164+
</group>
165+
</else-if>
166+
<else-if type="webpage post post-weblog" match="any">
167+
<group delimiter=" ">
168+
<date variable="accessed" form="text">
169+
<date-part name="day"/>
170+
<date-part name="month"/>
171+
<date-part name="year"/>
172+
</date>
173+
</group>
174+
</else-if>
175+
</choose>
176+
</macro>
177+
<macro name="edition">
178+
<choose>
179+
<if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
180+
<choose>
181+
<if is-numeric="edition">
182+
<group delimiter=" ">
183+
<number variable="edition" form="ordinal"/>
184+
<text term="edition" form="short"/>
185+
</group>
186+
</if>
187+
<else>
188+
<text variable="edition" text-case="capitalize-first" suffix="."/>
189+
</else>
190+
</choose>
191+
</if>
192+
</choose>
193+
</macro>
194+
<macro name="locators">
195+
<choose>
196+
<if type="article-journal article-magazine" match="any">
197+
<group delimiter=":">
198+
<text variable="volume"/>
199+
<text variable="issue"/>
200+
</group>
201+
</if>
202+
</choose>
203+
</macro>
204+
<macro name="citation-locator">
205+
<text variable="locator"/>
206+
</macro>
207+
<citation>
208+
<layout suffix="." delimiter=" ; ">
209+
<choose>
210+
<if position="ibid-with-locator">
211+
<group delimiter=", ">
212+
<text term="ibid" text-case="capitalize-first" font-style="italic" suffix="."/>
213+
<group delimiter="&#8239;">
214+
<label variable="locator" form="short"/>
215+
<text variable="locator"/>
216+
</group>
217+
</group>
218+
</if>
219+
<else-if position="ibid">
220+
<text term="ibid" text-case="capitalize-first" font-style="italic"/>
221+
</else-if>
222+
<else-if position="subsequent">
223+
<group delimiter=", ">
224+
<text macro="author-short"/>
225+
<choose>
226+
<if type="bill book graphic legal_case motion_picture report song thesis" match="any">
227+
<text variable="title" form="short" font-style="italic"/>
228+
</if>
229+
<else>
230+
<text variable="title" text-case="capitalize-first" form="short" quotes="true"/>
231+
</else>
232+
</choose>
233+
<choose>
234+
<if type="article-journal article-magazine article-newspaper chapter paper-conference" match="any">
235+
<text value="art. cit"/>
236+
</if>
237+
<else>
238+
<text value="op. cit" font-style="italic"/>
239+
</else>
240+
</choose>
241+
<group delimiter="&#8239;">
242+
<label variable="locator" form="short"/>
243+
<text variable="locator"/>
244+
</group>
245+
</group>
246+
</else-if>
247+
<else>
248+
<group delimiter=", ">
249+
<text macro="author"/>
250+
<group delimiter=" ">
251+
<text macro="title"/>
252+
<text macro="locators"/>
253+
</group>
254+
<text macro="translator"/>
255+
<text macro="edition"/>
256+
<group delimiter=" ">
257+
<text macro="publisher"/>
258+
<text macro="yearpage"/>
259+
</group>
260+
<text macro="citation-locator"/>
261+
</group>
262+
</else>
263+
</choose>
264+
</layout>
265+
</citation>
266+
</style>

0 commit comments

Comments
 (0)