Steve Litt wrote:
Hi all,

I just lost my entire book structure due to a small modification to my layout file that prevented compilation. LyX therefore reverted the book's document class from my custom "rjustbook" to "article", removing all chapters and flattening out the table of contents.
Ouch!
I sometimes work with layout files too.
Whenever I have made a "bad change" and open a document,
LyX first brings up a message box about "unknown layout,
reverting to article". This tells me that something went wrong,
and the trick is to quit without saving at this point.

There are sometimes warnings about various styles converted
to "standard" as well.  (If the document have styles that doesn't
exist in "article".)

The warning about conversion to "article" and lost styles says
a lot about what happens - especially to those who make their
own layouts and know what this is about.  Other people
will rarely get such problems.
Or did LyX not tell you that the document turned into "article"?
That's a bug, of course.

Helge Hafting

Reply via email to