同一作者的多部作品的作者姓名被替换为破折号

同一作者的多部作品的作者姓名被替换为破折号

当同一作者在参考书目中出现多次时,作者姓名会被破折号取代。我该如何更改它以始终显示全名或姓名?我使用的是 BibLaTeX 和 Biber。我已经对文献风格做了不少更改,那么这可能是由于其中一项更改造成的吗?

这是我的最小工作示例:

\documentclass[listof=totoc, 
index=totoc, 
bibliography=totoc, parskip, 
12pt, headsepline=true, a4paper]{scrartcl} 

\usepackage[ngerman, english]{babel} 
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 


%% Literaturverzeichnis
\usepackage[hidelinks]{hyperref}
\usepackage{csquotes}
\usepackage{etoolbox}
\usepackage[backend=biber, style=authoryear, maxbibnames=999, maxcitenames=2]{biblatex}
\addbibresource{Literature.bib}

% Autoren mit Slash getrennt und lastname-firstname
\renewcommand*{\multinamedelim}{\slash} \renewcommand*{\finalnamedelim}{\multinamedelim}
\DeclareNameAlias{sortname}{last-first}

% Doppelpunkt nach Jahresangabe in Klammern im Literaturverzeichnis 
\renewcommand*{\labelnamepunct}{\addcolon\addspace} 

% Titel im Literaturverzeichnis nicht kursiv 
\DeclareFieldFormat{title}{#1\isdot} 
\DeclareFieldFormat{journaltitle}{#1} 
\DeclareFieldFormat{issuetitle}{#1} 
\DeclareFieldFormat{maintitle}{#1} 
\DeclareFieldFormat{booktitle}{#1}

% Jahreszahl im Fußnotenzitat in runden Klammern 
\newbibmacro*{cite:parens:labelyear+extrayear}{% 
  \iffieldundef{labelyear} 
{} 
{\printtext[parens]{\printtext[bibhyperref]{% 
   \printfield{labelyear}% 
   \printfield{extrayear}}}}} 

\renewbibmacro*{cite}{% 
  \iffieldundef{shorthand} 
    {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}} 
   {\usebibmacro{cite:label}% 
    \setunit{\addspace}} 
   {\printnames{labelname}% 
    \setunit{\nameyeardelim}}% 
 \usebibmacro{cite:parens:labelyear+extrayear}} 
{\usebibmacro{cite:shorthand}}}


\begin{document}

Just some text\footcite{Test1}. And some additional text\footcite{Test2}

\clearpage 
\printbibliography

\end{document}

我的 bib 文件如下所示:

@book{Test1,
author = {Apostolik, Richard},
title = {Test title 1},
year = {2010a}
}

@book{Test2,
author = {Apostolik, Richard},
title = {Test title 2},
year = {2010b}
}

答案1

BibLaTeX 有一个重复名称的选项,默认情况下dashed是(至少在 中)。您只需将选项输入到 中:trueauthoryeardashed=falsebiblatex

\usepackage[dashed=false, backend=biber, style=authoryear, maxbibnames=999, maxcitenames=2]{biblatex}

相关内容