On 10/06/2011 12:54 AM, Tom Francart wrote:
> Hi all,
>
> I'm using Lyx 2.0.0 (Ubuntu package). 
> When trying to insert a citation in my document, I get the error message 
> "BibTeX
> Parser: Unexpected end of file." And indeed, part of my bibtex file is not
> available in Lyx. 
> How can I get more info about what the problem is (e.g., a line number)? It's 
> a
> 2.2MB .bib file which works fine with Bibtex and Pybliographer, so it's quite
> hard to find out what the problem is.
> I tried enabling debug output, but did not get more useful information. 
>
This is almost always due to a bad character in the file., e.g., a
Unicode dash. LyX tries to read the file with the encoding of the main
document. The bad character is probably in the first entry in the file
that you do not see in LyX.

rh

Reply via email to