forked from retorquere/zotero-better-bibtex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
better-bibtex-citekeys.csl
73 lines (73 loc) · 2.51 KB
/
better-bibtex-citekeys.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
<?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-US">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Better BibTeX Citekeys</title>
<id>http://www.zotero.org/styles/better-bibtex-citekeys</id>
<link href="http://www.zotero.org/styles/better-bibtex-citekeys" rel="self"/>
<link href="http://www.zotero.org/support/bbt_citekeys" rel="documentation"/>
<author>
<name>Emiliano Heyns</name>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>Style to show BBT citekeys</summary>
<updated>2019-02-27T10:14:13+00:00</updated>
<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="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". " sort-separator=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="title">
<text value="""/>
<text variable="title"/>
<text value="""/>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<citation et-al-min="2" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
<sort>
<key macro="author-short"/>
<key macro="title"/>
<key macro="year-date"/>
</sort>
<layout delimiter="; " prefix="[" suffix="]">
<group>
<text value="@"/>
<text variable="note"/>
<text variable="locator" prefix=", p. "/>
</group>
</layout>
</citation>
<bibliography hanging-indent="true" et-al-min="2" et-al-use-first="1">
<sort>
<key macro="author-short"/>
<key macro="year-date"/>
<key variable="title"/>
</sort>
<layout prefix="{" suffix="}">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="title"/>
<text macro="year-date"/>
</group>
</layout>
</bibliography>
</style>