>>>>> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:
Herbert> You should use _only_ the files from the local TeX Herbert> distribution! The configure script should be able to test Herbert> [EMAIL PROTECTED]:/tmp> kpsewhich powerdot.layout Herbert> /usr/local/texlive/2005/../texmf-local/tex/latex/powerdot/doc/powerdot.layout Herbert> and linking to these files or copy it into the layout dir. This is a very interesting idea. But I am not sure linking or copying is going to work (the layout file could have .inc files, for example). Also if we copy (which is necessary under windows) the layout file, what do we do when the layout file changes in the tex install? How do we know we can get rid of the local version (which may have been modified). So we should be able to ask kpsewhich to list all the layout files in the TeX installation (should be easy) and then read these files in place. The means that the full path should be kept in textclass.lst and the Include code should be updated (like C's #include) to search in the layout file's directory first (this breaks the current semantics of .lyx/ vs lyxdir/ though). More thought is clearly needed. JMarc