-
Notifications
You must be signed in to change notification settings - Fork 2
/
biblatex.cfg
25 lines (19 loc) · 1012 Bytes
/
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
%Configure biblatex to fit ISO-690 UTBM's takes
%Expect biblatex style to be authortitle as iso-authoryear force italic for title
\DefineBibliographyStrings{french}{% Define words to prefix url and urldate
urlseen = {consulté le},
urlfrom = {disponible sur},
}
\DefineBibliographyStrings{english}{% Define words to prefix url and urldate
urlseen = {last seen on},
urlfrom = {accessible on},
}
\DeclareFieldFormat{urldate}{\mkbibparens{\bibstring{urlseen}\space#1}}% Add round brackets instead of square brackets for the consulted date and add urlseen as prefix
\DeclareFieldFormat{url}{\bibstring{urlfrom}\addcolon\space\url{#1}}% Format the URL to be prefixed by urlfrom
\DeclareFieldFormat[online]{titleaddon}{\text{In : }\textit{#1}} % Italicize titleaddon (aka website name) and add "In :" prefix
\DeclareFieldFormat{title}{#1}%Remvoe italic title
\renewbibmacro*{url+urldate}{% configure the urldate to be displayed after url fix
\printfield{url}%
\newunit\newblock
\printfield{urldate}%
}