我有以下overleaf
项目结构:
root
├──IEEEtran.cls
├──IEEEtran.bst
├──Introduction.tex
├──main.tex
├──Related_Work.tex
├──References
└──refererences.bib
我的main.tex
文件包含以下内容:
\documentclass[conference]{IEEEtran}
\usepackage[utf8]{inputenc}
\IEEEoverridecommandlockouts
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{booktabs} % For formal tables
\usepackage{multirow}
\usepackage{soul} % for highlights
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\begin{document}
\title{Manuscript Title}
\maketitle
\begin{abstract}
\end{abstract}
\begin{IEEEkeywords}
\end{IEEEkeywords}
\input{Introduction.tex}
\input{Related_Work}
% Reference list
\bibliographystyle{./IEEEtran}
\bibliography{References/references}
\end{document}
我在 References/references.bib 中只有 2 个参考列表
@article{b1,
title={AMUSE: Empowering users for cost-aware offloading with throughput-delay tradeoffs},
author={Im, Youngbin and Joe-Wong, Carlee and Ha, Sangtae and Sen, Soumya and Chiang, Mung and others},
journal={IEEE Transactions on Mobile Computing},
volume={15},
number={5},
pages={1062--1076},
year={2015},
publisher={IEEE}
}
@article{b2,
title={Cooperative data offload in opportunistic networks: From mobile devices to infrastructure},
author={Lu, Zongqing and Sun, Xiao and La Porta, Thomas},
journal={IEEE/ACM Transactions on Networking},
volume={25},
number={6},
pages={3382--3395},
year={2017},
publisher={IEEE}
}
文件中Introduction.tex
除了标题外什么都没有,只有以下内容Related_Work.tex
:
\section{Related WOrk}
We refer to the methods in \cite{b1} and \cite{b2}
但输出并未显示引用。
错误:
You have cited something which is not included in your bibliography.
Citation 'b1' on page 1 undefined on input line 6
答案1
感谢@Paul 的帮助。以下是修复方法。
a.删除了文件IEEEtran.bst
(该文件原本是空的,很奇怪)。
b. 在main.tex
改变后:
\bibliographystyle{./IEEEtran}
到:
\bibliographystyle{IEEEtran}