请问如何消除这个 .bib 错误?
Database file #1: ref.bib ptr=1, stack= 2014 ---the literal stack isn't empty for entry Berio2014 while executing---line 1719 of file caosp306.bst
条目是:
@inproceedings{Berio2014,
author = {Berio, Philippe and Bresson, Y. and Clausse, J. and Mourard, D. and Dejonghe, J. and Duthu, A. and Lagarde, S. and Meilland, A. and Perraut, Karine and Tallon-Bosc, Isabelle and Nardetto, N. and Spang, Alain and Bailet, C. and Marcotto, A. and Chesneau, O. and Stee, P. and Feautrier, P. and Balard, P. and Gach, Jean-Luc},
year = {2014},
month = {07},
pages = {914616},
title = {Long baseline interferometry in the visible: The FRIEND project},
volume = {9146},
booktitle = {Long baseline interferometry in the visible: The FRIEND project},
journal = {Proceedings of SPIE - The International Society for Optical Engineering},
doi = {10.1117/12.2054890}
}
文件.tex:
\documentclass[11.5]{caosp306}
\bibliographystyle{caosp306}
\begin{document}
\nocite{*}
\bibliography{ref.bib}
\end{document}
答案1
当你指定时,bst 似乎不喜欢它volume
,但是不是 series
。删除卷或添加系列以解决问题。
还请注意,您的引用并不完全正确:和title
是booktitle
相同的,并且@inproceedings
条目不应该有journal
,并且可能根本不应该有系列或卷。
如果你从以下网站下载 BibTeX 格式的参考文献https://www.spiedigitallibrary.org/conference-proceedings-of-spie/9146/914616/Long-baseline-interferometry-in-the-visible-the-FRIEND-project/10.1117/12.2054890.short?SSO=1然后您将获得一个看起来比此处问题中提供的版本更正确的版本。但是,此版本仍包含volume
触发错误的字段。删除该字段将导致运行成功。
包含两个条目的工作版本,第一个条目根据问题进行了更正,第二个条目来自发布者网站:
@inproceedings{Berio2014,
author = {Berio, Philippe and Bresson, Y. and Clausse, J. and Mourard, D. and Dejonghe, J. and Duthu, A. and Lagarde, S. and Meilland, A. and Perraut, Karine and Tallon-Bosc, Isabelle and Nardetto, N. and Spang, Alain and Bailet, C. and Marcotto, A. and Chesneau, O. and Stee, P. and Feautrier, P. and Balard, P. and Gach, Jean-Luc},
title = {Long baseline interferometry in the visible: The FRIEND project},
booktitle = {Proceedings of SPIE - The International Society for Optical Engineering},
year = {2014},
month = {07},
pages = {914616},
doi = {10.1117/12.2054890},
}
@inproceedings{10.1117/12.2054890,
author = {P. Berio and Y. Bresson and J. M. Clausse and D. Mourard and J. Dejonghe and A. Duthu and S. Lagarde and A. Meilland and K. Perraut and Isabelle Tallon-Bosc and N. Nardetto and A. Spang and C. Bailet and A. Marcotto and O. Chesneau and P. Stee and P. Feautrier and P. Balard and J. L. Gach},
title = {{Long baseline interferometry in the visible: the FRIEND project}},
booktitle = {Optical and Infrared Interferometry IV},
editor = {Jayadev K. Rajagopal and Michelle J. Creech-Eakman and Fabien Malbet},
organization = {International Society for Optics and Photonics},
publisher = {SPIE},
pages = {347 -- 357},
keywords = {Long baseline interferometry, optical fiber, visible interferometry, instrumentation},
year = {2014},
doi = {10.1117/12.2054890},
URL = {https://doi.org/10.1117/12.2054890}
}
结果:
答案2
我同意@Marijn的回答。对我来说,当一个引用是@inproceedings
但没有booktitle
属性时,就会出现错误。一旦我添加了相关属性,booktitle={xxx}
错误就消失了。