以下是 MWE:
\documentclass[12pt]{scrarticle}
\usepackage{filecontents}
\begin{filecontents}{mybib.bib}
%
@book{schaefer:bl,
Author = {Helmut H. Schaefer},
Keywords = {Schaefer},
Publisher = {Springer},
Title = {Banach Lattices and Positive Operators},
Year = {1974}}
%
@article{schaefer:1967,
Author = {Schaefer, H. H.},
Journal = {Illinois J. Math.},
Pages = {703--715},
Title = {Invariant ideals of positive operators in $C(X)$ (I)},
Volume = {11},
Year = {1967}}
%
\end{filecontents}
\usepackage[%
,backend=biber
,style=philosophy-modern
,firstinits = true]{biblatex}
%
\bibliography{mybib}
\begin{document}
%
\nocite{*}
\printbibliography
\end{document}
但书和文章不应该分开。我查看了用户指南,但没有成功。
答案1
由于author
两个 bib 条目的字段并不相同(第一个包含完整的名字,而第二个仅包含首字母),因此它们被视为两个不同的作者。
如果您author
按照下面的 MWE 所示对字段进行同质化,您将获得所需的结果,其中两个参考都列在同一名称下:
\documentclass[12pt]{scrarticle}
% \usepackage{filecontents}% not needed any more since fall 2019 since the functionality was integrated into the latex kernel
\begin{filecontents}[overwrite]{mybib.bib}
%
@book{schaefer:bl,
% Author = {Helmut. H. Schaefer},
Author = {H. H. Schaefer},
Keywords = {Schaefer},
Publisher = {Springer},
Title = {Banach Lattices and Positive Operators},
Year = {1974}}
%
@article{schaefer:1967,
Author = {Schaefer, H. H.},
Journal = {Illinois J. Math.},
Pages = {703--715},
Title = {Invariant ideals of positive operators in $C(X)$ (I)},
Volume = {11},
Year = {1967}}
%
\end{filecontents}
\usepackage[%
,backend=biber
,style=philosophy-modern
,giveninits = true]{biblatex} % firstinits is deprecated and was replaced with giveninits in version 3.3 (2016-03-01), see corresponding warning
%
\bibliography{mybib}
\begin{document}
%
\nocite{*}
\printbibliography
\end{document}
在上面的 MWE 中,我添加了一些关于被替换为的firstinits
选项以及被纳入 latex 内核的包的评论。您可能需要相应地调整文档代码。biblatex
giveninits
filecontents