bib文件中 citationkey 包含引号时,所有参考文献无法正常编译 #135
-
报错信息形如 问题可能来源 以及 自己尝试解决但无用的办法:
附上 bib 格式,以供测试 % 带单引号的 citationkey
@article{abulof2017'Can'tBuy,
title = {`Can't Buy Me Legitimacy': The Elusive Stability of Mideast Rentier Regimes},
author = {Abulof, Uriel},
year = {2017},
journal = {Journal of International Relations and Development},
volume = {20},
number = {1},
pages = {55--79},
doi = {10.1057/jird.2014.32},
langid = {english}
}
% 带双引号的 citationkey
@article{dingjianping2017"Yi,
title = {``一带一路''中的宗教风险研究},
author = {{丁剑平} and {方琛琳}},
year = {2017},
journal = {财经研究},
volume = {43},
number = {09},
pages = {134--145},
langid = {cn}
}
% 不带引号的 citationkey
@article{adams2011Chiefexecutive,
title = {Chief Executive Officer Incentives, Monitoring, and Corporate Risk Management: Evidence from Insurance Use},
author = {Adams, Mike and Lin, Chen and Zou, Hong},
year = {2011},
journal = {Journal of risk and Insurance},
volume = {78},
number = {3},
pages = {551--582},
langid = {english}
}
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Beta Was this translation helpful? Give feedback.
biber
的处理机制不允许 citation key 中包含引号。事实上引号被用作分隔符,可以试试将条目内所有的花括号换成引号,也是可以编译的。见 https://tex.stackexchange.com/questions/96454/using-bibtex-keys-containing-parentheses-with-biber/96918#96918使用文献工具导出时忽略一下非法字符就好,譬如 JabRef 的设置项有: