After making many changes to a large file, I get errors in the last two lines, which I did not change. The lines are:
\bibliography{../erelsegal-halevi}
\end{document}
And the errors are:
File ended while scanning use of \@firstofone.
\begin{thebibliography} on input line 1 ended by \end{document}.
There are no other errors. Probably, the errors are caused by some mistake earlier in the document. How can I find it? I can try "binary search": delete parts of the document until the error disappears. Is there a better way?
Best Answer
Based on egreg's comment, instead of doing a binary search on the entire document, I focused on the citations. Finally I narrowed the problem down to a single entry in the bbl file:
The corresponding bibtex entry is:
The problem was solved after deleting the first line "address = {},".