Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_text/tests/data/csl/corpus/custom-isprs.csl

7.1 KiB, 1 run

created by r1870400018:72774, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1<?xml version="1.0" encoding="utf-8"?>
2<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0"
3 demote-non-dropping-particle="never" default-locale="en-US">
4 <info>
5 <title>Custom ISPRS</title>
6 <title-short>Custom ISPRS</title-short>
7 <id>http://www.zotero.org/styles/custom-isprs</id>
8 <category citation-format="author-date"/>
9 <summary>Tuned the Elsevier Harvard 2 style to try to reproduce the actual expected behaviour for ISPRS full papers.</summary>
10 </info>
11 <macro name="container">
12 <choose>
13 <if type="article-journal article-magazine article-newspaper" match="any">
14 <group prefix=". ">
15 <text variable="container-title" font-style="italic"/>
16 </group>
17 </if>
18 <else-if type="chapter paper-conference" match="any">
19 <group prefix=". ">
20 <names variable="editor translator" delimiter=", " suffix=", ">
21 <name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
22 <label form="short" text-case="capitalize-first" prefix=" (" suffix=")"/>
23 </names>
24 <group delimiter=", ">
25 <text variable="container-title" text-case="title" font-style="italic"/>
26 <text variable="collection-title" text-case="title"/>
27 </group>
28 </group>
29 </else-if>
30 <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
31 <group prefix=", " delimiter=", ">
32 <text variable="container-title"/>
33 <text variable="collection-title"/>
34 </group>
35 </else-if>
36 <else>
37 <group prefix=". " delimiter=", ">
38 <text variable="container-title" form="short"/>
39 <text variable="collection-title"/>
40 </group>
41 </else>
42 </choose>
43 </macro>
44 <macro name="author">
45 <names variable="author">
46 <name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
47 <label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
48 <substitute>
49 <names variable="editor"/>
50 <names variable="translator"/>
51 <text macro="title"/>
52 </substitute>
53 </names>
54 </macro>
55 <macro name="author-short">
56 <names variable="author">
57 <name form="short" and="text" delimiter=", " initialize-with=". "/>
58 <substitute>
59 <names variable="editor"/>
60 <names variable="translator"/>
61 <choose>
62 <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
63 <text variable="title" form="short" font-style="italic"/>
64 </if>
65 <else>
66 <text variable="title" form="short" quotes="true"/>
67 </else>
68 </choose>
69 </substitute>
70 </names>
71 </macro>
72 <macro name="access">
73 <choose>
74 <if variable="DOI">
75 <group delimiter="">
76 <text variable="DOI"/>
77 </group>
78 </if>
79 <else-if type="webpage post-weblog" match="any">
80 <group delimiter=" ">
81 <text variable="URL"/>
82 <group prefix="(" suffix=").">
83 <date variable="accessed">
84 <date-part name="day" suffix=" "/>
85 <date-part name="month" form="long" suffix=" "/>
86 <date-part name="year" form="long"/>
87 </date>
88 </group>
89 </group>
90 </else-if>
91 <else-if variable="URL">
92 <text variable="URL"/>
93 </else-if>
94 </choose>
95 </macro>
96 <macro name="title">
97 <choose>
98 <if type="report thesis" match="any">
99 <text variable="title"/>
100 <group prefix=" (" suffix=")">
101 <text variable="genre"/>
102 <text variable="number" prefix=" "/>
103 </group>
104 </if>
105 <else-if type="bill book graphic legal_case legislation motion_picture report song speech" match="any">
106 <text variable="title"/>
107 <text macro="edition" prefix=", "/>
108 </else-if>
109 <else-if type="chapter">
110 <text variable="title" font-style="italic"/>
111 </else-if>
112 <else>
113 <text variable="title"/>
114 </else>
115 </choose>
116 </macro>
117 <macro name="publisher">
118 <group delimiter=", ">
119 <text variable="publisher"/>
120 <text variable="publisher-place"/>
121 </group>
122 </macro>
123 <macro name="event">
124 <choose>
125 <if variable="event">
126 <text term="presented at" text-case="capitalize-first" suffix=" "/>
127 <text variable="event"/>
128 </if>
129 </choose>
130 </macro>
131 <macro name="issued">
132 <choose>
133 <if variable="issued">
134 <date variable="issued">
135 <date-part name="year"/>
136 </date>
137 </if>
138 <else>
139 <text term="no date" form="short"/>
140 </else>
141 </choose>
142 </macro>
143 <macro name="edition">
144 <group delimiter=" ">
145 <choose>
146 <if is-numeric="edition">
147 <number variable="edition" form="ordinal"/>
148 </if>
149 <else>
150 <text variable="edition" suffix="."/>
151 </else>
152 </choose>
153 <text value="ed"/>
154 </group>
155 </macro>
156 <macro name="locators">
157 <choose>
158 <if type="article-journal article-magazine article-newspaper" match="any">
159 <group prefix=", " delimiter=", ">
160 <text variable="number"/>
161 <group delimiter="">
162 <text variable="volume"/>
163 <text variable="issue" prefix="(" suffix=")"/>
164 </group>
165 <text variable="page"/>
166 </group>
167 </if>
168 <else-if type="bill book document graphic legal_case legislation motion_picture report song thesis" match="any">
169 <group delimiter=", " prefix=". ">
170 <text macro="event"/>
171 <text macro="publisher"/>
172 </group>
173 </else-if>
174 <else-if type="chapter paper-conference" match="any">
175 <group delimiter=", " prefix=", ">
176 <text macro="event"/>
177 <text macro="publisher"/>
178 <text variable="page"/>
179 </group>
180 </else-if>
181 <else-if type="patent">
182 <text variable="number" prefix=". "/>
183 </else-if>
184 </choose>
185 </macro>
186 <citation et-al-min="3" et-al-use-first="1" disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" collapse="year" cite-group-delimiter=", ">
187 <sort>
188 <key macro="author"/>
189 <key macro="issued" sort="descending"/>
190 </sort>
191 <layout prefix="(" suffix=")" delimiter="; ">
192 <group delimiter=", ">
193 <text macro="author-short"/>
194 <text macro="issued"/>
195 <group delimiter=" ">
196 <label variable="locator" form="short"/>
197 <text variable="locator"/>
198 </group>
199 </group>
200 </layout>
201 </citation>
202 <bibliography hanging-indent="false" entry-spacing="0" line-spacing="1">
203 <sort>
204 <key macro="author"/>
205 <key macro="issued" sort="ascending"/>
206 </sort>
207 <layout>
208 <group suffix=".">
209 <text macro="author" suffix=","/>
210 <text macro="issued" prefix=" "/>
211 <group prefix=". ">
212 <text macro="title"/>
213 <text macro="container"/>
214 <text macro="locators"/>
215 </group>
216 <text macro="access" prefix=". "/>
217 </group>
218 </layout>
219 </bibliography>
220</style>