Merge branch '26-don-t-print-url-for-books-in-the-references' into 'master'

Resolve "Don't print url for books in the references"

Closes #26

See merge request fastexitlane/latex-boilerplate!14
This commit is contained in:
Dominik Becker 2020-01-03 10:34:30 +00:00
commit 7bd8c95932

View File

@ -115,6 +115,36 @@
\field{origdate} \field{origdate}
\literal{nodate} \literal{nodate}
} }
\AtEveryBibitem{
\ifentrytype{book}{
\clearfield{url}
\clearfield{urldate}
\clearfield{urlyear}
\clearfield{urlmonth}
\clearfield{urlday}
}{}
\ifentrytype{article}{
\clearfield{url}
\clearfield{urldate}
\clearfield{urlyear}
\clearfield{urlmonth}
\clearfield{urlday}
}{}
\ifentrytype{inproceedings}{
\clearfield{url}
\clearfield{urldate}
\clearfield{urlyear}
\clearfield{urlmonth}
\clearfield{urlday}
}{}
\ifentrytype{incollection}{
\clearfield{url}
\clearfield{urldate}
\clearfield{urlyear}
\clearfield{urlmonth}
\clearfield{urlday}
}{}
}
% Ebenentiefe der Nummerierung % Ebenentiefe der Nummerierung
\setcounter{secnumdepth}{3} \setcounter{secnumdepth}{3}