为什么 Biblatex 无法工作并显示“出现问题 - 可能缺少 \item”

为什么 Biblatex 无法工作并显示“出现问题 - 可能缺少 \item”

我有这个 LaTeX 文档thesis.tex

\documentclass[12pt,a4paper]{report}

\usepackage[utf8]{inputenc}
\usepackage[czech]{babel}



\usepackage[
   backend=biber, babel=other   
]{biblatex}

\bibliography{library}


\begin{document}

Citing here \cite{ahu61} 

\begin{thebibliography}{99}


\printbibliography

\end{thebibliography}


\end{document}

这是 library.bib

@article{ahu61,
   author={Arrow, Kenneth J. and Leonid Hurwicz and Hirofumi Uzawa},
   title={Constraint qualifications in maximization problems},
   journal={Naval Research Logistics Quarterly},
   volume={8},
   year = 1961,
   pages = {175-191}
 }

当我运行pdflatex thesisbiber thesis然后pdflatex thesis再次运行时,出现此错误:

(./thesis.aux) (./thesis.bbl) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.
map}] [2]

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.24

?

这是什么意思?我该怎么办?

我正在使用通过 apt-get 安装的 ubuntu 包。

答案1

该环境thebibliography仅用于“手动输入”书目。\printbibliography你肯定不需要它。

因此,删除\begin{thebibliography}{99}\end{thebibliography}

相关内容