如何在 .bib 文件中正确地创建新闻简报的项目?

如何在 .bib 文件中正确地创建新闻简报的项目?

我正在使用 WriteLatex,想要在我的.bib文件中创建一个项目;因此我将以下内容添加到文件中

@misc{boletinDane2010,
    title ={Boletin de Prensa}
    author ={Departamento Administrativo Nacional Estadistico, DANE}
    year ={2014}
}

但是我收到以下错误/警告,我不明白为什么:

(no line number): 
This is BibTeX, Version 0.99d (TeX Live 2013/Debian) 
Capacity: max_strings=35307, hash_size=35307, hash_prime=30011 
The top-level auxiliary file: main.aux 
The style file: plain.bst 
Database file #1: bibliografia.bib.bib 
I was expecting a `,' or a `}'---line 17 of file bibliografia.bib.bib :
: author ={Departamento Administrativo Nacional Estadistico, DANE} 
(Error may have been on previous line) 
I'm skipping whatever remains of this entry 
Warning--to sort, need author or key in boletinDane2010 
You've used 1 entry, 
2118 wiz_defined-function locations, 
500 strings with 4044 characters, 
and the built_in function-call counts, 168 in all, are: 
= -- 12 
> -- 1 
< -- 0 
+ -- 1 
- -- 0 
* -- 7 
:= -- 23 
add.period$ -- 1 
call.type$ -- 1 
change.case$ -- 3 
chr.to.int$ -- 0 
cite$ -- 2 
duplicate$ -- 7 
empty$ -- 24 
format.name$ -- 0 
if$ -- 38 
int.to.chr$ -- 0 
int.to.str$ -- 1 
missing$ -- 0 
newline$ -- 6 
num.names$ -- 0 
pop$ -- 8 
preamble$ -- 1 
purify$ -- 2 
quote$ -- 0 
skip$ -- 10 
stack$ -- 0 
substring$ -- 5 
swap$ -- 1 
text.length$ -- 0 
text.prefix$ -- 0 
top$ -- 0 
type$ -- 4 
warning$ -- 1 
while$ -- 0 
width$ -- 2 
write$ -- 7 
(There was 1 error message)

那么我的问题是:我做错了什么?我该如何解决?谢谢。

答案1

每行末尾都需要有逗号:

@misc{boletinDane2010,
    title ={Boletin de Prensa},
    author ={Departamento Administrativo Nacional Estadistico, DANE},
    year ={2014},
}

相关内容