On 04/27/2011 09:33 AM, Jim Oldfield wrote:
Please, can't you encapsulate all of the hassle into lyx modules, and
allow lyx modules that are in the same directory as the lyx file? Or
better yet: inside the lyx file?
Yes, we have been working on this. Hopefully, this will be
implemented in LyX 2.1.
And Enrico's solution to this is (will shortly be) available already in
2.0. You'll find it under File>Export>LyX Archive. I'm not sure if it
includes used modules and layouts, though, since those do have to be
installed into the right place.
Niko was asking about two different things:
1. He had to install a LaTeX document class before he could use it with LaTeX
(which LyX uses).
As you say, this is not a LyX issue.
2. He had to install a LyX module before he could use it in a LyX document.
If you want to keep your layout "internal", then this is also already
possible in 2.0. Look under Document>Settings>Local Layout.
Richard