我尝试在 TexWorks 中使用biblatex
/ biber
。使用时 LaTeX 和 bib 文件可以工作,biblatex
但使用 biber 时编译失败。
这是我的 LaTeX 文件和 bib 文件。bib 文件中的最后一项是我从 bib 文件中复制的条目。其他条目来自工作示例文件。
\documentclass[]{article}
\usepackage[autostyle]{csquotes}
\usepackage[
backend=biber,
style=authoryear-icomp,
sortlocale=de_DE,
natbib=true,
url=false,
doi=true,
eprint=false
]{biblatex}
\addbibresource{C:/Users/guest/Desktop/testing_biblatex/biblatex-examples_local.bib}
\usepackage[]{hyperref}
\hypersetup{
colorlinks=true,
}
%% ##############################
\begin{document}
At vero eos et accusam et justo duo dolores et ea rebum~\citet{geer}.
Lorem ipsum dolor sit amet~\autocite{loh}.
This is the problematic entry \citep{Albert2007}.
\printbibliography
\end{document}
围兜文件:
@Thesis{geer,
author = {de Geer, Ingrid},
title = {Earl, Saint, Bishop, Skald~-- and Music},
type = {phdthesis},
institution = {Uppsala Universitet},
date = 1985,
subtitle = {The Orkney Earldom of the Twelfth Century. A Musicological
Study},
location = {Uppsala},
options = {useprefix=false},
hyphenation = {british},
annotation = {This is a typical \texttt{thesis} entry for a PhD thesis. Note
the \texttt{type} field in the database file which uses a
localization key. Also note the format of the printed name and
compare the \texttt{useprefix} option in the \texttt{options}
field as well as \texttt{vangennep}},
}
@Thesis{loh,
author = {Loh, Nin C.},
title = {High-Resolution Micromachined Interferometric Accelerometer},
type = {mathesis},
institution = {Massachusetts Institute of Technology},
date = 1992,
location = {Cambridge, Mass.},
hyphenation = {american},
annotation = {This is a typical \texttt{thesis} entry for an MA thesis. Note
the \texttt{type} field in the database file which uses a
localization key},
}
@Article{Albert2007,
author = {Albert, I and Mavrich, TN and Tomsho, LP and Qi, J and Zanton, SJ and Schuster, S.C. and Pugh, B.F.},
issn = {0028-0836},
journal = {Nature},
keywords = {nucleosome},
mendeley-tags = {nucleosome},
number = {7135},
pages = {572--576},
publisher = {Nature Publishing Group},
title = {{Translational and rotational settings of H2A. Z nucleosomes across the Saccharomyces cerevisiae genome}},
url = {http://www.nature.com/nature/journal/v446/n7135/abs/nature05632.html},
volume = {446},
year = {2007}
}
答案1
如果您使用 mendeley 导出 bibtex,您还应该在导出之前清空 Mendeley 的垃圾箱。否则您的 bibtex 文件中可能会有重复的 bibtex 条目(这可能会导致问题)。
顺便说一句,如果您正在寻找 Mendeley 的替代品或增强功能,您可能会对我正在开发的软件 Docear 感兴趣:http://www.docear.org/2013/10/17/docear-1-0-stable-a-new-video-new-manual-new-homepage-new-details-page/