Texniccenter:Biber 找不到参考资料

Texniccenter:Biber 找不到参考资料

在一段时间忽略了 Windows 和 Texniccenter 之后,我现在正尝试设置我的 Windows 机器,以便也能使用我的 biber 文件。我当时正在关注这个非常广泛的答案

我的工作文件正是该工作示例,称为 LaTeX1.tex:

\documentclass{article}
\usepackage{filecontents}% http://ctan.org/pkg/filecontents
\usepackage[backend=biber]{biblatex}% http://ctan.org/pkg/biblatex

\begin{filecontents*}{references.bib}
@article{mybibkey,
    author = {A. Author},
    title = {Some amazing work of art},
    journal = {A fur realz journal},
    volume = {17},
    number = {3},
    year = {2013},
    pages = {1--99}
}
\end{filecontents*}
\addbibresource{references.bib}

\begin{document}
See~\cite{mybibkey}.

\printbibliography

\end{document}

但是,它无法编译。以下是我认为是日志文件的相关摘录:

Package biblatex Info: Trying to load configuration file...
Package biblatex Info: ... file 'biblatex.cfg' found.
 (C:\Users\sdaro\AppData\Roaming\MiKTeX\2.9\tex\latex\biblatex\biblatex.cfg
File: biblatex.cfg 
)))

LaTeX Warning: Overwriting file `./references.bib'.


Package biblatex Info: Trying to load language 'english'...
Package biblatex Info: ... file 'english.lbx' found.
(C:\Users\sdaro\AppData\Roaming\MiKTeX\2.9\tex\latex\biblatex\lbx\english.lbx
File: english.lbx 2015/04/19 v3.0 biblatex localization (PK/JW/AB)
)
\@quotelevel=\count206
\@quotereset=\count207

("C:\Users\sdaro\Google Drive\Cloud\PhD\Diverse\laborMacro\LaTeX1.aux")
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 19.
LaTeX Font Info:    ... okay on input line 19.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 19.
LaTeX Font Info:    ... okay on input line 19.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 19.
LaTeX Font Info:    ... okay on input line 19.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 19.
LaTeX Font Info:    ... okay on input line 19.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 19.
LaTeX Font Info:    ... okay on input line 19.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 19.
LaTeX Font Info:    ... okay on input line 19.
Package biblatex Info: No input encoding detected.
(biblatex)             Assuming 'ascii'.
Package biblatex Info: Automatic encoding selection.
(biblatex)             Assuming data encoding 'ascii'.
Package biblatex Info: Trying to load bibliographic data...
Package biblatex Info: ... file 'LaTeX1.bbl' not found.

No file LaTeX1.bbl.
Package biblatex Info: Reference section=0 on input line 19.
Package biblatex Info: Reference segment=0 on input line 19.

LaTeX Warning: Citation 'mybibkey' on page 1 undefined on input line 20.


LaTeX Warning: Empty bibliography on input line 22.

[1

{C:/Users/sdaro/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
("C:\Users\sdaro\Google Drive\Cloud\PhD\Diverse\laborMacro\LaTeX1.aux")

LaTeX Warning: There were undefined references.


Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                LaTeX1
(biblatex)                and rerun LaTeX afterwards.

以下是 LateX1.blg 的内容:

[0] Config.pm:361> INFO - This is Biber 1.5
[0] Config.pm:364> INFO - Logfile is 'C:\Users\sdaro\Google Drive\Cloud\PhD\Diverse\laborMacro\LaTeX1.blg'
[67] biber-MSWIN:190> INFO - === %a %b %e, %Y, %H:%M:%S
[67] Biber.pm:327> INFO - Reading 'C:\Users\sdaro\Google Drive\Cloud\PhD\Diverse\laborMacro\LaTeX1.bcf'
[136] Utils.pm:167> WARN - Warning: Found biblatex control file version 2.7, expected version 2.3
[137] Biber.pm:619> INFO - Found 1 citekeys in bib section 0
[156] Biber.pm:2976> INFO - Processing section 0
[174] Biber.pm:3086> INFO - Looking for bibtex format file 'references.bib' for section 0
[177] bibtex.pm:764> INFO - Found BibTeX data source 'references.bib'

我可以向你保证,在我的 Texniccenter 配置文件中,我将 bibtex 可执行文件的路径设置为C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\biber.exe命令行参数"%bm"

答案1

blg 中有警告

136] Utils.pm:167> WARN - Warning: Found biblatex control file version 2.7, expected version 2.3

此警告表明 biber 版本与 biblatex 版本不匹配。就您而言,biber 太旧了。

相关内容