我有一个如下的 .bib 文件:
%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/
%% Saved with string encoding Unicode (UTF-8)
@book{marcu2000theory,
Author = {Marcu, Daniel},
Date-Added = {2013-02-12 04:56:47 +0000},
Date-Modified = {2013-02-12 04:56:47 +0000},
Publisher = {MIT Press},
Title = {The theory and practice of discourse parsing and summarization},
Year = {2000}}
我的乳胶文件:
\documentclass{article} % For LaTeX2e
\usepackage{graphicx}
\usepackage{url}
\usepackage{natbib}
\title{T}
\begin{document}
\maketitle
\cite{marcu2000theory}
\citeauthor{marcu2000theory}
\bibliography{DPSurvey}
\bibliographystyle{plain}
\end{document}
然而,我总是收到警告:
Author undefined for citation`marcu2000theory' (natbib) on page 1
有人能指出错误吗?
答案1
使用natbib
替换plain style
, plainnat.bst
。若要获得数字引用,请使用numbers
选项。
\usepackage[numbers]{natbib}
\bibliographystyle{plainnat}