请问这个引用有什么问题?我使用 BibTex 和 TexMaker
错误是:
Process started
This is BibTeX, Version 0.99d (MiKTeX 2.9.6840 64-bit)
The top-level auxiliary file: prace.aux
A level-1 auxiliary file: titulka.aux
A level-1 auxiliary file: uvod.aux
A level-1 auxiliary file: kap00.aux
A level-1 auxiliary file: kap01.aux
A level-1 auxiliary file: kap02.aux
A level-1 auxiliary file: kap03.aux
A level-1 auxiliary file: kap04.aux
A level-1 auxiliary file: kap05.aux
A level-1 auxiliary file: diskuze.aux
A level-1 auxiliary file: zaver.aux
A level-1 auxiliary file: literatura.aux
The style file: czplainnat.bst
Database file #1: literatura.bib
Repeated entry---line 514 of file literatura.bib:
@article{Leone2010 : ,
I'm skipping whatever remains of this entry
(There was 1 error message)
Process exited with error(s)
对于条目
@article{Leone2010,
author = {Leone, F. and Bohlender, D. A. and Bolton, C. T. and Buemi, C. and Catanzaro, G. and Hill, G. M. and Stift, M. J.},
title = {The magnetic field and circumstellar environment of the helium-strong star HD 36485 ={$\delta$} Ori C},
journal = {Monthly Notices of the Royal Astronomical Society},
volume = {401},
number = {4},
pages = {2739-2752},
year = {2010},
month = {01},
issn = {0035-8711},
doi = {10.1111/j.1365-2966.2009.15858.x},
url = {https://doi.org/10.1111/j.1365-2966.2009.15858.x},
eprint = {http://oup.prod.sis.lan/mnras/article-pdf/401/4/2739/3929604/mnras0401-2739.pdf},
}
删除此引文后,.bib flie 可以正常运行。
这是主文件:
\bibliographystyle{czplainnat}
\renewcommand{\bibname}{Seznam použité literatury}
\bibliography{literatura}
答案1
虽然 LaTeX 和 LaTeX 相关软件有时会因错误消息不明确而受到批评,但此消息相当清楚。消息的重要部分是
Repeated entry---line 514 of file literatura.bib:
@article{Leone2010 : ,
I'm skipping whatever remains of this entry
Leone2010
这表明您的文件中有多个名称条目.bib
。当然,BibTeX 只能接受每个名称的一个条目,否则它将无法理解您的文件。
搜索您的.bib
文件Leone2010
,比较您找到的两个(或更多)条目并将它们合并为一个(如果条目属于同一作品)或为它们提供单独的名称(如果条目是不同的作品)。
然后删除您的临时文件(.aux
,,.bbl
...),检查对受影响作品的引用并使用完整的 LaTeX、BibTeX、LaTeX、LaTeX 循环重新编译。