-
Notifications
You must be signed in to change notification settings - Fork 0
/
brendan-custom.csl
103 lines (103 loc) · 3.45 KB
/
brendan-custom.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
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>Brendan Custom</title>
<id>http://www.zotero.org/styles/brendan-custom</id>
<author>
<name>Brendan Lawlor</name>
</author>
<category citation-format="numeric"/>
<category field="science"/>
<category field="biology"/>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name sort-separator=", " delimiter=", " and="text" initialize-with="" delimiter-precedes-last="never" name-as-sort-order="all"/>
<et-al font-style="italic"/>
</names>
</macro>
<macro name="editor">
<names variable="editor" prefix="In: ">
<name sort-separator=", " delimiter=", " and="text" initialize-with="" delimiter-precedes-last="never" name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="access">
<choose>
<if variable="volume"/>
<else-if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</else-if>
<else-if variable="URL">
<text term="at"/>
<text variable="URL" prefix=" <" suffix=">"/>
</else-if>
</choose>
</macro>
<macro name="issuance">
<choose>
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<group prefix=" " delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
<text variable="number-of-pages" suffix="pp"/>
</group>
</if>
</choose>
</macro>
<macro name="year-date">
<date prefix=" (" suffix=")" variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="pages">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter=" ">
<label variable="page" strip-periods="true" form="short"/>
<text variable="page"/>
</group>
</if>
<else>
<text variable="page"/>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=", ">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush" entry-spacing="0">
<layout suffix=".">
<text variable="citation-number" suffix="."/>
<group delimiter=" " suffix=". ">
<text macro="author"/>
<text macro="year-date"/>
</group>
<group delimiter=". ">
<text macro="title"/>
<text macro="editor"/>
<text variable="container-title" font-style="italic" form="short"/>
</group>
<text variable="volume" font-weight="bold" prefix=" "/>
<text macro="issuance" prefix=", "/>
<text macro="pages" prefix=": "/>
<text macro="access"/>
</layout>
</bibliography>
</style>