如何使用参考书目文件与 IEEEtransaction?

如何使用参考书目文件与 IEEEtransaction?

我有点麻烦了。所以请帮帮我。为了将我的工作提交给 IEEE 交易,我下载了他们的IEEEtran.tar文件并将其解压缩。

在里面,我开始使用裸露的_jrnl.tex文件作为我工作的基础,并开始编辑它以满足我的需求。此文件的内容如下所示(请注意,我已删除大部分注释掉的行以使其更短):

    \documentclass[journal]{IEEEtran}
\usepackage{cite}
\usepackage[utf8]{inputenc}

% *** GRAPHICS RELATED PACKAGES ***
%
\ifCLASSINFOpdf
  % \usepackage[pdftex]{graphicx}
  % declare the path(s) where your graphic files are
  % \graphicspath{{../pdf/}{../jpeg/}}
  % and their extensions so you won't have to specify these with
  % every instance of \includegraphics
  % \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\else
  % or other class option (dvipsone, dvipdf, if not using dvips). graphicx
  % will default to the driver specified in the system graphics.cfg if no
  % driver is specified.
  % \usepackage[dvips]{graphicx}
  % declare the path(s) where your graphic files are
  % \graphicspath{{../eps/}}
  % and their extensions so you won't have to specify these with
  % every instance of \includegraphics
  % \DeclareGraphicsExtensions{.eps}
\fi

\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[justification=centering]{caption}
\usepackage{enumerate}% http://ctan.org/pkg/enumerate\textbf{•}
\usepackage{url}
\newcommand{\mytilde}{\raise.17ex\hbox{$\scriptstyle\mathtt{\sim}$}}
\newcommand{\DRAFT}{~}
\thispagestyle{empty}

% correct bad hyphenation here
\hyphenation{op-tical net-works semi-conduc-tor}

\begin{document}
%
\title{Brown Chicken, Brown Cow!}

\author{xxxxxx,} \linebreak
        yyyyyy} and \linebreak
        zzzzzz.}}% <-this % stops a space

% The paper headers

\markboth{Journal of \LaTeX\ Class Files,~Vol.~11, No.~4, December~2012}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals}

\maketitle

\begin{abstract}
dddddd \cite{huston2006}
\end{abstract}

% Note that keywords are not normally used for peerreview papers.
\begin{IEEEkeywords}
ffffff
\end{IEEEkeywords}


\IEEEpeerreviewmaketitle

\section{Introduction}
\label{Introduction}
\input{introduction.tex}

\section{Background}
\label{Background}
\input{background.tex}

\section{Software Implementation}
\label{Software Implementation:}
\input{SoftwareImplementation.tex}

\section{Results}
\label{sec-Results}
\input{Analysis.tex}

\section{Cost Profile}
\label{Cost-Comparison}
\input{CostComparison.tex}

\section{Implementation Analysis}
\label{Implementation-Analysis}
\input{ImplementationAnalysis.tex}

\pagebreak

\section{Conclusion and Future Work}
\label{ConclusionFutureWork}
\input{ConclusionFutureWork.tex}

\appendices
\section{Proof of the First Zonklar Equation}
Appendix one text goes here.

\section{}
Appendix two text goes here.

% use section* for acknowledgement
\section*{Acknowledgment}

The authors would like to thank...

% Can use something like this to put references on a page
% by themselves when using endfloat and the captionsoff option.
\ifCLASSOPTIONcaptionsoff
  \newpage
\fi

% references section

% can use a bibliography generated by BibTeX as a .bbl file
% BibTeX documentation can be easily obtained at:
% http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/
% The IEEEtran BibTeX style support page is at:
% http://www.michaelshell.org/tex/ieeetran/bibtex/
%\bibliographystyle{IEEEtran}
% argument is your BibTeX string definitions and bibliography database(s)
%\bibliography{IEEEabrv,../bib/paper}
%
% <OR> manually copy in the resultant .bbl file
% set second argument of \begin to the number of references
% (used to reserve space for the reference number labels box)
%\begin{thebibliography}{1}

%\bibitem{IEEEhowto:kopka}
%H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
%  0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.

%\end{thebibliography} 


%\bibliographystyle{IEEEtran}
\bibliography{mySources}


% that's all folks
\end{document}

你看这个 tex 文件,我已经根据自己的需要对其进行了编辑。除了参考书目部分,其他一切都正常。我创建了一个。围兜文件名我的资料来源.bib并将其放在同一目录作为裸露的_jrnl.tex. 内容我的资料来源.bib看起来像:

@inproceedings{huston2006,
 author               = {G. Huston},
 booktitle            = {Proceedings of APNIC 21},
 month                = {March},
 title                = {{2005 - A BGP Year in Review}},
 year                 = {2006},
 } 

还有许多其他参考资料;但我省略了它们。现在当我使用时\cite{huston2006},我只得到一个而不是参考编号。我不知道这里发生了什么。

我在 Windows 7 中使用 Texmaker 3.3.2。对于快速构建(在 Texmaker 中),我使用了以下命令:PdfLatex + Asymptote + PdfLatex + 查看 Pdf

生成 PDF 文件后快速构建,我只得到一个而不是参考编号,而是警告:引文 huston2006 第 1 页 undefined。请帮帮我。我不知道该如何解决这个烂摊子。

再见。

相关内容