-
Notifications
You must be signed in to change notification settings - Fork 0
/
abnt-english.lbx
188 lines (164 loc) · 5.39 KB
/
abnt-english.lbx
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
%%%% abnt-english.lbx, 2018/04/04, 3.3
%%%% Copyright (C) 2016-2018 Daniel Ballester Marques
%%
%% This work may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License, either version 1.3 of this license or (at your
%% option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Daniel Ballester Marques.
%%
%% This work consists of the file abnt-english.lbx.
%%
%% abnt-english.lbx is a translation of the style into the English language.
\ProvidesFile{abnt-english.lbx}%
[2018/04/04\space v3.3\space ABNT BibLaTeX citation style]%
% Init >>>
\InheritBibliographyExtras{english}%
\InheritBibliographyStrings{english}%
\DeclareBibliographyStrings{%
inherit = {english},%
}%
% <<<
% No preposition between month and year >>>1
\DeclareBibliographyExtras{%
\protected\def\mkbibdatelong#1#2#3{%
\iffieldundef{#3}%
{}%
{\stripzeros{\thefield{#3}}%
\iffieldundef{#2}{}{\addspace}}%
\iffieldundef{#2}%
{}%
{\mkbibmonth{\thefield{#2}}%
\iffieldundef{#1}{}{\addspace}}%
\thefield{#1}%
}%
}%
% <<<
% Publication details >>>1
\NewBibliographyString{%
apud,%
sineloco,%
sinenomine,%
sheet,%
sheets,%
illustrated,%
monography,%
recensionof,%
}%
\DeclareBibliographyStrings{%
apud = {{apud}{apud}},%
idem = {{idem}{id\adddot}},%
volume = {{volume}{v\adddot}},%
volumes = {{volumes}{v\adddot}},%
number = {{number}{n\adddot}},%
pages = {{pages}{p\adddot}},%
involumes = {{in}{in}},%
in = {{in}{in}},%
inseries = {{in}{in}},%
sineloco = {{sine loco}{s\adddot l\adddot}},%
sinenomine = {{sine nomine}{s\adddot n\adddot}},%
sheet = {{sheet}{s\adddot}},%
sheets = {{sheets}{s\adddot}},%
illustrated = {{illustrated}{il\adddot}},%
monography = {{monography}{monography}},%
recensionof = {{recension of}{recension of}},%
reviewof = {{review of}{review of}},%
% url = {{available at}{available at}},%
% urlseen = {{access in}{access in}},%
}%
% <<<
% Roles expressed as functions >>>1
\NewBibliographyString{%
organizer,%
organizers,%
coordinator,%
coordinators,%
}%
\DeclareBibliographyStrings{%
organizer = {{organizer}{org\adddot}},%
organizers = {{organizers}{org\adddot}},%
coordinator = {{coordinator}{coord\adddot}},%
coordinators = {{coordinators}{coord\adddot}},%
}%
% <<<
% Roles expressed as objects >>>1
\DeclareBibliographyStrings{%
withcommentator = {{commentary\addcolon}{commentary\addcolon}},%
withannotator = {{notes\addcolon}{notes\addcolon}},%
withintroduction = {{introduction\addcolon}{introduction\addcolon}},%
withforeword = {{foreword\addcolon}{foreword\addcolon}},%
withafterword = {{afterword\addcolon}{afterword\addcolon}},%
}%
% <<<
% Roles expressed as actions >>>1
\NewBibliographyString{% >>>2
byorganizer,%
byorganizerfo,%
bytechrev,%
byupdater,%
byupdateran,%
byphotographer,%
byartdir,%
byrecorder,%
byinterviewer,%
bygenorg,%
bygenorgfo,%
bycoordinator,%
bycoeditor,%
bydirector,%
bygendir,%
byproducer,%
byscreenwriter,%
byinterpreter,%
byillustrator,%
bytechrev,%
}% <<<
\DeclareBibliographyStrings{% >>>2
byorganizer = {{organized by\addcolon}%
{organized by\addcolon}},%
byorganizerfo = {{organized, with a foreword, by\addcolon}%
{organized, with a foreword, by\addcolon}},%
bytechrev = {{technical revision by\addcolon}%
{technical revision by\addcolon}},%
byupdater = {{updated by\addcolon}%
{updated by\addcolon}},%
byupdateran = {{updated and annotated by\addcolon}%
{updated and annotated by\addcolon}},%
byphotographer = {{photography by\addcolon}%
{photography by\addcolon}},%
byartdir = {{art direction by\addcolon}%
{art direction by\addcolon}},%
byrecorder = {{recorded by\addcolon}%
{recorded by\addcolon}},%
byinterviewer = {{interviewed by\addcolon}%
{interviewed by\addcolon}},%
bygenorg = {{general organization by\addcolon}%
{general organization by\addcolon}},%
bygenorgfo = {{general organization and foreword by\addcolon}%
{general organization and foreword by\addcolon}},%
bycoordinator = {{coordinated by\addcolon}%
{coordinated by\addcolon}},%
bycoeditor = {{coedited by\addcolon}%
{coedited by\addcolon}},%
bydirector = {{directed by\addcolon}%
{directed by\addcolon}},%
bygendir = {{general direction by\addcolon}%
{general direction by\addcolon}},%
byproducer = {{produced by\addcolon}%
{produced by\addcolon}},%
byscreenwriter = {{script written by\addcolon}%
{script written by\addcolon}},%
byinterpreter = {{interpreted by\addcolon}%
{interpreted by\addcolon}},%
byillustrator = {{illustrated by\addcolon}%
{illustrated by\addcolon}},%
}% <<<
% <<<
\endinput%
% vim: set foldmarker=\ >>>,\ <<< :