我在名称消歧义方面遇到了一个问题,这让我很困惑。在消除名称歧义时,biblatex 使用后缀首字母,而不是完整的名称后缀。我看到的是:
TA Parker I.、SA Parker 等人 1982
TA Parker I.、Schulenberg、GR Graves 等人 1985
TA Parker I.、Schulenberg、Kessler 等人 1995
TA Parker I.、Stotz 等人 1996
Gottdenker 等人 2005
我期望看到的是:
TA Parker III、SA Parker 等人 1982
TA Parker III、Schulenberg、Graves 等人 1985
TA Parker III、Schulenberg、Kessler 等人 1995
TA Parker III、Stotz 等人 1996
Gottdenker 等人 2005
我的截断 bib 文件:
% Encoding: UTF-8
@Article{parkerschulenbergetal1985avifauna,
author = {Parker, III, T. A. and Schulenberg, T. S. and Graves, G. R. and Braun, M. J.},
title = {The avifauna of the Huancabamba region, northern Peru},
journaltitle = {Ornithological Monographs},
year = {1985},
issuetitle = {Neotropical ornithology (P. A. Buckley, M. S. Foster, E. S. Morton, R. S. Ridgley, and F. G. Buckley, (Eds.))},
volume = {36,},
pages = {169--197},
doi = {10.2307/40168282},
keywords = {validated},
}
@Article{parkerschulenbergetal1995natural,
author = {Parker, III, T. A. and Schulenberg, T. S. and Kessler, M. and Wust, W. H.},
title = {Natural history and conservation of the endemic avifauna in north-west Peru},
journaltitle = {Bird Conservation International},
year = {1995},
issuetitle = {In memory of Ted Parker},
volume = {5},
number = {2-3},
pages = {201--232},
doi = {10.1017/S0959270900001015},
keywords = {validated},
}
@InBook{parkerstotzetal1996ecological,
author = {Parker, III, T. A. and Stotz, D. F. and Fitzpatrick, J. W.},
title = {Ecological and distributional databases},
pages = {113--436},
crossref = {stotzfitzpatricketal1996neotropical},
keywords = {validated, new},
}
@Book{stotzfitzpatricketal1996neotropical,
author = {Stotz, D. F. and Fitzpatrick, J. W. and Parker, III, T. A. and Moskovits, D. K.},
title = {Neotropical birds: ecology and conservation},
year = {1996},
publisher = {University of Chicago Press},
location = {Chicago},
keywords = {validated},
}
@Article{gottdenkerwalshetal2005assessing,
author = {Gottdenker, N. L. and Walsh, T. and Vargas, H. and Merkel, J. and Jiménez, G. U. and Miller, R. E. and Dailey, M. and Parker, P. G.},
title = {Assessing the risks of introduced chickens and their pathogens to native birds in the Galápagos Archipelago},
journaltitle = {Biological Conservation},
year = {2005},
volume = {126},
number = {3},
pages = {429--439},
doi = {10.1016/j.biocon.2005.06.025},
keywords = {validated},
}
@Book{parkerparkeretal1982annotated,
author = {Parker, III, T. A. and Parker, S. A. and Plenge, M. A.},
title = {An annotated checklist of Peruvian birds},
year = {1982},
publisher = {Buteo Books},
location = {Vermillion, SD},
keywords = {validated, new},
}
这些是我的书目(超过 2500 条条目)中三个不同 Parker 的五个例子。我看到带有“Jr.”后缀的名字也出现了同样的结果,这些名字也需要消除歧义。Parker, SA 可以消除歧义。Parker, PG 则不能,我不知道为什么。
我的最低工作示例:
\documentclass{article}
\usepackage[letterpaper, margin=.75in]{geometry}
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{1EF3}{\`y}
\DeclareUnicodeCharacter{03B2}{$\beta$}
\DeclareUnicodeCharacter{0301}{FIXME!!!!}
\usepackage[default]{sourcesanspro}
\usepackage[
style=authoryear-comp,
sortcites=false,
backend=biber,
sorting=nyt,
block=space,
hyperref=auto,
bibstyle=apa,
maxnames=125,
maxcitenames=2,
mincitenames=1,
apamaxprtauth=125,
apabackref=true,
uniquename=true
]{biblatex}
\usepackage{textcomp}
\DeclareFieldFormat{apacase}{#1}
\addbibresource{MWE.bib}
\raggedright
\begin{document}
\cite{parkerparkeretal1982annotated}\\
\cite{parkerschulenbergetal1985avifauna}\\
\cite{parkerschulenbergetal1995natural}\\
\cite{parkerstotzetal1996ecological}\\
\cite{gottdenkerwalshetal2005assessing}\\
\printbibliography
\end{document}
如何才能使 APA 名称消歧义使用整个后缀,而不仅仅是后缀首字母?
答案1
提醒一句:你的序言使用了style=authoryear-comp,
,bibstyle=apa,
这意味着你的引用没有使用 APA 格式。因此我简化了这个例子。
使用下面的代码,我们总是打印全名后缀,而不是可能出错的后缀缩写。
我们只需要修改姓名格式,即使名字仅以首字母打印,也labeldate
始终打印完整内容。suffix
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[
style=authoryear-comp,
]{biblatex}
\DeclareNameFormat{labelname}{%
\ifcase\value{uniquename}%
\usebibmacro{name:family}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\or
\ifuseprefix
{\usebibmacro{name:given-family}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}}
{\usebibmacro{name:given-family}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefixi}
{\namepartsuffix}}%
\or
\usebibmacro{name:given-family}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\fi
\usebibmacro{name:andothers}}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{parkerschulenbergetal1985avifauna,
author = {Parker, III, T. A. and Schulenberg, T. S. and Graves, G. R. and Braun, M. J.},
title = {The avifauna of the Huancabamba region, northern Peru},
journaltitle = {Ornithological Monographs},
year = {1985},
issuetitle = {Neotropical ornithology (P. A. Buckley, M. S. Foster, E. S. Morton, R. S. Ridgley, and F. G. Buckley, (Eds.))},
volume = {36,},
pages = {169--197},
doi = {10.2307/40168282},
keywords = {validated},
}
@Article{parkerschulenbergetal1995natural,
author = {Parker, III, T. A. and Schulenberg, T. S. and Kessler, M. and Wust, W. H.},
title = {Natural history and conservation of the endemic avifauna in north-west Peru},
journaltitle = {Bird Conservation International},
year = {1995},
issuetitle = {In memory of Ted Parker},
volume = {5},
number = {2-3},
pages = {201--232},
doi = {10.1017/S0959270900001015},
keywords = {validated},
}
@InBook{parkerstotzetal1996ecological,
author = {Parker, III, T. A. and Stotz, D. F. and Fitzpatrick, J. W.},
title = {Ecological and distributional databases},
pages = {113--436},
crossref = {stotzfitzpatricketal1996neotropical},
keywords = {validated, new},
}
@Book{stotzfitzpatricketal1996neotropical,
author = {Stotz, D. F. and Fitzpatrick, J. W. and Parker, III, T. A. and Moskovits, D. K.},
title = {Neotropical birds: ecology and conservation},
year = {1996},
publisher = {University of Chicago Press},
location = {Chicago},
keywords = {validated},
}
@Article{gottdenkerwalshetal2005assessing,
author = {Gottdenker, N. L. and Walsh, T. and Vargas, H. and Merkel, J. and Jiménez, G. U. and Miller, R. E. and Dailey, M. and Parker, P. G.},
title = {Assessing the risks of introduced chickens and their pathogens to native birds in the Galápagos Archipelago},
journaltitle = {Biological Conservation},
year = {2005},
volume = {126},
number = {3},
pages = {429--439},
doi = {10.1016/j.biocon.2005.06.025},
keywords = {validated},
}
@Book{parkerparkeretal1982annotated,
author = {Parker, III, T. A. and Parker, S. A. and Plenge, M. A.},
title = {An annotated checklist of Peruvian birds},
year = {1982},
publisher = {Buteo Books},
location = {Vermillion, SD},
keywords = {validated, new},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{parkerparkeretal1982annotated}\\
\cite{parkerschulenbergetal1985avifauna}\\
\cite{parkerschulenbergetal1995natural}\\
\cite{parkerstotzetal1996ecological}\\
\cite{gottdenkerwalshetal2005assessing}\\
\printbibliography
\end{document}
TA Parker III、SA Parker 和 Plenge 1982
TA Parker III、Schulenberg、Graves 等人,1985 年
TA Parker III、Schulenberg、Kessler 等人,1995 年
TA Parker III、Stotz 和 Fitzpatrick 1996
Gottdenker 等人,2005 年
PG Parker 单独gottdenkerwalshetal2005assessing
不会触发 Parkeruniquename
功能,因为该名称从未显示在引文中(因此需要消歧义的可能性很小)。默认设置uniquename=full
只能消除最多 的歧义maxnames
,如果您想消除所有名称的歧义,即使它们可能不可见,您需要uniquename=allfull
。