I'm trying to figure out how to work with BibTeX. The thing is, I think I've followed all I can make of BibTeX tutorials in the net still to no avail. So far, here's how my bibliography looks like (biblio.bib)
@ARTICLE{bovik_clark_geisler,
author="Alan Conrad Bovik, Marianna Clark and Wilson Geisler",
title={Multichannel texture analysis using localized spatial filters},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
volume={12},
year={1990},
pages={55-73},
}
@ARTICLE{marcos
author="Maria Sheila Angeli Marcos, Maricor Soriano and Caesar Saloma",
title={Classification of coral reef images from underwater video using neural networks},
journal={Optics Express},
volume={13},
number={22},
pages={8766-8771},
}
@ARTICLE{weldon
author="Thomas Weldon, William Higgins and Dennis Dunn",
title={Efficient Gabor Filter Design for Texture Segmentation},
journal={Pattern Recognition},
volume={29},
number={12},
pages={2005-2015},
}
@MISC{zhang
author="Dengsheng Zhang, Aylwin Wong, Maria Indrawan and Guojun Lu",
title={Content-based Image Retrieval Using Gabor Texture Features}
}
I've figured (correct me if I'm wrong) that BibTeX is using regular expressions to parse entries and its different contents, to produce the appropriate reference format depending on the specified style (ACM, IEEE, etc.). However, I can't figure out what this format is. I'm following the compilation process at http://www.bibtex.org/Using/ , but upon calling on bibtex
, I get errors like
I was expecting a `,' or a `}'---line 25 of file biblio.bib
...
Warning--to sort, need author or key in weldon
Warning--empty author in weldon
Warning--empty title in weldon
Warning--empty journal in weldon
Warning--empty year in weldon
Where line 25 is the author attribute of weldon.
Same goes for marcos and zhang though zhang is only complaining for the key. What's a key then? How come I don't see it specified in online resources? I've also tried changing the curly braces in the attributes to quote marks but it still complains of the same errors. Is there anything I'm missing, any tutorial you may recommend to make this work?
UPDATE:
So, I figured out, thanks to Wikipedia, that BibTeX parses using and and not commas. However, I still get the same error. The output, before I changed them to and, was something like
[1]
[2]
[3]
[4] Citation entry for bovik_clark_geisler
But Bovik and Clark's name isn't delimited at all and looks like one name. After reading Wikipedia, they got separated with a comma but still the same output (blank 1-3, citation for bovik_clark_geisler at 4).
Best Answer
In the entries with keys
weldon
,marcos
, andzhang
, you are missing a comma separating the key from the entry fields; when an entry has several authors, useand
to separate all of them (that's how bibTeX knows where an author ends and another one begins); if you want to preserve the capitalization in thetitle
field, use braces to enclose letters that must remain capitalized (as I did with{G}abor
in the code below). Here's an example based on your example code, with the modifications suggested (I also added theyear
field formarcos
andweldon
to prevent a bibTeX warning):