如何开始使用 biblatex?

如何开始使用 biblatex?

我刚刚花了一个小时试图理解 Bibtex,但我发现很难找到简单的说明。我甚至读了一半的手册。我把它放在我的 LaTeX 文件中report.ex

% preamble

\usepackage[backend=biber]{biblatex}
\addbibresource{refs.bib}

% ...
% document

blaha \cite{guyton-hall}

\printbibliography

在 中refs.bib我输入:

@book{guyton-hall,
    author = {Guyton, Arthur C. and Hall, John E.},
    day = {01},
    edition = {11},
    howpublished = {Hardcover},
    isbn = {0721602401},
    keywords = {physiology},
    month = sep,
    publisher = {Elsevier Saunders},
    title = {Textbook of medical physiology},
    year = {2006}
}

现在怎么办?手册上提到了bibtex在我的 AUX 文件上运行,但 bibtex 却抱怨道:

$ bibtex report
This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
The top-level auxiliary file: report.aux
I found no \citation commands---while reading file report.aux
I found no \bibdata command---while reading file report.aux
I found no \bibstyle command---while reading file report.aux
(There were 3 error messages)

pdflatex report.tex运行几次后就会出现这种情况。我做错了什么?为什么这么难?

bibtex(当我使用biblatex和时为什么还要运行biber?)

答案1

您必须使用biber作为后端或(如果biber不可用)\usepackage[backend=bibtex8]{biblatex}在序言中发布。考虑使用 来latexmk编译您的.tex文档——它将自动检测是否bibtex应将biber用作后端。

也可以看看要切换到 biblatex 该怎么做?bibtex 与 biber 以及 biblatex 与 natbib 的比较

相关内容