I'm trying to format two Biblatex entry types.
For the @incollection
entry I want to get rid of the first comma (marked in yellow) and change the second comma to a period.
For the @online
entry I can't seem to get rid of the date. Even if there is no date field in the entry, the brackets still show up but empty. I also want to change the comma after the title 'Polymer' to a period. Is there a way to suppress the 'Adresse:' (german for 'url:') string?
MWE:
\documentclass[11pt, oneside, a4paper, bibliography=totoc, parskip=half,
BCOR=12mm, captions=tableheading, openany, numbers=noenddot, headinclude,
liststotoc]{scrbook}
\usepackage[german]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{filecontents}
\begin{filecontents}{bibliography.bib}
@online{polymer2020,
title = {Polymer},
author = {{N. N.}},
journaltitle = {Wikipedia},
url = {https://de.wikipedia.org/wiki/Polymer},
urldate = {2020-02-16}
}
@incollection{hans2020,
title = {Ein {{Qualit\"atsicherungskonzept}}},
booktitle = {Additive {{Fertigung}} von {{Bauteilen}}},
author = {Hans, Peter and Werner, Meier},
editor = {Michael, Hauser},
date = {2020},
publisher = {{Springer}},
location = {{Berlin}}
}
\end{filecontents}
\usepackage[backend=biber, style=ieee, citestyle=numeric, sorting=nyt,
autocite=inline, isbn=false, dashed=false, url=false]{biblatex}
\DeclareNameAlias{sortname}{family-given}
\DeclareNameAlias{default}{family-given}
\DeclareFieldFormat[book,inbook,incollection,inproceedings]{series}{#1}
\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\DeclareFieldFormat*[online]{title}{\textit{#1}}
\renewcommand{\labelnamepunct}{\addcolon\space}
\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}
\renewcommand{\multinamedelim}{\addsemicolon\space}
\renewcommand{\finalnamedelim}{\addsemicolon\space}
\addbibresource{bibliography.bib}
\begin{document}
\cite{polymer2020}
\cite{hans2020}
\printbibliography
\end{document}
@online
entry type doesn't process thejournaltitle
field type. I believe you should replacejournaltitle = {Wikipedia}
withorganization = {Wikipedia}
. (The fieldjournaltitle
should really only be used with entries of type@article
.) (b) Unless you're obliged to stick to the pre-1995 German language spelling and hyphenation rules, you should probably replace\usepackage[german]{babel}
with\usepackage[ngerman]{babel}
.