TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm gradually getting used to using BibTeX for citing references in my LaTeX documents, but I've run into a bit of a problem. I'm using natbib so that I get Harvard-style citations, but I get a warning saying that my references cannot be resolved when I try and cite a reference. I've done some investigation of this and found that when my references are in the form below:

    Annote = {10.1038/304337a0},
    Author = {Wasson, R. J. and Hyde, R.},
    Date = {1983/07/28/print},
    Date-Added = {2010-10-29 10:34:27 +0100},
    Date-Modified = {2010-10-29 10:36:13 +0100},
    Day = {28},
    Journal = {Nature},
    M3 = {10.1038/304337a0},
    Number = {5924},
    Pages = {337--339},
    Title = {Factors determining desert dune type},
    Ty = {JOUR},
    Url = {http://dx.doi.org/10.1038/304337a0},
    Volume = {304},
    Year = {1983},
    Bdsk-Url-1 = {http://dx.doi.org/10.1038/304337a0}}

It gives an error, but when I change the contents to have quotes around them rather than curly braces it works fine. The problem is that most sources (for example Google Scholar, and all of the output from BibDesk) appear to use braces.

Does anyone have any idea what's going on here? Is there a setting I can change somewhere to deal with this?

share|improve this question
I removed the 'pdftex' and 'latex' tags – Taco Hoekwater Oct 29 '10 at 10:12
If the answer bellow doesn't solve your problem, consider posting an example of an entry that produces the error you describe. – Juan A. Navarro Oct 29 '10 at 10:48
@Juan - my question has an example in it already, which produces an error when I use it. Does anyone else get an error when using that bit of BibTex? – robintw Oct 29 '10 at 10:54
Nop. It compiles fine for me. I created a .bib file with your example as the single entry and then cited it from a minimal LaTeX document (using natbib as you said). – Juan A. Navarro Oct 29 '10 at 11:07
Same here, works fine. – Taco Hoekwater Oct 29 '10 at 11:08
up vote 5 down vote accepted

It is perfectly normal for bibtex fields to be enclosed in braces, but it is possible that there is a stray { or } inside the field, and that is not allowed: the content should have balanced braces. I can't quite explain why it works if you use ", but in any case I suspect something is broken in the bib file.

See this link for a good, readable description of what is and is not allowed in a bib file.

share|improve this answer

Can you provide an example with a minimal tex file as well? This bit of BibTeX does not produce any errors for me, may be it is related to your LaTeX file and/or something peculiar with your natbib.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.