> There is presently the ability to have a layout file in the same folder as 
> the document, and modules we don't find in the usual places could, I suppose, 
> be sought there. But my own view is that this form of "local layout" causes 
> too many problems already. If you save such a file to a new directory, 
> suddenly it is broken. So I think there are good reasons to keep layouts and 
> modules and such in specific locations, and not just because it encourages 
> reuse.

I agree about the layouts. (I broke a LyX installation testing out these 
techniques.) I was actually thinking about LaTeX style sheets, fonts, and such. 
Quite literally, just adding the directory onto the TEXINPUTS variable:

e.g. export TEXINPUTS=/path/to/lyx/file/folder:$PATH

or somesuch.

When I work with LaTeX users, this is exactly how we exchange documents. Rather 
than install the class, we just put in the same directory as the file we're 
working on. It's not a great system, but it does work.

> What I'd prefer to see would be some script or something that would just do 
> the installation for you, then reconfigure LyX.

Agreed. I'd go even one further. I'd like to see some sort of package system 
for LyX which combines modules, document classes, and related styles into a 
single archive that can be installed and uninstalled at will.

Cheers,

Rob

PS, not volunteering, just dreaming. I've got my plate stacked high with 
outline and ePub tasks.

Reply via email to