Am Wed, 12 Sep 2012 17:57:34 -0400 schrieb Richard Heck <rgh...@lyx.org>:
> On 09/12/2012 01:48 PM, Christian Obst wrote: > > Hi, > > > > I have this strange problem. A document which was previously working > > cannot be compiled anymore because latex complains about "unbalanced > > brackets or parentheses in a foot- or endnote". If I manually > > convert to .tex and look at the resulting file, I find passages > > like this: > > > > texttexttext.% > > \footnote{Texinfootnote.% > > } > > > > First, I dont understand why lyx is putting the percentage signs > > there, they are regular footnotes, not comments. Also, I thought > > they are supposed to xcomment out the rest of the line, not what is > > enclosed between two of them. However, they leave one bracket out, > > so I think this is what produces my error. > That is perfectly OK code. The %s do exactly what you say, so there's > nothing unbalanced there (and nothing in that part of the LyX code > has changed recently). The problem is surely elsewhere. I'd suggest > you try bisecting: removing chunks until you get something that > works, then adding stuff back, etc. Ok, I now tried something else, which gives me weird results. I exported the document to Latex (normal), and ran latex on that file. It gave me the same biblatex error (unbalanced brackets or parantheses). I quit, ran bibtex on the document anyway, which finished with many errors about "whitespaces" in the aux. Now the weird part: I ran latex again, it gave me no error and produced a dvi. Now, I reran bibtext, as well, which finished without errors, as well, and so did any subsequent latex runs. I did not edit the tex file or anything. So basically, the document seems to be fine (no more unbalanced brackets after latex/bibtex runs), but somehow it isn't so in the beginning. How can that be? Many thanks, Christian