blob: d2ca918c75616dda3f221484c7932317b6eba952 (
plain)
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
|
%%
%% This is file `philosophy-verbose.bbx',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% biblatex-philosophy.dtx (with options: `verbose-bbx')
%% ______________________________________________________
%% The biblatex-philosophy package
%% Copyright (C) 2009-2015 Ivan Valbusa
%% All rights reserved
%%
%% License information appended
%%
\ProvidesFile{philosophy-verbose.bbx}
[2015/06/13 v1.1 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
\RequireBibliographyStyle{authortitle}
\RequireBibliographyStyle{philosophy-standard}
\AtBeginShorthands{%
\togglefalse{bbx:annotation}%
\DeclareCiteCommand{\bbx@crossref@inbook}%
{}%
{\iffieldundef{shorthand}%
{\usebibmacro{inbook:full}}%
{\usebibmacro{cite:shorthand}}}%
{}%
{}%
\DeclareCiteCommand{\bbx@crossref@incollection}%
{}%
{\iffieldundef{shorthand}%
{\usebibmacro{incollection:full}}%
{\usebibmacro{cite:shorthand}}}%
{}%
{}%
}
\renewbibmacro*{author}{%
\ifboolexpr{%
test \ifuseauthor
and
not test {\ifnameundef{author}}
}%
{\usebibmacro{bbx:dashcheck}%
{\bibnamedash}%
{\printnames{author}%
\iffieldundef{nameaddon}{}%
{\setunit{\addspace}%
\printtext[brackets]{\printfield{nameaddon}}}%
\setunit{\addcomma\space}%
\usebibmacro{bbx:savehash}}%
\usebibmacro{authorstrg}}%
{\global\undef\bbx@lasthash}}%
\renewbibmacro*{editor}{%
\usebibmacro{bbx:editor}{editorstrg}}%
\renewbibmacro*{editor+others}{%
\usebibmacro{bbx:editor}{editor+othersstrg}}%
\renewbibmacro*{bbx:editor}[1]{%
\ifboolexpr{%
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}%
{\usebibmacro{bbx:dashcheck}%
{\bibnamedash}%
{\printnames{editor}%
\setunit{\addspace}% #MOD#
\usebibmacro{bbx:savehash}}%
\usebibmacro{#1}%
\clearname{editor}}%
{\global\undef\bbx@lasthash}}%
\newbibmacro*{nodash:author}{%
\ifboolexpr{%
test \ifuseauthor
and
not test {\ifnameundef{author}}
}%
{\printnames{author}%
\iffieldundef{nameaddon}{}%
{\setunit{\addspace}%
\printtext[brackets]{\printfield{nameaddon}}}%
\setunit{\addcomma\space}%
\usebibmacro{authorstrg}}%
{\global\undef\bbx@lasthash}}
\newbibmacro*{nodash:editor+others}{%
\usebibmacro{nodash:bbx:editor}{editor+othersstrg}}%
\newbibmacro*{nodash:bbx:editor}[1]{%
\ifboolexpr{%
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}%
{\printnames{editor}%
\setunit{\addspace}%
\usebibmacro{#1}%
\clearname{editor}}%
{\global\undef\bbx@lasthash}}
\newbibmacro*{nodash:author/editor+others/translator+others}{%
\ifboolexpr{
test \ifuseauthor
and
not test {\ifnameundef{author}}
}
{\usebibmacro{nodash:author}}
{\ifboolexpr{
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}
{\usebibmacro{nodash:editor+others}}
{\usebibmacro{translator+others}}}}
\newbibmacro*{usedriver:book}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{nodash:author/editor+others/translator+others}%
\setunit{\labelnamepunct}\newblock
\usebibmacro{maintitle+title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+date}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\iftoggle{bbx:isbn}
{\printfield{isbn}}
{}%
\newunit\newblock
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\newblock
\iftoggle{bbx:related}
{\ifdefstring{\bbx@relatedformat}{semicolon}%
{\setunit{\addsemicolon\space}}%
{\setunit{\unspace\space}}%horrible trick
\usebibmacro{related:init}%
\usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
}
\newbibmacro*{usedriver:collection}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{nodash:editor+others}%
\setunit{\labelnamepunct}\newblock
\usebibmacro{maintitle+title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+date}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\iftoggle{bbx:isbn}
{\printfield{isbn}}
{}%
\newunit\newblock
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\newblock
\iftoggle{bbx:related}
{\ifdefstring{\bbx@relatedformat}{semicolon}%
{\setunit{\addsemicolon\space}}%
{\setunit{\unspace\space}}%horrible trick
\usebibmacro{related:init}%
\usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
}
\DeclareCiteCommand{\bbx@crossref@inbook}%
{}%
{\ifciteseen{%
\ifthenelse{\value{listtotal}=2}%
{\printnames[][-\value{maxnamesincross}]{labelname}}%
{\printnames[][-\value{minnamesincross}]{labelname}}%
\setunit*{\addcomma\space}\printtext{%
\printfield[citetitle]{labeltitle}%
\iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
{\setunit{\addspace\midsentence}}%
\bibstring{cited}}}%
{\DeclareNameAlias{sortname}{default}%
\usebibmacro{usedriver:book}}}%
{}%
{}%
\DeclareCiteCommand{\bbx@crossref@incollection}%
{}%
{\ifciteseen{%
\ifthenelse{\value{listtotal}=2}%
{\printnames[][-\value{maxnamesincross}]{labelname}}%
{\printnames[][-\value{minnamesincross}]{labelname}}%
\setunit{\addspace}%
\usebibmacro{editorstrg}%
\setunit*{\addcomma\space}\printtext{%
\printfield[citetitle]{labeltitle}%
\iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
{\setunit{\addspace\midsentence}}%
\bibstring{cited}}}%
{\DeclareNameAlias{sortname}{default}%
\usebibmacro{usedriver:collection}}}%
{}%
{}%
%%
%% Copyright 2009-2015 by Ivan Valbusa
%%
%% This program is provided under the terms of the
%% LaTeX Project Public License distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt.
%%
%% Author: Ivan Valbusa
%% ivan dot valbusa at univr dot it
%%
%% This work has the LPPL maintenance status "author-maintained".
%%
%%
%% End of file `philosophy-verbose.bbx'.
|