Bug持续时间: 14小时。
overleaf 模板:https://www.overleaf.com/latex/templates/ieee-for-journals-template-with-bibtex-example-files-included/hjbyjvncdmpx
问题:想把文献索引写在 .bib 文件,这样可以直接把以前论文的文献索引数据拷贝过来,但这个模板里没有 .cls、.bst文件,把thebibliography注释了使用
\bibliographystyle{IEEEtran}
\bibliography{bibtex/bib/IEEEabrv,bibtex/bib/IEEEexample}
后编译不通过。
解决:最后发现是需要在正文或者附录里 \cite{} 引用一篇论文,然后就可以正常显示了。IEEE 的期刊模板在overleaf上不需要 cls和bst文件。
Solution: https://tex.stackexchange.com/questions/530544/cannot-add-bib-file-to-my-main-text-file