我正在尝试使用 BibTex 管理我的本科项目的参考书目,但遇到了几个错误 - 顺便说一下,我正在使用 TexStudio 作为编辑器。我的试用代码文件“bibtrial.tex”(为了清晰起见,我删除了文件中的所有其他内容)如下;
\documentclass[a4paper,12pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage[backend=biber,
style=numeric-comp,
sorting=ynt,
sortcites=true,
dashed=false,
maxcitenames=3,
maxbibnames=3,
uniquelist=false,
uniquename=false,
doi=false,
url=false,
isbn=false,
eprint=false,
hyperref=true]{biblatex}
% Load the file with bibliographic information
\addbibresource{bibliography.bib}
\begin{document}
Texttexttext \cite{Bravyikitaev}
\end{document}
bibliography.bib 文件如下所示;
@article{Bravyikitaev,
title={The Bravyi-Kitaev transformation for quantum computation of electronic structure},
volume={137},
ISSN={1089-7690},
url={http://dx.doi.org/10.1063/1.4768229},
DOI={10.1063/1.4768229},
number={22},
journal={The Journal of Chemical Physics},
publisher={AIP Publishing},
author={Seeley, Jacob T. and Richard, Martin J. and Love, Peter J.},
year={2012},
month={12},
pages={224109}
}
但是,运行上述试用代码时,出现以下错误;
biblatex.sty Package keyval Error: dashed undefined. \blx@processoptions
bibtrial.tex There were undefined references.
bibtrial.tex Please (re)run Biber on the file:(biblatex) BibTrial(biblatex) and rerun LaTeX afterwards.
bibtrial.tex name{cite.0@Bravyikitaev} has been referenced but does not exist, replaced by a fixed one
然后我尝试使用 Tools->Commands->Biber 运行 Biber,进程正常退出,没有错误。但是,尝试再次重新编译 bibtrial.tex 文件时,我遇到了完全相同的错误(好像在文件上运行 biber 不起作用)。在我的试用代码上运行 biber 的输出是
Process started: biber.exe "BibTrial"
INFO - This is Biber 2.16
INFO - Logfile is 'BibTrial.blg'
INFO - Reading 'BibTrial.bcf'
INFO - Found 1 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'bibliography.bib' for section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source 'bibliography.bib'
INFO - Overriding locale 'en-US' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Overriding locale 'en-US' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting list 'ynt/global//global/global' of type 'entry' with template 'ynt' and locale 'en-US'
INFO - No sort tailoring available for locale 'en-US'
INFO - Writing 'BibTrial.bbl' with encoding 'UTF-8'
INFO - Output to BibTrial.bbl
Process exited normally