我遇到了以下问题,几个小时都找不到解决方案。我尝试使用bliblatex
,但没有[backend=bibtex]
它就不起作用,它说:
! Undefined control sequence. <argument> ...docsvlist \expandafter {\bbl@loaded }\ifboolexpr { not test {\... l.13 \begin{document} 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.
我使用了 PDFLaTeX -> BibTex -> PDFLaTeX。BibTex 说:
流程已启动
This is BibTeX, Version 0.99d (MiKTeX 2.9) The top-level auxiliary file: text.aux I found no \citation commands---while reading file text.aux I found no \bibdata command---while reading file text.aux I found no \bibstyle command---while reading file text.aux (There were 3 error messages) Process exited normally
我的代码:
\documentclass[12pt,a4paper]{scrartcl}
\usepackage[utf8]{inputenc} % UTF8
\usepackage[ngerman]{babel} % Deutsch
\usepackage[T1]{fontenc} % Umlaute für deutsche Sprache erlaubt
\usepackage{times} % biegt die Schriftarten schöner um
\usepackage{csquotes} %benötigt für biblatex
%\usepackage[backend=bibtex]{biblatex}
\usepackage{biblatex}
\addbibresource{bibliography.bib}
\begin{document}
Text
\cite{KU}
\cleardoublepage
\addcontentsline{toc}{section}{Literaturverzeichnis}
\end{document}
我的 bibliography.bib 是:
@book{KU,
author = {Kant, Immanuel},
title = {Werkausgabe},
publisher = {Hg. v. Wilhelm Weischedel. Suhrkamp},
address = {Frankfurt am Main},
year = {1974},
}
我对 LaTeX(和 Texmaker)或多或少还不熟悉,所以很可能我错过了一些显而易见的东西。
我读到过,UTF8 或语言包可能存在问题。我甚至删除了 .bib 中的德语“ö”和“ä”。
感谢您的帮助!
答案1
正如您在一条评论中提到的,您正在使用 MIKTeX 版本3.1415926-2.3-1.40.12
。MiKTeX 的当前版本是版本3.1415926-2.3-1.40.17
,因此您的 MiKTeX 不是最新的!
请更新您的 TeX 发行版!最好安装完整的 MiKTeX,这样您运行起来就没问题了biber
...
答案2
我认为你应该试试这个
\documentclass[12pt,a4paper]{scrartcl}
\usepackage[utf8]{inputenc} % UTF8
\usepackage[ngerman]{babel} % Deutsch
\usepackage[T1]{fontenc} % Umlaute für deutsche Sprache erlaubt
\usepackage{times} % biegt die Schriftarten schöner um
\usepackage{csquotes} %benötigt für biblatex
\usepackage{biblatex}
\begin{document}
Text
\cite{KU}
\cleardoublepage
\addcontentsline{toc}{section}{Literaturverzeichnis}
\bibliographystyle{siam} % change siam to whatever style you like
\bibliography{bibliography}
\end{document}
然后 PDFLaTeX -> BibTex -> PDFLaTeX
希望对你有帮助。