为什么没有从 bib 文件添加参考文献?

为什么没有从 bib 文件添加参考文献?

最初,我在单列中添加了我的 bib 文件并且它可以正常工作,但当我使用双列格式时,会出现以下错误。

This is BibTeX, Version 0.99d (MiKTeX 2.9.6800 64-bit) The top-level auxiliary file: Paper.aux I found no \bibstyle command---while reading file Paper.aux (There was 1 error message)

Process exited with error(s)

我该怎么做才能解决这个问题?这是代码

\documentclass[twocolumn]{el-author}

%\usepackage[...]{...}      This has been commented out as we are not using any additional packages here.  On the whole, they should be unnecessary.
\newcommand{\hH}{\hat{H}}
\newcommand{\D}{^\dagger}
\newcommand{\ua}{\uparrow}
\newcommand{\nc}{\newcommand}
\nc{\da}{\downarrow} \nc{\hc}{\hat{c}} \nc{\hS}{\hat{S}}
\nc{\bra}{\langle} \nc{\ket}{\rangle} \nc{\eq}{equation (\ref}
\nc{\h}{\hat} \nc{\hT}{\h{T}}\nc{\be}{\begin{eqnarray}}
\nc{\ee}{\end{eqnarray}}\nc{\rd}{\textrm{d}}\nc{\e}{eqnarray}\nc{\hR}{\hat{R}}\nc{\Tr}{\mathrm{Tr}}
\nc{\tS}{\tilde{S}}\nc{\tr}{\mathrm{tr}}\nc{\8}{\infty}\nc{\lgs}{\bra\ua,\phi|}\nc{\rgs}{|\ua,\phi\ket}
\nc{\hU}{\hat{U}}\nc{\lfs}{\bra\phi|}\nc{\rfs}{|\phi\ket}\nc{\hZ}{\hat{Z}}\nc{\hd}{\hat{d}}\nc{\mD}{\mathcal{D}}
\nc{\bd}{\bar{d}}\nc{\bc}{\bar{c}}\nc{\mc}{\mathcal}\nc{\ea}{eqnarray}\nc{\mG}{\mathcal{G}}\nc{\bce}{\begin{center}}
\nc{\ece}{\end{center}}
\date{12th December 2011}

\begin{document}

\title{Instructions and example template for \LaTeX{} submissions to \emph{Electronics Letters}}

\author{J. Smith and A. N. Other}

\abstract{This document describes how to use the el-author.cls file and how to format your \LaTeX submissions
correctly for \emph{Electronics Letters}. It also serves as a template, so that you can simply
copy the text from this example .tex file and replace it with your own.  We have tried to cover the basic
}

\maketitle

\section{Introduction}

\verb"el-author.cls" is used in a similar fashion to the standard \verb"article.cls" file. However, the \verb"el-author.cls" file must be copied \cite{Preece2009, Shoaib2013a} into the same directory as the .tex file you wish to compile for submission. 



\bibliography{library}
\end{document}


%\verb"\end{document}" 

答案1

假设您从以下 来源获取了文件el-author.clssample.texsample.pdfhttps://digital-library.theiet.org/journals/el/author-guide

如果是这种情况,请注意示例文件包含以下手工构建的thebibliography环境。

\begin{thebibliography}{}

\bibitem{1}
Anderson, P.: `A poor man's derivation of scaling laws for the 
Kondo problem', \textit{J. Phys. C.}, 1960, \textbf{3}, p. 2436

\bibitem{2}
Coleman, P.: `1/N expansion for the Kondo lattice', 
\textit{Phys. Rev. B}, 1983, \textbf{28}, pp. 5255-5262

\bibitem{3}
Ludwig, I. and Ludwig A. W. W.: `Kondo effect induced by a 
magnetic field', \textit{Phys. Rev. B}, 2001, \textbf{64}, p. 045328

\end{thebibliography}

请注意,所有三个示例条目都是同一类型(期刊文章);没有提供任何有关如何格式化书籍、工作文件等的指导。说明\begin{thebibliography}{}应该是。我认为给出名为、和 的\begin{thebibliography}{9}引用键也是不好的形式。最后,似乎和之间缺少逗号。123LudwigA. W. W.

遗憾的是,该示例也没有提供如何使用 BibTeX 等软件创建参考书目的指导。唯一清楚的是,应该使用数字式引文标注。

我不知道有任何现成的参考书目样式可以实现模板很大程度上隐含的参考书目格式要求。我会从abbrv参考书目样式开始。如果期刊的编辑人员认为有必要抱怨这种格式选择,只需要求他们提供更合适的参考书目样式即可。

相关内容