Skip to content

Commit 2928dc6

Browse files
committed
Add Citation Style Language (CSL) files
1 parent 6720339 commit 2928dc6

File tree

4 files changed

+1417
-0
lines changed

4 files changed

+1417
-0
lines changed

docs/references/csl/acm.csl

Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
3+
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
4+
<info>
5+
<title>Association for Computing Machinery</title>
6+
<title-short>ACM</title-short>
7+
<id>http://www.zotero.org/styles/association-for-computing-machinery</id>
8+
<link href="http://www.zotero.org/styles/association-for-computing-machinery" rel="self"/>
9+
<link href="http://www.acm.org/publications/word_style/word-style-toc/" rel="documentation"/>
10+
<author>
11+
<name>Mattias Jacobsson</name>
12+
<email>mattias.jacobsson@gmail.com</email>
13+
</author>
14+
<contributor>
15+
<email>brian.powell@mail.wvu.edu</email>
16+
<name>Brian M. Powell</name>
17+
</contributor>
18+
<category citation-format="author-date"/>
19+
<category field="engineering"/>
20+
<summary>The ACM Journal Reference Format (author-date) variant of the Chicago style</summary>
21+
<updated>2016-09-28T13:09:49+00:00</updated>
22+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
23+
</info>
24+
<macro name="editor">
25+
<names variable="editor" delimiter=", ">
26+
<name and="symbol" initialize-with=". " delimiter=", "/>
27+
<label form="short" prefix=", "/>
28+
</names>
29+
</macro>
30+
<macro name="anon">
31+
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
32+
</macro>
33+
<macro name="author">
34+
<names variable="author">
35+
<name and="text" initialize-with="."/>
36+
<label form="short" prefix=" "/>
37+
<substitute>
38+
<names variable="editor"/>
39+
<text macro="anon"/>
40+
</substitute>
41+
</names>
42+
</macro>
43+
<macro name="author-short">
44+
<names variable="author">
45+
<name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
46+
<substitute>
47+
<names variable="editor"/>
48+
<names variable="translator"/>
49+
<text macro="anon"/>
50+
</substitute>
51+
</names>
52+
</macro>
53+
<macro name="title">
54+
<choose>
55+
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
56+
<text variable="title" font-style="italic"/>
57+
</if>
58+
<else>
59+
<text variable="title"/>
60+
</else>
61+
</choose>
62+
</macro>
63+
<macro name="publisher">
64+
<group delimiter=": ">
65+
<text variable="publisher-place"/>
66+
<text variable="publisher"/>
67+
</group>
68+
</macro>
69+
<macro name="year-date">
70+
<choose>
71+
<if variable="issued">
72+
<date variable="issued">
73+
<date-part name="year"/>
74+
</date>
75+
</if>
76+
<else>
77+
<text term="no date" form="short"/>
78+
</else>
79+
</choose>
80+
</macro>
81+
<macro name="edition">
82+
<choose>
83+
<if is-numeric="edition">
84+
<group delimiter=" ">
85+
<number variable="edition" form="ordinal"/>
86+
<text term="edition" form="short"/>
87+
</group>
88+
</if>
89+
<else>
90+
<text variable="edition" suffix="."/>
91+
</else>
92+
</choose>
93+
</macro>
94+
<macro name="pages">
95+
<group>
96+
<text variable="page"/>
97+
</group>
98+
</macro>
99+
<macro name="DOI">
100+
<text variable="DOI" prefix=" DOI:https://doi.org/"/>
101+
</macro>
102+
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
103+
<layout prefix="[" suffix="]" delimiter="; ">
104+
<group delimiter=", ">
105+
<group delimiter=" ">
106+
<text macro="author-short"/>
107+
<text macro="year-date"/>
108+
</group>
109+
<group>
110+
<label variable="locator" form="short"/>
111+
<text variable="locator"/>
112+
</group>
113+
</group>
114+
</layout>
115+
</citation>
116+
<bibliography and="text" et-al-min="7" et-al-use-first="1" initialize="false" entry-spacing="0" hanging-indent="true">
117+
<sort>
118+
<key macro="author"/>
119+
<key variable="title"/>
120+
</sort>
121+
<layout>
122+
<text macro="author" font-variant="normal" suffix="."/>
123+
<date variable="issued" prefix=" " suffix=".">
124+
<date-part name="year"/>
125+
</date>
126+
<choose>
127+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
128+
<group prefix=" " delimiter=" " suffix=",">
129+
<text macro="title"/>
130+
<text macro="edition"/>
131+
<text macro="editor"/>
132+
</group>
133+
<text prefix=" " suffix="." macro="publisher"/>
134+
</if>
135+
<else-if type="chapter paper-conference" match="any">
136+
<text macro="title" prefix=" " suffix="."/>
137+
<group prefix=" " delimiter=" ">
138+
<text term="in" text-case="capitalize-first"/>
139+
<text macro="editor"/>
140+
<text variable="container-title" font-style="italic" suffix="."/>
141+
<text variable="collection-title" suffix="."/>
142+
<group suffix="." delimiter=", ">
143+
<text macro="publisher" prefix=" "/>
144+
<text macro="pages"/>
145+
</group>
146+
</group>
147+
<text macro="DOI"/>
148+
</else-if>
149+
<else-if type="thesis">
150+
<group prefix=" " suffix="." delimiter=". ">
151+
<text macro="title"/>
152+
<text variable="genre"/>
153+
<text macro="publisher"/>
154+
</group>
155+
</else-if>
156+
<else-if type="webpage" match="any">
157+
<text macro="title" prefix=" " suffix=". "/>
158+
<date date-parts="year-month" form="text" variable="issued" prefix="(" suffix="). "/>
159+
<choose>
160+
<if match="none" variable="accessed">
161+
<text variable="URL"/>
162+
</if>
163+
<else>
164+
<group>
165+
<text value="Retrieved" suffix=" "/>
166+
<date form="text" variable="accessed" suffix=" "/>
167+
<text value="from" suffix=" "/>
168+
<text variable="URL"/>
169+
</group>
170+
</else>
171+
</choose>
172+
</else-if>
173+
<else>
174+
<group suffix=".">
175+
<text macro="title" prefix=" "/>
176+
<text macro="editor" prefix=" "/>
177+
</group>
178+
<group prefix=" " suffix=".">
179+
<text variable="container-title" form="short" font-style="italic"/>
180+
<group prefix=" ">
181+
<text variable="volume"/>
182+
<text variable="issue" prefix=", "/>
183+
<date date-parts="year-month" form="text" variable="issued" prefix=" (" suffix=")"/>
184+
</group>
185+
<group prefix=", ">
186+
<text variable="page"/>
187+
</group>
188+
</group>
189+
<group>
190+
<text macro="DOI"/>
191+
</group>
192+
</else>
193+
</choose>
194+
</layout>
195+
</bibliography>
196+
</style>

0 commit comments

Comments
 (0)