我使用 bibtex,我的 bib 文件看起来像
@article{Bohm,
title = {Discussion of Experimental Proof for the Paradox of Einstein, Rosen, and Podolsky},
author = {Bohm, D. and Aharonov, Y.},
journal = {Phys. Rev.},
volume = {108},
issue = {4},
pages = {1070--1076},
year = {1957},
month = {Nov},
doi = {10.1103/PhysRev.108.1070},
note = {\url{http://link.aps.org/doi/10.1103/PhysRev.108.1070}},
publisher = {American Physical Society}
}
@article{Cerf,
title = {Simulating Maximal Quantum Entanglement without Communication},
author = {Cerf, N. J. and Gisin, N. and Massar, S. and Popescu, S.},
journal = {Phys. Rev. Lett.},
volume = {94},
issue = {22},
pages = {2204031--2204034},
year = {2005},
month = {Jun},
doi = {10.1103/PhysRevLett.94.220403},
note = {\url{http://link.aps.org/doi/10.1103/PhysRevLett.94.220403}},
publisher = {American Physical Society}
}
问题是,当我编译我的 bib 文件时,我得到了
这是 BibTeX,版本 0.99d(TeX Live 2012)
顶级辅助文件:title.aux
样式文件:unsrt.bst
数据库文件 #1:title.bib
“{” 紧跟在字段部分之后---文件 title.bib 的第 28 行:
注释 = :
{\url{http://link.aps.org/doi/10.1103/PhysRevLett.94.220403}}
我将跳过此条目的剩余部分(有 1 条错误消息)
并且此错误始终针对Cerf
参考(我给您的第二个)...由于我有很多这些参考(如Bohm
),它们对我来说看起来都一样,所以我不明白为什么我会收到这个错误也不知道如何解决它...
编辑:这是 MWE
\documentclass[a4paper,titlepage]{article}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue,
pdfborder = {0 0 0},
linktocpage
}
\usepackage{url}
\begin{document}
\section{The EPR-paradox}
I cite this \cite{Bohm} and that \cite{Cerf}
\bibliographystyle{unsrt}
\bibliography{title}
\end{document}
其中 title.bib 是上面给出的 bib 文件。
来自 zaturalma2 的编辑: 这是一个老问题,已经关闭,所以我无法提供答案,但我今天在 Overleaf 上编辑 .bib 文件时遇到了同样的问题。解决方案是删除 = 符号周围的多余空格。所以试试这样:
@article{瑟夫,
title={Simulating Maximal Quantum Entanglement without Communication},
author={Cerf, N. J. and Gisin, N. and Massar, S. and Popescu, S.},
journal={Phys. Rev. Lett.},
volume={94},
issue={22},
pages={2204031--2204034},
year={2005},
month={Jun},
doi={10.1103/PhysRevLett.94.220403},
note={\url{http://link.aps.org/doi/10.1103/PhysRevLett.94.220403}},
publisher={American Physical Society}
}