当我尝试使用关键字编译引用时biber
%adapted from http://tex.stackexchange.com/questions/97218/how-to-automate-biber-within-texniccenter
\listfiles % shows used packages in a list in log file
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{author2000,
author = {AuthorA},
title = {Title of Article},
journal = {Name of Journal},
year = {2000},
keywords = {Key},
}
\end{filecontents*}
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage[%
style=authoryear
,backend=biber % to force biblatex to use biber
]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
Hello \nocite{*} % all bib entrys are printed
\printbibliography[keyword=Key]
\end{document}
但它总是失败:
>biber texmwe
INFO - This is Biber 1.7
INFO - Logfile is 'texmwe.blg'
INFO - Reading 'texmwe.bcf'
WARN - Warning: Found biblatex control file version 2.0, expected version 2.5
INFO - Using all citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'texmwe.bib' for section 0
Use of uninitialized value in string eq at C:\Users\user\AppData\Local\Temp\par-646572617269\cache-c3e641bac9e7e4b5ab17068122bff38686710985\inc\lib/Biber/Input/file/bibtex.pm line 119.
Use of uninitialized value in string eq at C:\Users\user\AppData\Local\Temp\par-646572617269\cache-c3e641bac9e7e4b5ab17068122bff38686710985\inc\lib/Biber/Input/file/bibtex.pm line 123.
Use of uninitialized value in string eq at C:\Users\user\AppData\Local\Temp\par-646572617269\cache-c3e641bac9e7e4b5ab17068122bff38686710985\inc\lib/Biber/Input/file/bibtex.pm line 127.
INFO - Decoding LaTeX character macros into UTF-8
INFO - Found BibTeX data source 'texmwe.bib'
INFO - Overriding locale 'English_United States.1252' default tailoring 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting 'entry' list 'nyt' keys
INFO - No sort tailoring available for locale 'English_United States.1252'
Can't use string ("Key") as an ARRAY ref while "strict refs" in use at C:\Users\derari\AppData\Local\Temp\par-646572617269\cache-c3e641bac9e7e4b5ab17068122bff38686710985\inc\lib/Biber/Output/bbl.pm line 436.
它可以与 bibtex 一起使用,但它会抱怨不支持 utf-8 编码。