嗨,我基本上想使用biblatex
而不是apacite
。当我尝试运行以下代码时,它根本无法运行:
\begin{filecontents}{myref.bib}
@ARTICLE{ref1,
author = "A. E. Gill",
title = "Some Simple Solutions for Heat-Induced Tropical Circulation",
journal = "Quart. J. R. Met. Soc.",
volume = 106,
year = 1980,
pages = "447-462",
}
@BOOK{TeX,
author = "D. E. Knuth",
title = "The \tex/book",
publisher = "Addison-Wesley",
year = 1984,
note = "Describes \tex/ in detail",
}
\end{filecontents}
\documentclass{article}
\usepackage[style=apa, backend=bibtex]{biblatex}
%\usepackage[american]{babel}
%\DeclareLanguageMapping{american}{american-apa}
\bibliography{myref}
\title{Example Title}
\author{Author Name}
\begin{document}
\maketitle
First line.
Reference is \textcite{ref1} and \cite{TeX}.
\printbibliography
\end{document}
当我删除 时backend=bibtex
,它会给出输出,但不是 而是"Reference is Gill (1980) ..."
写入:"Reference is ref1 ..."
。这里可能有什么问题?
更新:经过一番折腾,我发现(当然是在评论的帮助下)问题出在我的系统上,我猜 biber 仍然有问题。以下是我解决问题的方法: