-
Notifications
You must be signed in to change notification settings - Fork 1
/
Biblatex.cfg
51 lines (45 loc) · 1.63 KB
/
Biblatex.cfg
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
\NewBibliographyString{available}
\DefineBibliographyStrings{english}{available = {Available from},}
\DefineBibliographyStrings{english}{urlseen = {Accessed},}
\DeclareNameAlias{sortname}{last-first}
\DeclareFieldFormat{pages}{#1}
\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat{url}{\bibstring{available}\addcolon\space\url{#1}\nopunct}
\DeclareFieldFormat{urldate}{[\bibstring{urlseen}\space#1]}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
\DeclareFieldFormat{doi}{%
\bibstring{urlfrom}\addcolon\space\mkbibacro{DOI}\addcolon\space \ifhyperref {\href{https://doi.org/#1}{\nolinkurl{#1}}} {\nolinkurl{#1}}
}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addperiod\space}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\usebibmacro{volume+number+eid}%
\setunit{\addspace}%
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\newunit}
\renewbibmacro*{doi+eprint+url}{%
\iftoggle{bbx:url} {\iffieldundef{doi}{\usebibmacro{url+urldate}}{}} {}%
\newunit\newblock \iftoggle{bbx:eprint} {\usebibmacro{eprint}} {}%
\newunit\newblock \iftoggle{bbx:doi} {\printfield{doi}\printtext[abrufurl]{\printurldate}} {}
}
\renewbibmacro*{url+urldate}{%
\printtext[formaturl]{%
\printfield{url}}%
}
\renewbibmacro*{in:}{}
\renewbibmacro*{volume+number+eid}{
\printfield{volume}%
\setunit*{\addnbthinspace}
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\renewcommand*{\nameyeardelim}{\addcomma\addspace}
\renewcommand*{\finalnamedelim}{\addspace\&\space}
\renewcommand{\labelnamepunct}{\addspace}