最小代码:
\documentclass[12pt, a4paper]{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{dyslexia.bib}
\addbibresource[datatype=ris]{dyslexia3.ris}
\begin{document}
{
\cite{causesdyslexia} \\ % from file dyslexia.bib
\cite{test1} % from file dyslexia3.ris, downloaded .ris file and appended ID - test1
\printbibliography
}
\end{document}
错误:
Can't use an undefined value as an ARRAY reference at Biber/Input/file/ris.pm line 123, <GEN9> line 26.
INFO - This is Biber 0.9.9
INFO - Logfile is 'dyslexia.blg'
INFO - Reading 'dyslexia.bcf'
INFO - Found 2 citekeys in bib section 0
INFO - Processing bib section 0
INFO - Looking for bibtex format file 'dyslexia.bib' for section 0
INFO - Found BibTeX data source 'dyslexia.bib'
INFO - Looking for ris format file 'dyslexia3.ris' for section 0
INFO - Found RIS data source 'dyslexia3.ris'
请添加‘ris’标签!
.ris 文件的内容;第一行空白
TY - JOUR
ID - test1
AU - Macfarlan, Todd S.
AU - Gifford, Wesley D.
AU - Driscoll, Shawn
AU - Lettieri, Karen
AU - Rowe, Helen M.
AU - Bonanomi, Dario
AU - Firth, Amy
AU - Singer, Oded
AU - Trono, Didier
AU - Pfaff, Samuel L.
TI - Embryonic stem cell potency fluctuates with endogenous retrovirus activity
JA - Nature
PY - 2012/06/13/online
VL - advance online publication
SP -
EP -
PB - Nature Publishing Group, a division of Macmillan Publishers Limited. All Rights Reserved.
SN - 1476-4687
UR - http://dx.doi.org/10.1038/nature11244
M3 - 10.1038/nature11244
N1 - 10.1038/nature11244
L3 - http://www.nature.com/nature/journal/vaop/ncurrent/abs/nature11244.html#supplementary-information
ER -
答案1
请尝试使用 SourceForge 提供的最新 biblatex 2.0 和 biber 1.0 预发行版。我相信 RIS 源的这个特定错误已在那里修复。