On Sat, Oct 27, 2001 at 10:12:44PM +0200, Lars Gullik Bjønnes wrote: > | And what happens if you use your own environments defined in the > | .layout file ? > > You never should. You are far into undefined behaviour land when you > do that.
Why. If it was not meant for the user to create their own layout files, it shouldn't have been in the user documentation. > (you get exacltly the same problem: how to distribute your > document? Just the same problem that you will have if you localy edit > article.cls.) Why modifying article.cls is bad, it is OK to use your own class file (built over article.cls), or to use your own .sty files. > | The clean way is to store these things outside of the document in the layout > | file (note that we can make the layout file be editable from within lyx). > > No, the only clean place to store extra floats/layouts whatever is as > part of the document. (Note that I say "as part of", it could be in a > separate file, but then that file will have to always follow the main > doc file.) And what happens if you write 10 documents with the same layouts ? Do you have 100 copies of the layout file ? And what happen if you want to make a change in the layout ?