Skip to content

Commit eb0d37e

Browse files
authored
Create natbib-plainnat-author-dat.csl (JabRef#4967)
1 parent fb1592a commit eb0d37e

File tree

1 file changed

+276
-0
lines changed

1 file changed

+276
-0
lines changed

natbib-plainnat-author-date.csl

+276
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
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+
<info>
4+
<title>natbib - plainnat (author-date)</title>
5+
<id>http://www.zotero.org/styles/natbib-plainnat-author-date</id>
6+
<link href="http://www.zotero.org/styles/natbib-plainnat-author-date" rel="self"/>
7+
<link href="http://www.zotero.org/styles/universidade-de-sao-paulo-instituto-de-matematica-e-estatistica" rel="template"/>
8+
<link href="https://www.bibtex.com/s/bibliography-style-natbib-plainnat/" rel="documentation"/>
9+
<author>
10+
<name>Patrick O'Brien</name>
11+
</author>
12+
<category citation-format="author-date"/>
13+
<category field="generic-base"/>
14+
<updated>2020-08-12T12:38:00+00:00</updated>
15+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
16+
</info>
17+
<macro name="author">
18+
<names variable="author">
19+
<name and="text" initialize-with=" "/>
20+
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
21+
<substitute>
22+
<names variable="editor"/>
23+
<names variable="translator"/>
24+
<text variable="title"/>
25+
</substitute>
26+
</names>
27+
</macro>
28+
<macro name="author-short">
29+
<names variable="author">
30+
<name form="short" and="text" delimiter=", " initialize-with=". "/>
31+
<substitute>
32+
<names variable="editor"/>
33+
<names variable="translator"/>
34+
<choose>
35+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
36+
<text variable="title" form="short" font-style="italic"/>
37+
</if>
38+
<else>
39+
<text variable="title" form="short" quotes="true"/>
40+
</else>
41+
</choose>
42+
</substitute>
43+
</names>
44+
</macro>
45+
<macro name="author-ea">
46+
<names variable="author">
47+
<name form="short" and="text" et-al-min="3" et-al-use-first="1" initialize-with=". "/>
48+
<substitute>
49+
<names variable="editor"/>
50+
<names variable="translator"/>
51+
<choose>
52+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
53+
<text variable="title" form="short" font-style="italic"/>
54+
</if>
55+
<else>
56+
<text variable="title" form="short" quotes="true"/>
57+
</else>
58+
</choose>
59+
</substitute>
60+
</names>
61+
</macro>
62+
<macro name="edition">
63+
<choose>
64+
<if is-numeric="edition">
65+
<group delimiter=" ">
66+
<number variable="edition" form="ordinal"/>
67+
<text term="edition" form="short"/>
68+
</group>
69+
</if>
70+
<else>
71+
<text variable="edition" suffix="."/>
72+
</else>
73+
</choose>
74+
</macro>
75+
<macro name="access">
76+
<choose>
77+
<if type="article-journal">
78+
<text variable="DOI" prefix="doi: "/>
79+
</if>
80+
<else-if type="webpage post post-weblog" match="any">
81+
<group delimiter=": ">
82+
<text term="accessed" text-case="capitalize-first"/>
83+
<date variable="accessed">
84+
<date-part name="year" suffix="-"/>
85+
<date-part name="month" form="numeric-leading-zeros" suffix="-"/>
86+
<date-part name="day" form="numeric-leading-zeros"/>
87+
</date>
88+
</group>
89+
</else-if>
90+
</choose>
91+
</macro>
92+
<macro name="editor">
93+
<names variable="editor">
94+
<name and="text" initialize-with=" "/>
95+
<label text-case="lowercase" strip-periods="false" prefix=", " suffix="."/>
96+
</names>
97+
</macro>
98+
<macro name="issued-year">
99+
<choose>
100+
<if variable="issued">
101+
<date variable="issued">
102+
<date-part name="year"/>
103+
</date>
104+
</if>
105+
<else>
106+
<text term="no date" form="short"/>
107+
</else>
108+
</choose>
109+
</macro>
110+
<macro name="citation-locator">
111+
<group>
112+
<label variable="locator" form="short"/>
113+
<text variable="locator"/>
114+
</group>
115+
</macro>
116+
<macro name="issued-month-year">
117+
<date variable="issued">
118+
<date-part name="month" suffix=" "/>
119+
<date-part name="year"/>
120+
</date>
121+
</macro>
122+
<macro name="pages">
123+
<group delimiter=" ">
124+
<label variable="page"/>
125+
<text variable="page"/>
126+
</group>
127+
</macro>
128+
<macro name="publisher">
129+
<group delimiter=", ">
130+
<text variable="publisher"/>
131+
<text variable="publisher-place"/>
132+
</group>
133+
</macro>
134+
<citation disambiguate-add-year-suffix="true" collapse="year">
135+
<sort>
136+
<key variable="issued"/>
137+
<key macro="author"/>
138+
</sort>
139+
<layout delimiter=", " prefix="[" suffix="]">
140+
<group delimiter=", ">
141+
<group>
142+
<text macro="author-short"/>
143+
<text macro="issued-year" prefix="(" suffix=")"/>
144+
</group>
145+
<text macro="citation-locator"/>
146+
</group>
147+
</layout>
148+
</citation>
149+
<bibliography et-al-min="3" et-al-use-first="1" hanging-indent="true" entry-spacing="0">
150+
<sort>
151+
<key macro="author"/>
152+
<key variable="issued"/>
153+
</sort>
154+
<layout suffix=".">
155+
<group delimiter=" " suffix=". ">
156+
<group prefix="[" suffix="]">
157+
<text macro="author-ea" font-weight="normal"/>
158+
<text macro="issued-year" font-weight="normal" prefix="(" suffix=")"/>
159+
</group>
160+
<text macro="author"/>
161+
</group>
162+
<choose>
163+
<if type="paper-conference">
164+
<group delimiter=". ">
165+
<text variable="title"/>
166+
<group delimiter=" ">
167+
<text variable="container-title" font-style="italic"/>
168+
<group delimiter=", ">
169+
<group delimiter=", " prefix="(" suffix=")">
170+
<text variable="publisher-place"/>
171+
<date variable="issued">
172+
<date-part name="month" form="short" suffix=".-"/>
173+
<date-part name="year"/>
174+
</date>
175+
</group>
176+
<text variable="page"/>
177+
</group>
178+
</group>
179+
</group>
180+
</if>
181+
<else-if type="article-journal">
182+
<group delimiter=". ">
183+
<text variable="title"/>
184+
<text variable="container-title" form="short" font-style="italic"/>
185+
<group delimiter=", ">
186+
<group delimiter=":">
187+
<group>
188+
<text variable="volume"/>
189+
<text variable="issue" prefix="(" suffix=")"/>
190+
</group>
191+
<text variable="page"/>
192+
</group>
193+
<text macro="issued-month-year"/>
194+
</group>
195+
</group>
196+
</else-if>
197+
<else-if type="patent">
198+
<group delimiter=". ">
199+
<text variable="title"/>
200+
<text variable="number" prefix="U.S. Patent #"/>
201+
<date variable="issued">
202+
<date-part name="day" suffix="-"/>
203+
<date-part name="month" form="short" suffix=".-"/>
204+
<date-part name="year"/>
205+
</date>
206+
</group>
207+
</else-if>
208+
<else-if type="thesis">
209+
<group delimiter=". ">
210+
<text variable="title" font-style="normal"/>
211+
<group delimiter=", ">
212+
<text variable="genre"/>
213+
<text macro="publisher"/>
214+
<text macro="issued-month-year"/>
215+
</group>
216+
</group>
217+
</else-if>
218+
<else-if type="report">
219+
<group delimiter=". ">
220+
<text variable="title" font-style="italic"/>
221+
<group delimiter=" ">
222+
<text variable="genre"/>
223+
<text variable="number" prefix="Technical Report #"/>
224+
</group>
225+
<text macro="publisher"/>
226+
<text macro="issued-month-year"/>
227+
</group>
228+
</else-if>
229+
<else-if type="webpage post post-weblog" match="any">
230+
<group delimiter=". ">
231+
<text variable="title"/>
232+
<group delimiter=", ">
233+
<text variable="URL" font-style="italic"/>
234+
<date date-parts="year" form="text" variable="issued"/>
235+
</group>
236+
</group>
237+
</else-if>
238+
<else-if type="chapter paper-conference" match="any">
239+
<group delimiter=". ">
240+
<text variable="title"/>
241+
<group delimiter=", ">
242+
<group delimiter=" ">
243+
<text term="in" text-case="capitalize-first"/>
244+
<text macro="editor"/>
245+
</group>
246+
<text variable="container-title" font-style="italic"/>
247+
<text macro="pages"/>
248+
</group>
249+
<group delimiter=", ">
250+
<text macro="publisher"/>
251+
<text macro="issued-month-year"/>
252+
</group>
253+
</group>
254+
</else-if>
255+
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
256+
<group delimiter=". ">
257+
<text variable="title" font-style="italic"/>
258+
<group delimiter=", ">
259+
<text macro="publisher"/>
260+
<text macro="edition"/>
261+
<text macro="issued-month-year"/>
262+
</group>
263+
</group>
264+
</else-if>
265+
<else>
266+
<group delimiter=". ">
267+
<text variable="title"/>
268+
<text variable="container-title" font-style="italic"/>
269+
<text variable="publisher"/>
270+
</group>
271+
</else>
272+
</choose>
273+
<text macro="access" prefix=". "/>
274+
</layout>
275+
</bibliography>
276+
</style>

0 commit comments

Comments
 (0)