比贝尔竞选失败

比贝尔竞选失败

我目前正在完成我的学士论文,但在引用方面遇到了一些麻烦。不知何故,每当我尝试引用任何内容时,TexStudio 都会冻结几秒钟,然后显示错误消息。我之前确实成功地使用参考书目(从 Zotero 导出)构建和编译了文档,直到现在才遇到此问题。重新安装最新的 TexLive 发行版和 TexStudio 后,问题仍然存在。之前无缝编译的文档现在冻结了,我收到以下错误:

    No file galvanik_pressler_marzemin.bbl.
    Citation 'shen_growth_2008' on page 9 undefined
    Overfull \hbox (33.48036pt too wide) in paragraph
    Empty bibliography
    There were undefined references.
    Please (re)run Biber on the file:(biblatex) galvanik_pressler_marzemin(biblatex) and rerun LaTeX afterwards.

The messages while running build&view are these

    Process started: biber.exe "galvanik_pressler_marzemin"

    Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "galvanik_pressler_marzemin".tex

    Process exited normally

所以我确实知道 Biber 被运行了。我真的不知道它为什么会出问题。有什么想法吗?

编辑:

我找到了原始未动过的文档文件的本地备份,我用它编译了我的最新协议之一(包括书目)。当我尝试再次构建和查看时,文档无法编译,并且出现了这些错误。

Use of \sortlist doesn't match its definition. \sortlist{
Extra }, or forgotten \endgroup. \sortlist{none}
Undefined control sequence. \entry{shen_growth_2008}{article}{}
Undefined control sequence. \endentry
Undefined control sequence. \endentry
Extra \endgroup. \begin{document}

Citation 'shen_growth_2008' on page 10 undefined
Overfull \hbox (33.48036pt too wide) in paragraph
Empty bibliography
There were undefined references.
Label(s) may have changed. Rerun to get cross-references right.
Please (re)run Biber on the file:(biblatex) galvanik_pressler_marzemin(biblatex) and rerun LaTeX afterwards.

此外,.bbl 文件告诉我

% $ biblatex auxiliary file $
% $ biblatex bbl format version 2.5 $
% Do not modify the above lines!
%
% This is an auxiliary file used by the 'biblatex' package.
% This file may safely be deleted. It will be recreated by
% biber as required.
%
\begingroup
\makeatletter
\@ifundefined{[email protected]}
  {\@latex@error
     {Missing 'biblatex' package}
     {The bibliography requires the 'biblatex' package.}
      \aftergroup\endinput}
  {}
\endgroup

这到底是怎么回事?

编辑2:

我从原始文件中删除了旧的 .bbl 文件,然后尝试再次运行。它最终在 30 秒后编译成功,但引用被搞砸了,没有创建 .bbl 文件。.blg 文件显示此

[0] Config.pm:324> INFO - This is Biber 2.1
[0] Config.pm:327> INFO - Logfile is 'galvanik_pressler_marzemin.blg'
[51] biber-MSWIN:273> INFO - === %a %b %e, %Y, %H:%M:%S
[52] Biber.pm:333> INFO - Reading 'galvanik_pressler_marzemin.bcf'
[263] Biber.pm:645> INFO - Found 1 citekeys in bib section 0
[304] Biber.pm:2977> INFO - Processing section 0
[343] Biber.pm:3115> INFO - Looking for bibtex format file 'galvanik_prot.bib' for section 0
[356] bibtex.pm:1021> INFO - Decoding LaTeX character macros into UTF-8
[364] bibtex.pm:895> INFO - Found BibTeX data source 'galvanik_prot.bib'
[409] UCollate.pm:66> INFO - Overriding locale 'de-DE' defaults 'variable = shifted' with 'variable = non-ignorable'
[409] UCollate.pm:66> INFO - Overriding locale 'de-DE' defaults 'normalization = NFD' with 'normalization = prenormalized'
[409] Biber.pm:2854> INFO - Sorting list 'none' of type 'entry' with scheme 'none' and locale 'de-DE'
[409] Biber.pm:2858> INFO - No sort tailoring available for locale 'de-DE'
[411] bbl.pm:505> INFO - Writing 'galvanik_pressler_marzemin.bbl' with encoding 'UTF-8'
[423] bbl.pm:596> INFO - Output to galvanik_pressler_marzemin.bbl

编辑3:

我尝试运行一个最小设置(Texstudio 中的标准参考书目是 Biber)(我的 Dropbox 上有 1 个条目的 bib 文件)参考书目和此代码

\documentclass{scrartcl}

\usepackage[english]{babel}% Recommended
\usepackage{csquotes}% Recommended

\usepackage[style=numeric,backend=biber]{biblatex}

% \bibliography{<mybibfile>}% ONLY selects .bib file; syntax for version <= 1.1b
\addbibresource{biblio_test.bib}% Syntax for version >= 1.2

\begin{document}

A bare citation command: \cite{liu_class_2014}.

A citation command for use in the flow of text: As \textcite{liu_class_2014} said \dots

\printbibliography

\end{document}

等待一分钟后,错误日志显示

No file test.bbl.
Citation 'liu_class_2014' on page 1 undefined
Citation 'liu_class_2014' on page 1 undefined
Empty bibliography
There were undefined references.
Please (re)run Biber on the file:(biblatex) test(biblatex) and rerun LaTeX afterwards.

我完蛋了吗?

编辑4:

上传了测试文件夹感谢 Ulrike。感谢您的耐心等待!

编辑5:

看来这确实是 biber 和 biblatex 的兼容性问题。在彻底重新格式化并安装完整的 MikTex distr 和 Texstudio 后,我设法让它再次工作。删除除 .tex 文件之外的所有文件后,编译再次有效。

编辑6:

我在下面几条评论中提到的问题,即在完全重新安装后无法编译某个特定文档,是由于某些文件名中的变音符号造成的。编辑后,它又可以正常工作了。

答案1

这可能是一个biblatex/biber兼容性问题。你似乎有biblatex3.4 和Biber2.1。biblatex提及

1.5.5 兼容性矩阵biber

biber版本与版本紧密相关biblatex。您需要正确组合两者。 biber如果遇到来自biblatex不兼容版本的信息,则会在处理过程中引发致命错误。表 1 显示了最新版本的兼容性矩阵。

并且根据表 1,3.4biblatex最适合与biber2.5 搭配。

相关内容