我无法将当前references.bib
文件中的引用添加到我的主要 tex 文件中。我得到的输出是旧references.bib
文件中的引用,我已将其删除。
最终版本
\documentclass[oneside,11pt]{Classes/CUEDthesisPSnPDF}
\usepackage{natbib}
\begin{document}
\setcitestyle{numbers}
\bibliographystyle{plainnat}
\renewcommand{\bibname}{References} % changes default name Bibliography to References
\bibliography{References/references} % references.bib file located in References folder
\end{document}
references.bib 文件内容
@article{aps:1,
title={An introduction to social network data analytics},
author={Aggarwal, Charu C},
journal={Social network data analytics},
pages={1--15},
year={2011},
publisher={Springer}
}
@article{aps:2,
title={A survey of clustering algorithms for big data: Taxonomy and empirical analysis},
author={Fahad, Adil and Alshatri, Najlaa and Tari, Zahir and Alamri, Abdullah and Khalil, Ibrahim and Zomaya, Albert Y and Foufou, Sebti and Bouras, Abdelaziz},
journal={IEEE transactions on emerging topics in computing},
volume={2},
number={3},
pages={267--279},
year={2014},
publisher={IEEE}
}
答案1
您没有引用任何参考文献,因此没有任何内容出现。
只需添加引用,您就会得到结果。
\documentclass[oneside,11pt]{article}
\usepackage{natbib}
\begin{document}
\cite{aps:1}
\setcitestyle{numbers}
\bibliographystyle{plainnat}
\renewcommand{\bibname}{References} % changes default name Bibliography to References
\bibliography{References/references} % references.bib file located in References folder
\end{document}