我的 .bib 文件总是出现 3 个错误。如何修复?

我的 .bib 文件总是出现 3 个错误。如何修复?

每当我以以下方式运行我的文件时:report.tex pdflatex report.tex bibtex report.texpdflatex x2 我收到这些错误:这是 BibTeX,版本 0.99d(MiKTeX 2.9.6350 64 位)顶级辅助文件:report.aux 我在读取文件 report.aux 时未找到 \citation 命令我在读取文件 report.aux 时未找到 \bibdata 命令我在读取文件 report.aux 时未找到 \bibstyle 命令(有 3 条错误消息我的 latex 文件如下所示:

\documentclass[12pt,a4paper]{article}
\usepackage{amsfonts}
\usepackage[utf8]{inputenc}
\usepackage{amssymb} 
\usepackage{amsmath}
\usepackage{cite}
\usepackage{varwidth}
\usepackage{algcompatible}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
 \usepackage{algorithm}
 \usepackage{varwidth}
 \usepackage[noend]{algpseudocode}
 \usepackage{listings}
 \usepackage[nopar]{lipsum}
 \usepackage[export]{adjustbox}
 \begin{document}
 \begin{titlepage}
 \pagenumbering{gobble}
 \clearpage

 \title{\bfseries Neighbourhood Analysis of \\ Naive Sphere Points}
 \author{ \\ \\ \\ \\ \\ \\\bfseries Tushar Chandra\\ \\
     Mentored By\\ \\
 \bfseries Dr. Ranita Biswas }
 \maketitle
 \end{titlepage}
 \pagenumbering{gobble}
 \clearpage
 \section*{}
 \begin{center}

 \huge{Department of Computer Science and Engineering}\\[0.5cm]
 \normalsize
 \textsc{Indian Institute of Technology Roorkee}\\[2.0cm]

 \emph{\LARGE Certificate}\\[2.5cm]
 \end{center}
 \normalsize This is to certify that, Tushar Chandra, student of B.Tech has 
  succesfully completed his summer research project on the topic \textit{ 
  Analysis of Naive Sphere Points} under my guidance.\\[1.0cm]
  \begin{flushright}
  \vfill
  Dr. Ranita Biswas\\
  Assistant Professor,\\
  Dept. of Comp. Sc.,\\
  IIT Roorkee\\
  \end{flushright}
  \begin{flushleft}
  Date:
 \end{flushleft} 
 \newpage         
 \pagenumbering{gobble}               
 \clearpage 

 \section{Main}
 We can see that number of voxels having 8-neighbours are the least and even 
 0 for many values of radius while number of voxels having 7-neighbours show 
 extreme decrease and increase in values. The spikes in no. of voxels having 
 6-neighbours keeps on increasing with increasing radius and the highest 
 peak in observed at radius=49.The highest peak for voxels having 7 
 neighbours and 8 neighbours are observed at radius=48.


\newpage
\section*{REFERENCE}
\nocite{*}
\bibliography{mybib.bib}
\bibliographystyle{plain}
\end{document}

* bib file
  @PhdThesis{one,
  author    =   {Dr. Ranita Biswas},
  title     =   {On Discretization of Sphere and Related Problems in 3D 
  Integer Space(PhD Thesis)},
  school    =   {Indian Institute of Technology, Kharagpur},
  year      =   {2016},
  }
  @InCollection{two,
  author    =   {Ranita Biswas and Partha Bhowmick},
  title     =  {On the Functionality and Usefulness of Quadraginta Octants 
  of Naive Sphere},
  booktitle =   {Journal of Mathematical Imaging and Vision},
  year      =   {2017},
  publisher =   {Springer}
  }

  @Article{three,
  author    =   {Ranita Biswas, Partha Bhowmick and Valentin E. Brimkov},
  title     =   {On the Polyhedra of Graceful Spheres and Circular 
                 Geodesics},
  journal   =   {Discrete Applied Mathematics},
  volume    =   {216, Part 2},
  pages     =   {362--375},
  year      =    {2016},
  }
  @Article{four,
  author    =   {Ranita Biswas, Partha Bhowmick},
  title     =   {On different topological of spherical geodesic paths and 
  circles in Z^{3}},
  journal   =   {Theoretical Computer Science},
  volume    =   {605},
  pages     =   {146--163},
  year      =   {2015},
  }

  @Article{five,
  author    =   {Ranita Biswas and Partha Bhowmick},
  title     =   {From prima quadraginta octant to lattice sphere through 
                 primitive integer operations},
  journal   =   {Theoretical Computer Science},
  volume    =   {624},
  pages     =   {56--72},
  year      =   {2016},
  }

  @article{six,
  author    =   {Cohen-Or,D., Kaufman},
  title     =   {A.: Fundamentals of surface voxelization.},
  journal   =   {Graph. Models Image Process. },
  volume    =   {57(6)},
  pages     =   {453--461},
  year      =   {1995},
  }

  @Article{seven,
  author    =   {Klette, R., Rosenfeld},
  title     =   {A.: Digital Geometry: Geometric Methods for Digital Picture 
                 Analysis},
  journal   =   {Morgan Kaufmann, San Francisco},
  year      =   {2004},
  }

我已经花了四个小时在网上寻找,但没有任何效果。

答案1

请查看https://tex.stackexchange.com/a/559/36296您的 bib 文件中的许多作者姓名插入不正确,因此在输出中显示严重错误 - 例如 Reinhard Klette 和 Azriel Rosenfeld 是两个人,而不是“RA Rosenfeld Klette”。还有其他问题现已修复:例如,文章不是incollection,书籍不是article。使用 Google Scholar 进行一些检查足以找到正确的引文。

您不能^{3}在数学模式之外使用;不应改变大写的内容应该用括号括起来。我还从您使用的软件包组合中得到了错误——必须删除algorithm它才能进行编译。

mybib.bib文件

@PhdThesis{one,
  author    = {Ranita Biswas},
  title     = {On Discretization of Sphere and Related Problems in {3D} Integer Space},
  school    = {Indian Institute of Technology, Kharagpur},
  year      = {2016},
}
@article{two,
  author    = {Ranita Biswas and Partha Bhowmick},
  title     = {On the Functionality and Usefulness of Quadraginta Octants of Naive Sphere},
  journal   = {Journal of Mathematical Imaging and Vision},
  year      = {2017},
  pages     = {69-83},
  }

@Article{three,
  author    = {Ranita Biswas and Partha Bhowmick and Valentin E. Brimkov},
  title     = {On the Polyhedra of Graceful Spheres and Circular Geodesics},
  journal   = {Discrete Applied Mathematics},
  volume    = {216, Part 2},
  pages     = {362--375},
  year      = {2016},
}
@Article{four,
  author    = {Ranita Biswas and Partha Bhowmick},
  title     = {On different topological of spherical geodesic paths and circles in {$Z^{3}$}},
  journal   = {Theoretical Computer Science},
  volume    = {605},
  pages     = {146--163},
  year      = {2015},
}

@Article{five,
  author    = {Ranita Biswas and Partha Bhowmick},
  title     = {From prima quadraginta octant to lattice sphere through 
               primitive integer operations},
  journal   = {Theoretical Computer Science},
  volume    = {624},
  pages     = {56--72},
  year      = {2016},
}

@article{six,
  author    = {Cohen-Or, D. and Kaufman, A.},
  title     = {Fundamentals of surface voxelization},
  journal   = {Graphical Models and Image Processing},
  volume    = {57},
  number    = {6},
  pages     = {453--461},
  year      = {1995},
}

@book{seven,
  author    = {Klette, R. and Rosenfeld, A.},
  title     = {Digital geometry: {Geometric} methods for digital picture analysis},
  year      = {2004},
  publisher = {Elsevier}
}

test.tex文件

\documentclass{article}
\usepackage{amsfonts}
\usepackage[utf8]{inputenc}
\usepackage{amssymb} 
\usepackage{amsmath}
\usepackage{cite}
\usepackage{varwidth}
\usepackage{algcompatible}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
% \usepackage{algorithm}
\usepackage{varwidth}
\usepackage[noend]{algpseudocode}
\usepackage{listings}
\usepackage[nopar]{lipsum}
\usepackage[export]{adjustbox}

\begin{document}
\nocite{*}
\bibliography{mybib}
\bibliographystyle{plain}
\end{document}

输出

在此处输入图片描述

相关内容