Wie passe ich bei mehreren Verlagsorten die 'et al.' Ausgabe an?
Hallo,
ich habe bislang bei mehreren Verlagsorten die Anzahl der Verlage manuell eingeben. Berlin [u.a]
Wie kann ich bei mehreren Einträgen die Ausgabe automatisieren, dass bei mehr als drei Orten nur ein Ort und dann entweder Berlin [u.a] oder Berlin et. al. oder Berlin u.a. erscheint?
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[
style=authoryear-icomp,
maxnames=2,
backend=biber,
safeinputenc,
]{biblatex}
\DefineBibliographyStrings{ngerman}{%
urlseen={Abruf v.}%
}
\DeclareNameFormat{author}{%
\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}%
\usebibmacro{name:andothers}%
}
%\DeclareNameAlias{labelname}{author}
\renewcommand*{\multinamedelim}{{{\color{red!80!black}/}}}
\DefineBibliographyStrings{ngerman}{and={/}}
\renewcommand*{\finalnamedelim}{%
\ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
\bibstring{and}}
\DeclareFieldFormat{pages}{#1}
\DeclareFieldFormat[incollection]{title}{#1}
\DeclareFieldFormat[book]{title}{#1}
\DeclareFieldFormat[book]{subtitle}{#1}
\DeclareFieldFormat[incollection]{booktitle}{#1}
\DeclareFieldFormat[article]{title}{#1}
\DeclareFieldFormat[article]{journaltitle}{#1}
\DeclareFieldFormat[online]{title}{#1}
\renewbibmacro*{publisher+location+date}{%
\printlist{location}%
\iflistundef{publisher}
{\setunit*{\addcomma\space}}
{\setunit*{\addcolon\space}}%
% \printlist{publisher}%
\setunit*{\addcomma\space}%
\usebibmacro{date}%
\newunit}
\DeclareFieldFormat{postnote}{#1}
\renewcommand{\labelnamepunct}{\addcolon\addspace}
\renewcommand*{\bibnamedash}{%
\bibsentence\bibstring{idem\thefield{gender}}}
\DeclareBibliographyDriver{incollection}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
\setunit{\labelnamepunct}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{in:}%
\usebibmacro{maintitle+booktitle}%
\setunit{}
\usebibmacro{series+number}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+date}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit\newblock
% \iftoggle{bbx:isbn}
%\printfield{isbn}}
% \iftoggle{bbx:issn}
%\printfield{issn}}
{}%
\newunit\newblock
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
\iftoggle{bbx:related}
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
\usebibmacro{finentry}}
\renewbibmacro*{series+number}{%
\iffieldundef{series}
{}
{\bibopenparen%
\printfield{series}%
\setunit*{\addcomma\addspace}%
\printfield{number}%
\bibcloseparen%
\newunit}%
}
\usepackage{xpatch}
\makeatletter
\xpatchbibdriver{incollection}{%
\setunit{\labelnamepunct \addspace}\newblock
}{%
\setunit{\addcolon}\newblock
}{}{}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@BOOK{Austin1967,
author = {John L. Austin},
shortauthor = {Austin},
gender = {sm},
title = {How to do things with words},
year = {1967},
publisher = {Harvard University Press},
keywords = {secondary},
edition = {2},
location = {Cambridge [u.\,a.]},
}
\end{filecontents}
\usepackage{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\fullcite{Austin1967}
\printbibliography
\end{document}