\addbibresource 使用 MikTex 未定义控制序列

\addbibresource 使用 MikTex 未定义控制序列

我正在使用最新版本的 MikTex,它附带了 biblatex,但我无法让 biblatex 工作。它在序言中中断:

\documentclass[a4paper,12pt]{scrartcl}
\usepackage{hyperref}
\usepackage[style=authoryear]{biblatex}
\addbibresource{soarBib.bib}
\title{A title}
\subtitle{Some Subtitle}
\author{Nate Glenn}
\date{May 16, 2011}
\begin{document}

错误如下:

! Undefined control sequence.
<recently read> \addbibresource
l.5 \addbibresource
{soarBib.bib}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! LaTeX Error: Missing \begin{document}.
...

! Package biblatex Error: File 'literatureReview.bbl' not created by biblatex.
See the biblatex package documentation for explanation.

答案1

问题是 mikTeX 2.8 中不包含 biblatex。通过更新到 2.9 解决了这个问题。

相关内容