在如下链接给出的「ieeecolor模板」Alternate-Transactions-Articles-LaTeX-template2.zip
中,使用了「ieeecolor」文档类,现在考虑如下的MWE:
\documentclass[journal,twoside,web]{ieeecolor}
\usepackage{generic}
\usepackage{cite}
\begin{filecontents*}[overwrite]{refs.bib}
@article{mahon2017sg,
title = {{The {5G} effect on {RF} filter technologies}},
volume = {30},
number = {4},
journal = {{IEEE Transactions on Semiconductor Manufacturing}},
author = {Mahon, Steven},
year = {2017},
pages = {494--499},
doi={10.1109/TSM.2017.2757879},
}
@article{lee2018spectrum,
title = {{Spectrum for {5G}: {Global} status, challenges, and enabling technologies}},
volume = {56},
number = {3},
journal = {{IEEE Communications Magazine}},
author = {Lee, Juho and Tejedor, Erika and Ranta-aho, Karri and Wang, Hu and Lee, Kyung-Tak and Semaan, Eliane and Mohyeldin, Eman and Song, Juyeon and Bergljung, Christian and Jung, Sangyeob},
year = {2018},
pages = {12--18},
doi={10.1109/MCOM.2018.1700818},
}
\end{filecontents*}
\bibliographystyle{IEEEtran}
\begin{document}
Hello world\cite{mahon2017sg} ahahahha\cite{lee2018spectrum} ahaha!
\bibliography{refs}
\end{document}这将得到:

但现在编辑要求在参考文献列表中增加「DOI」的字段信息,在当前的模板和.bib的框架下,满足编辑这一需求的最佳实践是什么?
需要指出的是,在上述链接里使用的模板根本没有考虑「DOI」的问题,但是编辑却要你考虑。
注意到在ieeecolor.cls的3694行前后重定义了bibliography文档类:
% ieeecolor.cls % line 3694
\def\thebibliography#1{\section*{References\color{black}}%
\addcontentsline{toc}{section}{References}%
% V1.6 add some rubber space here and provide a command trigger
\footnotesize \vskip 0.3\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep\relax
\itemsep 0pt plus .5pt\relax%
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\let\@IEEElatexbibitem\bibitem%
\def\bibitem{\@IEEEbibitemprefix\@IEEElatexbibitem}%
\def\newblock{\hskip .11em plus .33em minus .07em}%
% originally:
% \sloppy\clubpenalty4000\widowpenalty4000%
% by adding the \interlinepenalty here, we make it more
% difficult, but not impossible, for LaTeX to break within a reference.
% IEEE almost never breaks a reference (but they do it more often with
% technotes). You may get an underfull vbox warning around the bibliography,
% but the final result will be much more like what IEEE will publish.
% MDS 11/2000
\if@technote\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty100%
\else\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty500\fi%
\sfcode`\.=1000\relax}
\let\endthebibliography=\endlist且在示例文件generic-color.tex中使用的是「thebibliography」环境而非「bib文件」的引用方式,直接使用IEEEtran文档类提供的IEEEtran.bst在这个投稿情景中是否合适/严格符合其样式要求,也是一个值得商榷的问题。
修改「.bst」是很坏的做法...因为可能在编辑那里就无法编译。这里有大量的沟通成本。
求己不如求人:
IEEEtran.bst作者的邮件回复:https://tex.stackexchange.com/questions/67444/doi-in-ieeetran-bibliography#comment523986_67444如果使用这些patch过的IEEEtran.bst,可以在「本地」解决这个问题...
