我在texmaker中使用以下测试程序
例如
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{graphicx}
\usepackage{babel}
\usepackage{natbib}
\begin{document}
hello\citet*{greenwade93}
\bibliographystyle{plainat}
\bibliography{bibliography}
\end{document}
参考书目中的条目是
@article{greenwade93,
author = "George D. Greenwade",
title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
year = "1993",
journal = "TUGBoat",
volume = "14",
number = "3",
pages = "342--351",
year = "2004"
}
当我构建bibtex和pdflatex时,输出只是“你好?” (texmaker中没有错误/警告)。然后我跑了“pdflatex test”它显示
Package natbib Warning: Citation `greenwade93' on page 1 undefined on input lin
e 8.
然后“bibtex测试”显示
I couldn't open style file plainat.bst
我已经安装了miktex包管理器natbib包,所有3个ntabib bst文件都在C:\Program Files (x86)\MiKTeX 2.8\bibtex\bst\natbib
文件夹中。
答案 0 :(得分:2)
您想要的.bst
文件称为plainnat
。你的遗失n
。尝试:
\bibliographystyle{plainnat}