25 lines
763 B
TeX
25 lines
763 B
TeX
|
%{{{ archivedat and archivedon for online sources
|
||
|
\NewBibliographyString{archivedat,archivedon}
|
||
|
\DefineBibliographyStrings{english}{%
|
||
|
archivedat = {archived at},
|
||
|
archivedon = {on},
|
||
|
}
|
||
|
\DeclareFieldFormat{archiveurl}{\bibstring{archivedat}\space\url{#1}}
|
||
|
\DeclareFieldFormat{archivedate}{\bibstring{archivedon}\space#1}
|
||
|
|
||
|
\newbibmacro*{archiveurl}{\printfield{archiveurl}}
|
||
|
\newbibmacro*{archivedate}{\printarchivedate}
|
||
|
\renewbibmacro*{url+urldate}{%
|
||
|
\usebibmacro{url}%
|
||
|
\iffieldundef{urlyear}
|
||
|
{}
|
||
|
{\setunit*{\addspace}%
|
||
|
\usebibmacro{urldate}}%
|
||
|
\setunit{\addcomma\space}%
|
||
|
\usebibmacro{archiveurl}%
|
||
|
\iffieldundef{archiveyear}
|
||
|
{}
|
||
|
{\setunit*{\addspace}%
|
||
|
\usebibmacro{archivedate}}}
|
||
|
%}}} archivedat and archivedon for online sources
|