>>>>> "Gorik" == Gorik De Samblanx <[EMAIL PROTECTED]> writes:

Gorik> When one opens a LyX file that contains an unkown style (e.g.
Gorik> by changing the documenttype from article to book and reverse),
Gorik> then the unknown style tags are DELETED. If I adapt a LyX file
Gorik> on a computer that has a different layout files, and then go
Gorik> home, I have to reformat the whole document.

Gorik> Couldn't it be possible (as is done in html browsers ) to just
Gorik> ignore unknown layout tags without deleting them ? Or to make a
Gorik> "unknown" style ?

This is a bit difficult due to the way files are read into LyX. Why
don't you just take your book.layout at work too (with a different
name, preferably)? All you have to do is to copy it to ~/.lyx/layouts/
and run Options->Reconfigure.

What I do not like in your proposal is that two classes with the same
name are *not* supposed to have different layouts. Choose a new name
when you do modifications.

JMarc

Reply via email to