IEEE 样式书目 (biblatex) 中年份的括号不一致

IEEE 样式书目 (biblatex) 中年份的括号不一致

我在论文中使用biblatex(IEEE 风格),我注意到在参考书目中打印出的参考文献存在不一致。

在此处输入图片描述

如图所示,第一个引用中的年份在括号中,而另一个则没有。

以下是 MWE:

\documentclass{article}

\usepackage[bibstyle=ieee, maxcitenames=2, mincitenames=1, maxbibnames=999999, style=numeric-comp,  sorting=none, natbib=true, doi=false,isbn=false,url=true,eprint=false]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{tommasel2016personality,
    title={Personality-aware followee recommendation algorithms: An empirical analysis},
    author={Tommasel, Antonela and Corbellini, Alejandro and Godoy, Daniela and Schiaffino, Silvia},
    journal={Engineering Applications of Artificial Intelligence},
    volume={51},
    pages={24--36},
    year={2016},
    publisher={Elsevier},
    doi = {10.1016/j.engappai.2016.01.016}
}

@inproceedings{song2010feature,
    title={Feature selection using principal component analysis},
    author={Song, Fengxi and Guo, Zhongwei and Mei, Dayong},
    booktitle={2010 international conference on system science, engineering design and manufacturing informatization},
    volume={1},
    pages={27--30},
    year={2010},
    organization={IEEE}
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}
    
    \printbibliography

\end{document}

我注意到 IEEE 样式的引用没有括号,我想遵守这样的标准。我该如何处理这种不一致?

答案1

您有两个样式声明,第二个声明覆盖第一个。

\begin{filecontents}{\jobname.bib}
@article{tommasel2016personality,
    title={Personality-aware followee recommendation algorithms: An empirical analysis},
    author={Tommasel, Antonela and Corbellini, Alejandro and Godoy, Daniela and Schiaffino, Silvia},
    journal={Engineering Applications of Artificial Intelligence},
    volume={51},
    pages={24--36},
    year={2016},
    publisher={Elsevier},
    doi = {10.1016/j.engappai.2016.01.016}
}

@inproceedings{song2010feature,
    title={Feature selection using principal component analysis},
    author={Song, Fengxi and Guo, Zhongwei and Mei, Dayong},
    booktitle={2010 international conference on system science, engineering design and manufacturing informatization},
    volume={1},
    pages={27--30},
    year={2010},
    organization={IEEE}
}
\end{filecontents}

\documentclass{article}

\usepackage[
  style=ieee,
  maxcitenames=2,
  mincitenames=1,
  maxbibnames=999999,
  sorting=none,
  natbib=true,
  doi=false,
  isbn=false,
  url=true,
  eprint=false,
]{biblatex}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}
    
    \printbibliography

\end{document}

在此处输入图片描述

相关内容