尝试编译条目时出现 BibTeX 错误

尝试编译条目时出现 BibTeX 错误
@ELECTRONIC{ios9,   
author = {{Apple Inc.},   
month = {September},  
year = {2015},   
title = {iOS Security},   
url = {https://ssl.apple.com/business/docs/iOS_Security_Guide.pdf/},  
timestamp = {2015.11.24}

由于以下错误,我无法使用此引文:

在此处输入图片描述

编辑:

文件前言:

\documentclass[conference,a4paper,twoside]{IEEEtran}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage{cite}
\usepackage[pdftex]{graphicx} 
\usepackage[cmex10]{amsmath}
\usepackage{url} 
\usepackage{hyperref} 
\usepackage{color}
\usepackage{wrapfig}

%\hyphenation{} %

\begin{document} \title{.....}
\author{\IEEEauthorblockN{......} \IEEEauthorblockA{.....,
HiG\\ Email: \texttt{.......}} }

编辑2:概述的情况

替代图片来源:图片

答案1

您发布的 bib 条目中有两个致命错误:(i) 字段末尾缺少结束花括号author,以及 (ii) 条目本身也需要结束结束花括号。另外,您还应该将字段括title在花括号中,以防止 BibTeX 将单词“iOS”小写。

修复之后,条目应如下所示:

@electronic{ios9,
  author = {{Apple Inc.}},
  month = {September},
  year = {2015},
  title = {{iOS Security}},
  url = {https://ssl.apple.com/business/docs/iOS_Security_Guide.pdf/},
  timestamp = {2015.11.24},
}

请务必重新运行 BibTeX 和 LaTeX 两次,以完全传播所有更改。


附录: 这平均能量损失下面产生以下输出——没有错误。请确保再运行 LaTeX、BibTeX 和 LaTeX 两次。

在此处输入图片描述

\RequirePackage{filecontents}
\begin{filecontents}{mytest.bib}
@electronic{ios9,
  author = {{Apple Inc.}},
  month  = {September},
  year   = {2015},
  title  = {{iOS Security}},
  url    = {https://www.apple.com/business/docs/iOS_Security_Guide.pdf/},
  timestamp = {2015.11.24},
}
\end{filecontents}

\documentclass[conference,a4paper,twoside]{IEEEtran}
    \usepackage[utf8]{inputenc}
    \usepackage[T1]{fontenc}
%    \usepackage{cite}
%    \usepackage{graphicx}
    \usepackage[cmex10]{amsmath}
%    \usepackage{color}
%    \usepackage{wrapfig}
    \usepackage{url}
    \usepackage{hyperref}

    %\hyphenation{} %

\begin{document} 
\nocite{*}
\bibliographystyle{IEEEtran}  
\bibliography{mytest}
\end{document}

相关内容