On 2011-04-27, Richard Heck wrote: > 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. It is. Because of the use of a tempdir, files in the cwd are found by LaTeX if compiling "by hand" but not if compiling from within LyX. Günter