Latex编译参考文献时出错的解决

时间:2024-04-02 10:10:40

问题:

This is BibTeX, Version 0.99d (TeX Live 2012)

The top-level auxiliary file: ***.aux

I found no \bibdata command---while reading file ***.aux

I found no \bibstyle command---while reading file ***.aux

 

2.解决方案(按步骤操作):

​1) 复制“\bibliography{IEEEabrv}”到​“\end{document}”前一行;其中IEEEabrv是IEEE定义的“.bib”文件,放在和“.tex”文件同级文件夹下;可以去官网下载https://ctan.org/pkg/ieeetranLatex编译参考文献时出错的解决

2)​ 复制“\bibliographystyle{IEEEtran}”到​“\begin{document}”前一行;

修改成以下内容

\documentclass{article}

\bibliographystyle{IEEEtran}

\begin{document}

Here comes \LaTeX!

\bibliography{IEEEabrv}

\end{document}