hide (redundant) urls
This commit is contained in:
parent
e50f81e987
commit
1d71c7432f
1 changed files with 11 additions and 0 deletions
|
@ -110,6 +110,17 @@ exponent-product=\cdot]{siunitx} % provides nice typesetting for units and numb
|
||||||
sorting=nty]{biblatex}
|
sorting=nty]{biblatex}
|
||||||
\addbibresource{\bibfile}
|
\addbibresource{\bibfile}
|
||||||
\AtEndDocument{\printbibliography[heading=bibintoc]}
|
\AtEndDocument{\printbibliography[heading=bibintoc]}
|
||||||
|
% from https://tex.stackexchange.com/a/154875:
|
||||||
|
% hides URLs if DOI exists because often the url is just the DOI-URL
|
||||||
|
% just longer without extra information
|
||||||
|
\DeclareSourcemap{
|
||||||
|
\maps[datatype=bibtex]{
|
||||||
|
\map{
|
||||||
|
\step[fieldsource=doi,final]
|
||||||
|
\step[fieldset=url,null]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
% to allow links to break over lines at hyphens
|
% to allow links to break over lines at hyphens
|
||||||
% must be loaded before hyperref because hyperref loads package url
|
% must be loaded before hyperref because hyperref loads package url
|
||||||
|
|
Loading…
Reference in a new issue