参考文献未打印

参考文献未打印

我正在处理一个 tex 文件。以前当我编译它时,即 Bibtex 和 PDFLatex,它曾经给出正确的结果。但现在在过去的几天里,我无法在我的 pdf 中看到参考文献。也就是说,当我编译我的 tex 时,它没有显示参考书目。这是我的例子。我的 bib 文件的名称是 amar.bib。我尝试了本网站上几乎所有的解决方案,但似乎都没有用。请帮我摆脱这个困境。提前谢谢!这是我的错误屏幕截图- 在此处输入图片描述

\documentclass[]{aiaa-tc}% insert '[draft]' option to show overfull boxes
\usepackage[crop=pdfcrop,
cleanup={.tex,.dvi,.ps,.pdf,.log}, process=all]{pstool}
%for using psfrags: all/auto
\usepackage{amsmath} 
\usepackage{caption} 
\usepackage{subcaption} 
\usepackage{float} %% to float figures
\DeclareMathOperator{\sgn}{sgn}
\usepackage{siunitx}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{natbib} 

 %%My document

\bibliography{amar} 
\bibliographystyle{aiaa}
%\printbibliography
\end{document}

以下是来自的两个示例条目amar.bib

@inproceedings{kim2006chattering,
  title        = "Chattering free sliding mode control",
  author       = "Kim, Kyoung Joo and Park, Jin Bae and Choi, Yoon Ho",
  booktitle    = "SICE-ICASE, 2006. International Joint Conference",
  pages        = "732--735",
  year         = 2006,
  organization = "IEEE",
}
@article{li2009dynamics,
  title        = "Dynamics modeling and simulation of flexible airships",
  author       = "Li, Yuwen and Nahon, Meyer and Sharf, Inna",
  journal      = "AIAA journal",
  year         = 2009,
  volume       = 47,
  number       = 3,
  pages        = "592--605",
}

答案1

文档aaai-tc类别要求将引用标注格式化为上标数字。因此:

  • natbib根本不加载包,或者

  • 如果必须加载natbib,请使用该选项加载super,以生成上标样式的引用标注。

\cite以下 MWE 编译良好;请注意和的使用\citen

\RequirePackage{filecontents}
\begin{filecontents}{amar-test.bib}
@article{li2009dynamics,
  title        = "Dynamics modeling and simulation of flexible
                  airships",
  author       = "Li, Yuwen and Nahon, Meyer and Sharf, Inna",
  journal      = "AIAA journal",
  year         = 2009,
  volume       = 47,
  number       = 3,
  pages        = "592--605",
}
@inproceedings{kim2006chattering,
  title        = "Chattering free sliding mode control",
  author       = "Kim, Kyoung Joo and Park, Jin Bae and Choi, Yoon
                  Ho",
  booktitle    = "SICE-ICASE, 2006. International Joint Conference",
  pages        = "732--735",
  year         = 2006,
  organization = "IEEE",
}
\end{filecontents}

\documentclass{aiaa-tc}
% [drastically simplified the preamble]
% \usepackage[super]{natbib} % <-- best no to load this package

\begin{document}
\cite{kim2006chattering,li2009dynamics} % superscript-style appearance

\citen{kim2006chattering,li2009dynamics} % for "no-superscript" appearance
\bibliographystyle{aiaa}
\bibliography{amar-test}
\end{document} 

相关内容