未显示参考书目

未显示参考书目

我目前正在撰写我的博士论文,但在将参考书目纳入其中时遇到了麻烦。我尝试了许多不同的方法(更改编译参数、使用软件包natbibbibtex\nocite{*}……),但似乎都不起作用。我尝试了最低版本的 latex,成功了,但是当包含代码的整个前言时,参考书目没有显示出来。

这是我的代码的序言。

\documentclass[12pt,a4paper, openany]{book}
\usepackage[T1]{fontenc}
\usepackage{amsfonts}
\usepackage{dsfont}
%\usepackage[latin1]{inputenc}
\usepackage[french,english]{babel}
\usepackage{graphicx} % For commande \includegraphics
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor} %% To color in violet the text
\frenchspacing
\usepackage[absolute]{textpos} % to place elements in the page
\usepackage{multicol} % To write summary in two columns-mode
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{calc} % To calculate textwidth
\usepackage[margin=1in]{geometry}
%\RequirePackage{geometry}% That nicely create a one-page template
%\geometry{textheight=150ex,textwidth=40em,top=30pt,headheight=30pt,headsep=30pt,inner=80pt}
\usepackage{tikz} %% Make the square.
\usepackage{float}
\usepackage[flushleft]{threeparttable}
\usepackage{bm}
\usepackage{pgfplots}
\usepackage{makecell}
\usepackage{setspace}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{subcaption}
\pagestyle{plain}
\setlength\parindent{0pt}
\usepackage[hidelinks]{hyperref}
\hypersetup{
    colorlinks=false, %set true if you want colored links
    linktoc=all,     %set to all if you want both sections and subsections linked
    linkcolor=black,  %choose some color if you want links to stand out
}
\usepackage[toc,page]{appendix}

\usepackage{epsfig}

\usepackage{natbib} % Bibliographie avancée (parenthèses, citep...)
\usepackage{hyperref} % Liens hypertextes, signets PDF
  \hypersetup{urlcolor=blue,linkcolor=black,citecolor=black,colorlinks=true} 

