我一直想从 BibTeX 切换到 BibLaTeX,所以今天我想试一试。在阅读手册后,我最终设法将所有命令转换为新语法。pdfLaTeX 和 Biber 都没有给出任何错误,但是 bbl 文件是空的,我收到有关未定义引用和空参考书目的警告。我在这个论坛上读到过许多类似的问题,但没有一个能解决我的问题。由于 BibLaTeX 文档是少数几个我没有完整阅读过的软件包文档之一,我认为我天真地做错了什么。我的 tex 文件:
\documentclass[fontsize = 11pt,paper = a4,ngerman]{scrbook}
\usepackage[ngerman,british]{babel}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber,bibstyle=authoryear]{biblatex}
\usepackage{csquotes}
\addbibresource{test.bib}
\begin{document}
Test \cite{OLED}.
\end{document}
测试.bib:
@Book{OLED,
author = {Hari Singh Nalwa and Lauren Shea Rohwer},
title = {Organic Light-Emitting Diodes},
series = {Handbook of Luminescence, Display Materials and Devices},
year = {2003},
publisher = {American Scientific Publishers}
}
即使安装了 BibLaTeX 3.0,Biber 仍会在 blg 文件中给出版本警告:
[0] Config.pm:324> INFO - This is Biber 2.1
[0] Config.pm:327> INFO - Logfile is 'Test.blg'
[52] biber-MSWIN:273> INFO - === %a %b %e, %Y, %H:%M:%S
[52] Biber.pm:333> INFO - Reading 'Test.bcf'
[245] Utils.pm:146> WARN - Warning: Found biblatex control file version 2.6, expected version 2.7
[246] Biber.pm:645> INFO - Found 1 citekeys in bib section 0
[262] Biber.pm:2977> INFO - Processing section 0
[282] Biber.pm:3115> INFO - Looking for bibtex format file 'test.bib' for section 0
[286] bibtex.pm:1021> INFO - Decoding LaTeX character macros into UTF-8
[287] bibtex.pm:895> INFO - Found BibTeX data source 'test.bib'