7

I must have the editor(s) in parentheses for source-types such as collections, proceedings and others. The relevant part of the bibliography item currently looks like

Ed. by F. Seibt

but must be

Seibt, F. (editor)

For multiple editors, the status quo is

Ed. by G. E. R. Lloyd/G. E. L. Owen

but it must be

Lloyd, G. E. R./Owen, G. E. L. (editors)

\documentclass[
12pt,
a4paper
]
{scrreprt}

\usepackage[T1]{fontenc}
\usepackage{lmodern}

\usepackage[
language=auto,
style=authoryear,
backend=bibtex,
isbn=false,
doi=false,
citereset=chapter,
maxcitenames=3,
dashed=false,
sorting=nyt,
firstinits=true,
terseinits=false
maxbibnames=99,
uniquename=init
]{biblatex}

\begin{filecontents*}{lit.bib}
@InCollection{brandt,
  options     = {useprefix=false},
  hyphenation     = {german},
  indexsorttitle  = {Nordischen Lander von der Mitte des 11. Jahrhunderts bis 1448},
  author      = {von Brandt, Ahasver and Erich Hoffmann},
  editor      = {Ferdinand Seibt},
  indextitle      = {Nordischen L{\"a}nder von der Mitte des 11.~Jahrhunderts bis 1448, Die},
  title       = {Die nordischen L{\"a}nder von der Mitte des 11.~Jahrhunderts bis 1448},
  shorttitle      = {Die nordischen L{\"a}nder},
  booktitle   = {Europa im Hoch- und Sp{\"a}tmittelalter},
  series      = {Handbuch der europ{\"a}ischen Geschichte},
  number      = {2},
  publisher   = {Klett-Cotta},
  location    = {Stuttgart},
  date        = {1987},
  pages       = {884--917},
}
@InProceedings{moraux,
  keywords    = {secondary},
  hyphenation     = {french},
  indexsorttitle  = {De Anima dans la tradition grecque},
  author      = {Moraux, Paul},
  editor      = {Lloyd, G. E. R. and Owen, G. E. L.},
  indextitle      = {\emph{De Anima} dans la tradition gr{\`e}cque, Le},
  title       = {Le \emph{De Anima} dans la tradition gr{\`e}cque},
  subtitle    = {Quelques aspects de l'interpretation du trait{\'e}, de Theophraste {\`a}
            Themistius},
  shorttitle      = {\emph{De Anima} dans la tradition gr{\`e}cque},
  booktitle   = {Aristotle on Mind and the Senses},
  booktitleaddon  = {Proceedings of the Seventh Symposium Aristotelicum},
  eventdate   = {1975},
  publisher   = cup,
  location    = {Cambridge},
  date        = {1979},
  pages       = {281--324},
  annotation      = {This is a typical \texttt{inproceedings} entry. Note the \texttt{booksubtitle},
            \texttt{shorttitle}, \texttt{indextitle}, and \texttt{indexsorttitle} fields.
            Also note the \texttt{eventdate} field.}
}
\end{filecontents*}

\addbibresource{lit.bib}

\DeclareNameAlias{sortname}{last-first}

\renewcommand{\multinamedelim}{\addslash}
\renewcommand{\finalnamedelim}{\addslash}

\begin{document}
\chapter{First Chapter}
\begin{itemize}
    \item This is for the \verb+@incollection+ type by \citeauthor{brandt}.\footcite[See][p. 12]{brandt} The bibliography item currently looks like
    \begin{verbatim}
    Ed. by F. Seibt
    \end{verbatim}
    but I must have
    \begin{verbatim}
    Seibt, F. (editor)
    \end{verbatim}
    \item Then for \verb+@inproceedings+, in the case of multiple editors: these are just some words to have a sentence.\footcite[Cp.][p. xi]{moraux}. This currently looks like
    \begin{verbatim}
    Ed. by G. E. R. Lloyd/G. E. L. Owen
    \end{verbatim}
    but I must have
    \begin{verbatim}
    Lloyd, G. E. R./Owen, G. E. L. (editors)
    \end{verbatim}
\end{itemize}
\printbibliography
\end{document}
henry
  • 6,594

1 Answers1

6

To achieve your required result you have to do two steps:

  1. Change the order of editor names and the string editor
  2. Put parens around the editor string.

The first can be achieved by a redefinition of the bibmacro {byeditor+others}.

\renewbibmacro*{byeditor+others}{%
  \ifnameundef{editor}
    {}
    {\printnames[byeditor]{editor}%
     \setunit{\addspace}%
     \usebibmacro{byeditor+othersstrg}%
     \clearname{editor}%
     \newunit}%
  \usebibmacro{byeditorx}%
  \usebibmacro{bytranslator+others}}

The second requirement can be achieved by a redefinition too, but I prefer a more elegant way by using the package xpatch:

\usepackage{xpatch}
\xpatchbibmacro{byeditor+othersstrg}{\printtext}{\printtext[parens]}{}{}

With these setting you get the following MWE: (I load babel with ngerman)

\documentclass[
12pt,
a4paper,
ngerman,
]
{scrreprt}

\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{babel}
\usepackage[
language=auto,
style=authoryear,
backend=biber,
isbn=false,
doi=false,
citereset=chapter,
maxcitenames=3,
dashed=false,
sorting=nyt,
firstinits=true,
terseinits=false
maxbibnames=99,
uniquename=init
]{biblatex}

\begin{filecontents*}{lit.bib}
@InCollection{brandt,
  options     = {useprefix=false},
  hyphenation     = {german},
  indexsorttitle  = {Nordischen Lander von der Mitte des 11. Jahrhunderts bis 1448},
  author      = {von Brandt, Ahasver and Erich Hoffmann},
  editor      = {Ferdinand Seibt},
  indextitle      = {Nordischen L{\"a}nder von der Mitte des 11.~Jahrhunderts bis 1448, Die},
  title       = {Die nordischen L{\"a}nder von der Mitte des 11.~Jahrhunderts bis 1448},
  shorttitle      = {Die nordischen L{\"a}nder},
  booktitle   = {Europa im Hoch- und Sp{\"a}tmittelalter},
  series      = {Handbuch der europ{\"a}ischen Geschichte},
  number      = {2},
  publisher   = {Klett-Cotta},
  location    = {Stuttgart},
  date        = {1987},
  pages       = {884--917},
  annotation      = {An \texttt{incollection} entry with a \texttt{series} and a \texttt{number}.
            Note the format of the printed name and compare the \texttt{useprefix} option in
            the \texttt{options} field as well as \texttt{vangennep}. Also note the
            \texttt{indextitle, and \texttt{indexsorttitle} fields}}
}
@InProceedings{moraux,
  keywords    = {secondary},
  hyphenation     = {french},
  indexsorttitle  = {De Anima dans la tradition grecque},
  author      = {Moraux, Paul},
  editor      = {Lloyd, G. E. R. and Owen, G. E. L.},
  indextitle      = {\emph{De Anima} dans la tradition gr{\`e}cque, Le},
  title       = {Le \emph{De Anima} dans la tradition gr{\`e}cque},
  subtitle    = {Quelques aspects de l'interpretation du trait{\'e}, de Theophraste {\`a}
            Themistius},
  shorttitle      = {\emph{De Anima} dans la tradition gr{\`e}cque},
  booktitle   = {Aristotle on Mind and the Senses},
  booktitleaddon  = {Proceedings of the Seventh Symposium Aristotelicum},
  eventdate   = {1975},
  publisher   = cup,
  location    = {Cambridge},
  date        = {1979},
  pages       = {281--324},
  annotation      = {This is a typical \texttt{inproceedings} entry. Note the \texttt{booksubtitle},
            \texttt{shorttitle}, \texttt{indextitle}, and \texttt{indexsorttitle} fields.
            Also note the \texttt{eventdate} field.}
}
\end{filecontents*}

\addbibresource{lit.bib}

\DeclareNameAlias{sortname}{last-first}

\renewcommand{\multinamedelim}{\addslash}
\renewcommand{\finalnamedelim}{\addslash}


\renewbibmacro*{byeditor+others}{%
  \ifnameundef{editor}
    {}
    {\printnames[byeditor]{editor}%
     \setunit{\addspace}%
     \usebibmacro{byeditor+othersstrg}%
     \clearname{editor}%
     \newunit}%
  \usebibmacro{byeditorx}%
  \usebibmacro{bytranslator+others}}
\usepackage{xpatch}
\xpatchbibmacro{byeditor+othersstrg}{\printtext}{\printtext[parens]}{}{}



\begin{document}

\chapter{First Chapter}
\begin{itemize}
    \item This is for the \verb+@incollection+ type by \citeauthor{brandt}.\footcite[See][p. 12]{brandt} The bibliography item currently looks like
    \begin{verbatim}
    Ed. by F. Seibt
    \end{verbatim}
    but I must have
    \begin{verbatim}
    Seibt, F. (editor)
    \end{verbatim}
    \item Then for \verb+@inproceedings+, in the case of multiple editors: these are just some words to have a sentence.\footcite[Cp.][p. xi]{moraux}. This currently looks like
    \begin{verbatim}
    Ed. by G. E. R. Lloyd/G. E. L. Owen
    \end{verbatim}
    but I must have
    \begin{verbatim}
    Lloyd, G. E. R./Owen, G. E. L. (editors)
    \end{verbatim}
\end{itemize}
\printbibliography
\end{document}

With the result:

enter image description here

Marco Daniel
  • 95,681