%  \newcommand{\textcite}[1]{(#1)}

\begin{document}

\nocite{*}
\bibliographystyle{aiaa}
\bibliography{biblio}

\end{document}

答案1

嗯,你的问题不太清楚。例如,你忘了在问题中添加一些 bib 条目。

我构建了一个 MWE,将一个bib带有包的文件包含filecontents到 MWE 中,并将对包的两个调用移至hyperref最后调用的包。我注释掉了对hyperref和的第一个调用\hypersetup

因为我不确定您是否使用latexpdflatex进行编译,所以我选择了pdflatex,因此注释掉了epsfig

使用以下 MWE

\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Article{Wren,
  author  = "Wren C. and Azarbayejani A.",
  title   = {Pfinder: real-time tracking of the human body},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  number  = {7},
  year    = {1997},
  volume  = {19},
  pages   = {780-785},
}
@InProceedings{Kim,
  author    = "Kim H. and Sakamoto R. and Kitahara I. and 
               Toriyama T. and Kogure K. ",
  title     = {Robust foreground extraction technique using Gaussian 
               family model and multiple thresholds},
  booktitle = {Asian Conference on Computer Vision, ACC 2007},
  OPTpages  = {758-768},
  year      = {2007},
  OPTmonth  = {Nov.},
}
@InProceedings{Stauffer,
  author    = "Stauffer C. and Grimson E. ",
  title     = {Adaptive background mixture models for real-time tracking}, 
  booktitle = {IEEE Conference on Computer Vision and Pattern Recognition, CVPR},
  OPTpages  = {246-252},
  year      = {1999},
}
@InProceedings{Elgammal,
  author    = " Elgammal, Ahmed and David Harwood and Larry Davis",
  title     = {Non-parametric model for background subtraction}, 
  booktitle = {Computer Vision ECCV 2000},
  OPTpages  = {751-767},
  year      = {2000},
}
@InProceedings{Mittal,
  author    = "Mittal, Anurag and Nikos Paragios",
  title     = {Motion-based background subtraction using adaptive kernel density estimation }, 
  booktitle = {Computer Vision and Pattern Recognition, CVPR 2004},
  OPTpages  = {704-711},
  year      = {2004},
  OPTvolume = {2},
  OPTmonth  = {June},
}
@Article{K,
  author  = "Kim K. and Chalidabhongswe T.H and Harwood D.",
  title   = {Real-time foreground-background segmentation using codebook model},
  journal = {Real  Time Imaging},
  number  = {3},
  year    = {2005},
  volume  = {11},
  pages   = {172-185},
}
@InProceedings{Doshi,
  author    = "A. Doshi and M. Trivedi ",
  title     = {Hybrid cone-cylinder codebook model for foreground 
               detection with shadow and highlight suppression}, 
  booktitle = {Video and Signal Based Surveillance,AVSS '06},
  OPTpages  = {764-771},
  year      = {2006},
  OPTmonth  = {Nov.},
}
@Article{Hu,
   author =   " H. Hu and L. Xu and H. Zhao",
   title =   {A spherical codebook in YUV color space for moving object detection},
   journal =   {Sensor Lett.},
   number = {1},
   year =   {2012},
   volume =   {10},
   pages =   {177-189},
}
@InProceedings{Sigari,
  author    = "Sigari, Mohamad Hoseyn and Mahmood Fathy",
  title     = {Real-time background modeling/subtraction using two-layer codebook model}, 
  booktitle = {International MultiConference of Engineering and Computer Scientists},
  OPTpages  = {764-771},
  volume    = {1},
  year      = {2008},
  OPTmonth  = {Nov.},
}
@Article{Barnich,
  author  = "Barnich, Olivier and Marc Van Droogenbroeck",
  title   = {Vibe: A universal background subtraction algorithm for video sequences},
  journal = {IEEE Transaction on Image Processing},
  number  = {6},
  year    = {2011},
  volume  = {20},
  pages   = {1709-1724},
}
@InProceedings{Lin,
  author    = "Geng-Cheng Lin and SSheng-Chih Yang and Chuin-Mu Wang and Che-Fu Lin",
  title     = {Background Subtraction Based on Codebook Model and Texture Feature}, 
  booktitle = {International Symposium on Computer, Consumer and control},
  OPTpages  = {498-501},
  volume    = {1},
  year      = {2016},
  OPTmonth  = {Nov.},
}
@InProceedings{Badal,
  author    = "Tapas Badal and Neeta Nain and Mushtaq Ahmed and Vishakha Sharma",
  title     = {An Adaptive Codebook Model for Change Detection with Dynamic Background}, 
  booktitle = {11th International Conference on Signal-Image Technology and Internet-Based Systems },
  OPTpages  = {110-116},
  volume    = {1},
  year      = {2015},
  OPTmonth  = {Nov.},
}
@Article{Bouwmans,
  author  = "Thierry Bouwmans",
  title   = {Traditional and recent approaches in background modeling 
             for foreground detection: An overview},
  journal = {COMPUTERSCIENCE REVIEW11},
  number  = {2},
  year    = {2014},
  volume  = {12},
  pages   = {31-66},
}
\end{filecontents*}


\documentclass[12pt,a4paper, openany]{book}

\usepackage[T1]{fontenc}
%\usepackage[latin1]{inputenc}

\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{dsfont}

\usepackage[french,english]{babel}
\usepackage{graphicx} % For commande \includegraphics
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor} %% To color in violet the text
\frenchspacing
\usepackage[absolute]{textpos} % to place elements in the page
\usepackage{multicol} % To write summary in two columns-mode
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{calc} % To calculate textwidth
\usepackage[margin=1in]{geometry}
%\RequirePackage{geometry}% That nicely create a one-page template
%\geometry{textheight=150ex,textwidth=40em,top=30pt,headheight=30pt,headsep=30pt,inner=80pt}
\usepackage{tikz} %% Make the square.
\usepackage{float}
\usepackage[flushleft]{threeparttable}
\usepackage{bm}
\usepackage{pgfplots}
\usepackage{makecell}
\usepackage{setspace}

\usepackage{caption}
\usepackage{subcaption}
\pagestyle{plain}
\setlength\parindent{0pt}

\usepackage[toc,page]{appendix}

%\usepackage{epsfig}  % <=========================================================

%\usepackage{natbib} % Bibliographie avancée (parenthèses, citep...)

%\usepackage[hidelinks]{hyperref} % <================================================
%\hypersetup{
    %colorlinks=false, %set true if you want colored links
    %linktoc=all,     %set to all if you want both sections and subsections linked
    %linkcolor=black,  %choose some color if you want links to stand out
%}
\usepackage{hyperref} % Liens hypertextes, signets PDF
\hypersetup{urlcolor=blue,linkcolor=black,citecolor=black,colorlinks=true} 

%  \newcommand{\textcite}[1]{(#1)}

\begin{document}

\nocite{*}
\bibliographystyle{aiaa}
\bibliography{\jobname}

\end{document}

编译为

pdflatex mwe.tex
bibtex mwe
pdflatex mwe.tex
pdflatex mwe.tex

我得到以下结果:

在此处输入图片描述

请复制我的 MWE,在您自己的计算机上编译并检查结果。如果您想获得其他内容,请更改我的 MWE,更好地描述您需要的内容,并将更改后的 MWE 添加到您的问题中。请使用您的 bib 文件中的 bib 条目!

相关内容