forked from citation-style-language/styles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbibtex.csl
165 lines (165 loc) · 5.64 KB
/
bibtex.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
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text">
<info>
<title>BibTex generic citation style</title>
<id>http://www.zotero.org/styles/bibtex</id>
<link href="http://www.bibtex.org/"/>
<author>
<name>Markus Schaffner</name>
</author>
<contributor>
<name>Richard Karnesky</name>
<email>karnesky+zotero@gmail.com</email>
<uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
</contributor>
<category term="generic-base"/>
<updated>2008-10-05T10:04:29-07:00</updated>
</info>
<macro name="zotero2bibtexType">
<choose>
<if type="book">
<text value="book"/>
</if>
<else-if type="chapter">
<text value="inbook"/>
</else-if>
<else-if type="article article-journal article-magazine article-newspaper" match="any">
<text value="article"/>
</else-if>
<else-if type="thesis" match="any">
<text value="phdthesis"/>
</else-if>
<else-if type="manuscript" match="any">
<text value="unpublished"/>
</else-if>
<else-if type="paper-conference" match="any">
<text value="inproceedings"/>
</else-if>
<else-if type="report" match="any">
<text value="techreport"/>
</else-if>
<else>
<text value="misc"/>
</else>
</choose>
</macro>
<macro name="citeKey">
<group>
<text macro="author-short" text-case="lowercase"/>
<text macro="issued-year"/>
</group>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" delimiter="_" delimiter-precedes-last="always"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="book">
<text variable="title" form="short"/>
</if>
<else>
<text variable="title" form="short"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="issued-year">
<date form="year-month-day"/>
</macro>
<macro name="issued-month">
<date form="year-month-day"/>
</macro>
<macro name="author">
<names variable="author">
<name sort-separator=", " delimiter=" and " delimiter-precedes-last="always" name-as-sort-order="all"/>
<label form="long" text-case="capitalize-first"/>
</names>
</macro>
<macro name="editor-translator">
<names variable="editor translator" delimiter=", ">
<name sort-separator=", " delimiter=" and " delimiter-precedes-last="always" name-as-sort-order="all"/>
<label form="long" text-case="capitalize-first"/>
</names>
</macro>
<macro name="title">
<text variable="title"/>
</macro>
<macro name="number">
<text variable="issue"/>
<text variable="number"/>
</macro>
<macro name="container-title">
<choose>
<if type="chapter paper-conference" match="any">
<text variable="container-title" prefix=" booktitle={" suffix="}"/>
</if>
<else>
<text variable="container-title" prefix=" journal={" suffix="}"/>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="thesis">
<text variable="publisher" prefix=" school={" suffix="}"/>
</if>
<else-if type="report">
<text variable="publisher" prefix=" institution={" suffix="}"/>
</else-if>
<else>
<text variable="publisher" prefix=" publisher={" suffix="}"/>
</else>
</choose>
</macro>
<macro name="pages">
<text variable="page"/>
</macro>
<macro name="edition">
<text variable="edition"/>
</macro>
<citation et-al-min="10" et-al-use-first="10" et-al-subsequent-min="10" et-al-subsequent-use-first="10" disambiguate-add-year-suffix="true" disambiguate-add-names="false" disambiguate-add-givenname="false" collapse="year">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout delimiter="_">
<text macro="citeKey"/>
</layout>
</citation>
<bibliography hanging-indent="false" et-al-min="10" et-al-use-first="10">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<text macro="zotero2bibtexType" prefix=" @" suffix=""/>
<group>
<text macro="citeKey"/>
<text variable="publisher-place" prefix=" place={" suffix="}"/>
<text variable="chapter-number" prefix=" chapter={" suffix="}"/>
<text macro="edition" prefix=" edition={" suffix="}"/>
<text variable="collection-title" prefix=" series={" suffix="}"/>
<text macro="title" prefix=" title={" suffix="}"/>
<text variable="volume" prefix=" volume={" suffix="}"/>
<text variable="ISBN" prefix=" ISBN={" suffix="}"/>
<text variable="archive_location" prefix=" archiveLocation={" suffix="}"/>
<text variable="URL" prefix=" url={" suffix="}"/>
<text variable="DOI" prefix=" DOI={" suffix="}"/>
<text variable="abstract" prefix=" abstractNote={" suffix="}"/>
<text variable="note" prefix=" note={" suffix="}"/>
<text macro="number" prefix=" number={" suffix="}"/>
<text macro="container-title"/>
<text macro="publisher"/>
<text macro="author" prefix=" author={" suffix="}"/>
<text macro="editor-translator" prefix=" editor={" suffix="}"/>
<text macro="issued-year" prefix=" year={" suffix="}"/>
<text macro="issued-month" prefix=" month={" suffix="}"/>
<text macro="pages" prefix=" pages={" suffix="}"/>
<text variable="collection-title" prefix=" collection={" suffix="}"/>
</group>
</layout>
</bibliography>
</style>