我有一个 txt 格式的 bib 文件,与所有其他 Latex 文件位于同一目录中。以下是我的文件示例,名为:Bibliographyforpaper.txt 内容:
@article{kargupta2004fourier,
title={A fourier spectrum-based approach to represent decision trees for mining data streams in mobile environments},
author={Kargupta, Hillol and Park, Byung-Hoon},
journal={Knowledge and Data Engineering, IEEE Transactions on},
volume={16},
number={2},
pages={216--229},
year={2004},
publisher={IEEE}
}
@article{mukherjee2006privacy,
title={A privacy-preserving technique for Euclidean distance-based mining algorithms using Fourier-related transforms},
author={Mukherjee, Shibnath and Chen, Zhiyuan and Gangopadhyay, Aryya},
journal={The VLDB Journal—The International Journal on Very Large Data Bases},
volume={15},
number={4},
pages={293--315},
year={2006},
publisher={Springer-Verlag New York, Inc.}
}
在 LATEX 文件中我使用:
\usepackage{filecontents}
\begin{document}
\begin{abstract}
\end{abstract}
\section{Introduction}
\newpage
\bibliography{Bibliographyforpaper}{}
\bibliographystyle{plain}
\nocite*
\end{document}
而且只有标题References
,没有参考书目列表。如果我添加\printbibliography
,就会出现错误。