Actually, latex is perfectly fine with the class being in the same directory as the .tex file. We routinely use this feature when collaborating. Using a class never requires running sudo texhash.
And this is really crucial for me. My coworkers expect that we share a directory, and whatever's in there just compiles. No texhash, no configuring, nothing. That is the way we use regular latex documents. Niko On Wed, Apr 27, 2011 at 4:17 PM, Richard Heck <rgh...@comcast.net> 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. > >> 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 > > -- http://scg.unibe.ch/staff/Schwarz twitter.com/nes1983 Tel: +41 078 612 6354