我对 PDF 中呈现的错误消息“(author?) [5]”有疑问。我非常想只呈现括号中的数字。我用 BibDesk 创建的 bib 文件如下所示:
@book{Martin_2002,
Author = {Martin, Robert Cecil},
Date-Added = {2016-04-03 19:49:12 +0000},
Date-Modified = {2016-04-03 19:49:46 +0000},
Publisher = {Prentice Hall Computer},
Title = {Agile Software Development. Principles, Patterns, and Practices},
Year = {2002}}
我引用使用这个配置:
\usepackage{natbib}
\bibliographystyle{ieeetr}
\setcitestyle{numbers,open={[},close={]}}
...
\citet{Martin_2002}
日志文件有很多关于作者的警告:
Package natbib Warning: Author undefined for citation`Martin_2002'
参考书目呈现得很好:
[19] R. C. Martin, Agile Software Development. Principles, Patterns, and Practices. Prentice Hall Computer, 2002.
我对 tex 相当菜鸟。我该如何解决这个问题?谢谢!