我正在使用 biblatex-apa 软件包以及最新的 biber 和 biblatex 版本(...我认为)。问题是,有时作者的名字或其缩写会在作者姓名后的方括号中重复出现。
我认为原因是某种冲突,因为当文件中只有一篇文章的单一引用时,这种情况不会发生。
让我给你举一个简单的例子。(我认为它不是那么简单,但足够简短)
\documentclass{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[
backend=biber,
style=apa,
apamaxprtauth=7,
doi=true,
isbn=false,
url=false
]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\begin{filecontents}{\jobname.bib}
@article{Andersson2002,
author = {Andersson, G. and Str\"{o}mgren, T.},
doi = {10.1097/01.PSY.0000031577.42041.F8},
isbn = {0000031577},
journal = {Psychosomatic Medicine},
pages = {810--816},
title = {{Randomized controlled trial of Internet-based cognitive behavior therapy for distress associated with tinnitus}},
url = {http://www.psychosomaticmedicine.org/content/64/5/810.short},
volume = {64},
year = {2002}
}
@article{Andersson2003a,
author = {Andersson, Gerhard and Carlbring, Per},
doi = {10.1080/16506070310014466},
file = {:Users/Julia/Documents/Psychologie/Diplomarbeit/Literatur/Andersson\_2003.pdf:pdf},
journal = {Cognitive Behaviour Therapy},
number = {3},
pages = {97--99},
title = {{Internet and Cognitive Behaviour Therapy: New opportunities for treatment and assessment}},
url = {http://www.tandfonline.com/doi/abs/10.1080/16506070302315},
volume = {32},
year = {2003}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
This paper is really cool \cite{Andersson2002}\cite{Andersson2003a}
\printbibliography
\end{document}
编译它,给我
我该怎么做才能去掉括号?
答案1
biblatex
这是类型样式执行的歧义消除的结果authoryear
- 为了避免误认姓氏相同(但首字母或名字不同)的人,它会动态添加首字母或全名(由选项设置)。样式apa
会进行调整,在这些名称周围添加方括号。有关详细信息,请参阅biblatex
手册的第 4.11.4.1 节。
要完全关闭此行为,请使用该uniquename=false
选项。
\usepackage[
backend=biber,
style=apa,
apamaxprtauth=7,
doi=true,
isbn=false,
uniquename=false,
url=false
]{biblatex}
更好的方法可能是确保以相同的方式重复引用完全相同的作者,这样biblatex
只有在作者实际上不同时才会消除歧义(而不仅仅是当您碰巧没有以完全相同的方式写出全名时)。使用您的 MWE,如果我们将替换G.
为Gerhard
不添加括号:
\documentclass{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[
backend=biber,
style=apa,
apamaxprtauth=7,
doi=true,
isbn=false,
url=false
]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\begin{filecontents}{\jobname.bib}
@article{Andersson2002,
author = {Andersson, Gerhard and Str\"{o}mgren, T.},
doi = {10.1097/01.PSY.0000031577.42041.F8},
isbn = {0000031577},
journal = {Psychosomatic Medicine},
pages = {810--816},
title = {{Randomized controlled trial of Internet-based cognitive behavior therapy for distress associated with tinnitus}},
url = {http://www.psychosomaticmedicine.org/content/64/5/810.short},
volume = {64},
year = {2002}
}
@article{Andersson2003a,
author = {Andersson, Gerhard and Carlbring, Per},
doi = {10.1080/16506070310014466},
file = {:Users/Julia/Documents/Psychologie/Diplomarbeit/Literatur/Andersson\_2003.pdf:pdf},
journal = {Cognitive Behaviour Therapy},
number = {3},
pages = {97--99},
title = {{Internet and Cognitive Behaviour Therapy: New opportunities for treatment and assessment}},
url = {http://www.tandfonline.com/doi/abs/10.1080/16506070302315},
volume = {32},
year = {2003}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
This paper is really cool \cite{Andersson2002}\cite{Andersson2003a}
\printbibliography
\end{document}