我重新安装了 MikTEX 并安装了它,但我无法再次加载 .bib 文件?

我重新安装了 MikTEX 并安装了它,但我无法再次加载 .bib 文件?

我卸载了 MikTex 并安装了它。现在,当我想将.bib文件添加到 Winedt 时,我遇到了此警告:

LaTeX 警告:输入行 11 上的“thebibliography”环境为空

我寻找一个好的解决方案,但没有找到。

我的 tex 代码如下:

\documentclass[twocolumn]{svjour3} 

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{RN34,
   author = {Hu, Xiaoqing and Bao, Ming and Zhang, Xiao-Ping and Guan, Luyang and Hu, Yu Hen},
   title = {Generalized Iterated Kalman Filter and its Performance Evaluation},
   journal = {IEEE Trans. Signal Processing},
   volume = {63},
   number = {12},
   pages = {3204-3217},
   year = {2015},
   type = {Journal Article}
}
\end{filecontents}

\begin{document}

\cite{RN34}

\bibliographystyle{spbasic}
\bibliography{FinalSpringerRefs}

\begin{thebibliography}{}

\bibitem{Ref1}
Hu, X., Hu, Y.-H., Xu, B.: Generalised Kalman filter tracking with multiplicative measurement noise in a wireless sensor network. IET Signal Processing 8(5), 467-474 (2013).

\end{thebibliography}

\end{document}

我的.bbl文件包含:

\begin{thebibliography}{0}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{{#1}}
\providecommand{\urlprefix}{URL }
\expandafter\ifx\csname urlstyle\endcsname\relax
  \providecommand{\doi}[1]{DOI~\discretionary{}{}{}#1}\else
  \providecommand{\doi}{DOI~\discretionary{}{}{}\begingroup
  \urlstyle{rm}\Url}\fi
\providecommand{\eprint}[2][]{\url{#2}}

\end{thebibliography}

答案1

嗯,有误会了!

如果您使用则\bibliography{}不需要添加以下代码:

\begin{thebibliography}{}

\bibitem{Ref1}
Hu, X., Hu, Y.-H., Xu, B.: Generalised Kalman filter tracking with multiplicative measurement noise in a wireless sensor network. IET Signal Processing 8(5), 467-474 (2013).

\end{thebibliography}

删除 mwe 中的那个以获取(请参阅更改的参数以\bibliography适合您创建的 bib 文件filecontents

\documentclass[twocolumn]{svjour3} 

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{RN34,
   author = {Hu, Xiaoqing and Bao, Ming and Zhang, Xiao-Ping and Guan, Luyang and Hu, Yu Hen},
   title = {Generalized Iterated Kalman Filter and its Performance Evaluation},
   journal = {IEEE Trans. Signal Processing},
   volume = {63},
   number = {12},
   pages = {3204-3217},
   year = {2015},
   type = {Journal Article}
}
\end{filecontents}

\begin{document}

\cite{RN34}

\bibliographystyle{spbasic}
\bibliography{\jobname} % <=============================================


\end{document}

结果:

由此产生的书目

相关内容