丢失的参考文献列表

丢失的参考文献列表

LaTeX 文件:

\documentclass[a4paper]{article}

\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{csquotes}% Recommended

\usepackage[style=authoryear-ibid,backend=biber]{biblatex}

\addbibresource{sample.bib}% Syntax for version >= 1.2

\title{A simple example showing how to create Harvard style referencing in LaTeX}
\author{WriteLaTeX}
\date{}

\begin{document}
\maketitle

\begin{abstract}
The following examples show how to produce Harvard style referencing using biblatex.
\end{abstract}

\section*{Citation examples}

\begin{enumerate}
\item A citation command in parentheses: \parencite{Smith:2012qr}.
\item A citation command for use in the flow of text: As \textcite{Smith:2013jd} said \dots
\item A citation command which automatically switches style depending on location and the option setting in the package declaration (see line 12 in the LaTeX source code). In this case, it produces a citation in parentheses: \autocite{Other:2014ab}.
\end{enumerate}

\printbibliography

\end{document}

.bib 文件:

@BOOK{Smith:2012qr,
    title = {{B}ook {T}itle},
    publisher = {Publisher},
    author = {Smith, J.~M. and Jones, A.~B.},
    year = {2012},
    edition = {7th},
}

@ARTICLE{Smith:2013jd,
    author = {Jones, A.~B. and Smith, J.~M.},
    title = {{A}rticle {T}itle},
    journal = {Journal title},
    year = {2013},
    volume = {13},
    pages = {123-456},
    number = {52},
    month = {March},
    publisher = {Publisher}
}

@BOOK{Other:2014ab,
    title = {{B}ook {T}itle},
    publisher = {Publisher},
    author = {Other, A.~N.},
    year = {2014},
    edition = {10th},
}

结果应该是这样的:

在此处输入图片描述

我为什么会得到这样的结果?

在此处输入图片描述

谢谢!

答案1

我曾经这样做过:

Latex 文件


\documentclass{article}
\usepackage{natbib}
\bibliographystyle{agsm}

\begin{document}

Try one.... \citep{sipser2006introduction}
Try two..... \citep{divincenzo2000physical}

\bibliography{sample}% without extension .bib
\end{document}

Bib 文件 (sample.bib)


@book{sipser2006introduction,
  title={Introduction to the Theory of Computation},
  author={Sipser, Michael and others},
  volume={2},
  year={2006},
  publisher={Thomson Course Technology Boston}
}

@article{divincenzo2000physical,
  title={The physical implementation of quantum computation},
  author={DiVincenzo, David P},
  journal={Fortschritte der Physik: Progress of Physics},
  volume={48},
  number={9-11},
  pages={771--783},
  year={2000},
  publisher={Wiley Online Library}
}

我得到了这样的结果..

在此处输入图片描述

如果 latex 无法打开 .aux 文件,请交替按 F6 和 F11。

谢谢..))

相关内容