forked from citation-style-language/styles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasce.csl
198 lines (198 loc) · 5.75 KB
/
asce.csl
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
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text">
<info>
<title>American Society of Civil Engineers</title>
<id>http://www.zotero.org/styles/asce</id>
<link href="http://www.zotero.org/styles/asce"/>
<author>
<name>Rintze</name>
<uri>http://forums.zotero.org/account/831/</uri>
</author>
<category term="engineering"/>
<category term="author-date"/>
<summary>A style for American Society of Civil Engineers publications</summary>
<link href="http://pubs.asce.org/authors/book/generalresources/references.htm" rel="documentation"/>
<updated/>
</info>
<macro name="container-contributors">
<choose>
<if type="chapter">
<names variable="editor translator" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", " suffix="."/>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if type="chapter" match="none">
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", " suffix="."/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="book">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="book">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="publisher">
<text variable="genre" suffix=", "/>
<group>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="event">
<text variable="event"/>
<text variable="event-place" prefix=", "/>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<group>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<text prefix=" (" term="no date" suffix=")."/>
</else>
</choose>
</macro>
<macro name="issued-year">
<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="edition">
<choose>
<if type="book chapter" match="any">
<choose>
<if is-numeric="edition">
<group>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group>
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
</if>
<else-if type="book chapter" match="any">
<text variable="page"/>
</else-if>
<else-if type="webpage">
<text variable="URL" prefix="<" suffix=">"/>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<group>
<text variable="locator" prefix=" "/>
</group>
</macro>
<macro name="access">
<choose>
<if type="webpage">
<date variable="accessed" prefix=" (" suffix=")">
<date-part name="month" form="short" suffix=". "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</if>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year-suffix">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout delimiter="; ">
<group>
<text macro="author-short"/>
<text macro="issued-year"/>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="true" entry-spacing="0">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<text macro="author" suffix="."/>
<text macro="issued" suffix=" "/>
<group>
<text macro="title"/>
<group>
<text variable="container-title" font-style="italic"/>
<text variable="collection-title"/>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text macro="publisher"/>
<text macro="locators"/>
</group>
</group>
<text macro="access"/>
</layout>
</bibliography>
</style>