5

When I run bibtex on my document after running pdflatex, and then run pdflatex again, I get the following error:

)
No file main.gls.
[3] (./main.bbl [4] [5] (/usr/share/texmf/tex/latex/lm/omslmr.fd)
! Missing } inserted.
<inserted text> 
            }
l.143 \end{thebibliography}

The error stems from my library.bib file, since it does not occur if only put a single entry into it. The library is exported from Mendeley and I have checked it with bibcheck. I even manually counted the { and }, and they match.

I have read that there is a 2000 character attribute size limit in bibtex, but that is also not reached.

The library file can be found here. There are some non-standard citation labes in there. They are created by Mendeley. I manually corrected them but even then the error still exists.

6

The error is in line 181.

The culprit entry is

@article{Hegazy2006,
author = {Hegazy, D and Denzler, J and Denzler, J and Koch, M},
file = {:home/ope/Mendeley Desktop/download.pdf:pdf},
journal = {Computer (Long. Beach. Calif).},
number = {March},
title = {{{Generic Object Recognition\}}},
url = {http://drops.dagstuhl.de/opus/volltexte/2009/1866/},
year = {2006}
}

As you can see you have

title = {{{Generic Object Recognition\}}}

which starts with three { and ends with two (\} prints a }, it is not a closing brace).

Seeing the other entries, you've probably wanted to write

title = {{Generic Object Recognition}}

To find errors like this one, an editor that performs a "delimiter check" is useful. Such an editor should be able to distinguish an opening { and a closing \}. This is a screenshot of what my editor tells me during such a check:

enter image description here

|improve this answer|||||
  • I'd simply use one pair of braces, leaving to the bibliographic style the decisions about capitalization. – egreg Jan 8 '14 at 18:16
  • @egreg Could it be Mendeley that adds pair of braces? I don't know since I've never used it. – karlkoeller Jan 8 '14 at 18:21
  • If it does, then it's doing bad. – egreg Jan 8 '14 at 18:22
  • @egreg Obviously. – karlkoeller Jan 8 '14 at 18:22
  • 1
    @feob My editor is WinEdt 8.1 (Windows) – karlkoeller Jan 8 '14 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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