我有以下参考书目和正文:
参考文献
@article{knuth:1984,
title={Literate Programming},
author={Donald E. Knuth},
journal={The Computer Journal},
volume={27},
number={2},
pages={97--111},
year={2020},
publisher={Oxford University Press}
}
@manual{freescale:33879A,
organization = "Freescale Semiconductor",
title = "Configurable Octal Serial Switch
with Open Load Detect Current Disable",
year = 2012,
month = 6,
number = "MC33879",
note = "Rev. 10.0"
}
主文本
\documentclass[journal]{IEEEtran}
\usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
\usepackage{stfloats}
\usepackage{url}
%\usepackage{cite}
\hyphenation{op-tical net-works semi-conduc-tor IEEE-Xplore}
% updated with editoria
\begin{document}
\section*{Acknowledgments}
This should be a simple paragraph before the References to thank those individuals and institutions who have supported your work on this article.
%
\newpage
%
\nocite{*}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,references.bib}
\vspace{11pt}
\end{document}
现在我想删除note = "Rev. 10.0"
上面的引用,因为我没有这方面的信息。
我试图注释掉它,% note = "Rev. 10.0"
但它给了我一个错误。我该如何删除这部分?
您缺少一个字段名称::%note =“Rev. 10.0”(错误可能发生在上一行)
答案1
bibtex
忽略任何非预定义字段。因此更改note
为mynote
(或任何其他非预定义bibtex
字段的名称即可。