![升级后缺少软件包?](https://linux22.com/image/303788/%E5%8D%87%E7%BA%A7%E5%90%8E%E7%BC%BA%E5%B0%91%E8%BD%AF%E4%BB%B6%E5%8C%85%EF%BC%9F.png)
我在 Ubuntu 下使用 LaTeX+Biber+Texmaker。我最近将 Ubuntu 从 12.10 升级到 14.10,之后我的一些 LaTeX 文档出现了一些问题。我认为问题可能是由于缺少 LaTeX 软件包造成的,因此我还安装了 texlive-full (http://packages.ubuntu.com/utopic/texlive-full),它将收集 Ubuntu 存储库中的所有 tex 包。错误日志返回一组错误,如下所示:
Package biblatex Info: Trying to load bibliographic data...
Package biblatex Warning: File 'phd_drupal_cbpp_confirmation.bbl' is wrong form
at version - expected 2.4.
Package biblatex Info: ... file 'phd_drupal_cbpp_confirmation.bbl' found.
(./phd_drupal_cbpp_confirmation.bbl
! Undefined control sequence.
<argument> ...refsection @entry@\blx@slist@scheme
l.41 \endentry
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.
! Undefined control sequence.
<argument> ...refsection @entry@\blx@slist@scheme
l.41 \endentry
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.
! Undefined control sequence.
<argument> ...refsection @entry@\blx@slist@scheme
l.61 \endentry
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.
! Undefined control sequence.
<argument> ...refsection @entry@\blx@slist@scheme
l.61 \endentry
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.
[...]
该文件正文如下:
\documentclass[a4paper,12pt, oneside]{report}
%% Include options to break urls
\usepackage[hyphens]{url}
\usepackage[style=apa, backend=biber, urldate=long]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\addbibresource{bibliography.bib}
\usepackage[british]{babel}
\usepackage{hyperref}
\usepackage[top=1in, left=1.5in, right=1in, bottom=1in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[usenames,dvipsnames]{color}
\usepackage{setspace}
\usepackage{titlepic}
\usepackage{graphicx}
\usepackage[nodayofweek]{datetime}
\usepackage{float}
\usepackage{booktabs}
\usepackage{tablefootnote}
\usepackage{multirow}
\usepackage{csquotes}
\usepackage{setspace}
% Ordinals and numbering
\usepackage[super]{nth}
\usepackage[gen]{eurosym}
%TO-DO: Check package dependencies
%\usepackage{siunitx}
%% Manual hyphenation
\hyphenation{fle-xi-bi-li-ty}
\hyphenation{qua-li-ty}
\hyphenation{em-pha-si-se}
%% Style
%% Paragraph settings
\setlength{\parskip}{0.9em}
% Checkmarks
\usepackage{tikz}
\def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;}
\usepackage{titlesec}
\setcounter{secnumdepth}{4}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
[...]
我发现最相似的问题是Biblatex 与 biber 后端一起使用会导致未定义的控制序列,但与 bibtex 后端一起使用则不会如此,但我不确定这是否与同一个问题有关。
对于可能存在什么问题您有什么想法吗?
非常感谢!
答案1
按照@Joseph Wright 的建议,删除辅助文件后解决了这个问题。升级版本后似乎有必要这样做。