I'll guess that this is because LaTeX finds the .aux and .bbl files laying around from before and so doesn't regenerate them, but then that causes problems on the next run. I don't know well enough how LyX issues its LaTeX commands to know if this can be resolved.
rh John McCabe-Dansted wrote: > The first time I "View DVI" after enabling or disabling natbib, I get > LaTeX errors. The second time I do a "View DVI", the problem goes > away. > > Do other people notice this bug in 1.5.0svn? This bug is easy to work > around, but can be worrying if you don't know you can just redo "View > DVI" to fix result. > > To reproduce: > 1) Create new document > 2) Insert "List/TOC->BibTeX bibliography" > 3) Add citation > 4) Do view DVI > 5) Change from Numerical/Default Natbib/AuthorYear style > 6) Do view DVI (should get LaTeX errors) > 7) Do view DVI (should get output, not LaTeX errors) > 8) Change from back to Numerical. > 9) Do view DVI (should get LaTeX errors again) > 10) Do view DVI (should get output, not LaTeX errors) > -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto