- Click on View (or Update) button (I am compiling with pdflatex)
- One of the following occurs, and I am not able to predict which:
- LyX assembles the document without any problems
- LyX begins assembling the document and does not finish
- LyX does not appear to even begin assembling the document. This outcome seems like a variant of (b).
- After either (2b) or (2c), the Update and View buttons are disabled, as are the corresponding entries under the View menu. Moreover, the View and Update commands for other file types are also disabled. LyX reports "command-disabled" when I attempt to compile using ctrl-shift-R. I have not been able to get LyX out of this state. If I try to close LyX, I get one of two outcomes:
- A modal dialog: LyX could not be closed because documents are being processed by LyX.
- A clean close. This seems to happen if I let the app run for a few minutes before trying to close.
- While all of this is happening, the LyX interface is responsive, and the CPU is not pegged. I can edit and save documents without any problems. But I'll never be able to compile a document until I exit and restart LyX.
- I have checked debug output and there does not appear to be anything particularly illuminating. After about 5000 lines of output, I get this:
Warning: Different textclasses
----------------------------------------
Included file `D:\...path to child doc...\...name of child doc....lyx'
has textclass `article'
while parent file has textclass `dukedissertation'.
I have had this happen with another large document (one of the child docs -- but one that compiled prior to the error above), as well as with a document that embeds many of the same children. I have searched for other users reporting similar behavior and have come up empty. I have tried to construct a MWE and have not been able to replicate -- hence the size of the documents might be a factor. (Perhaps this is related to a shortage of memory?) Anyway, I understand I may not get very specific advice here--but I'm hoping for some helpful suggestions. I am also documenting this problem in case others have run into it as well.
Thanks!