"Bo Peng" <[EMAIL PROTECTED]> writes: > This feature aims at particular cls file provided by journals and > publishers. For example, the book I am writing uses wiley monograph > latex template, which has .bst, .sty, .cls and .ist files, and a > layout file prepared by myself. It would be a lot of work to > automatically include all these files. For example, w-bookps.sty is > used in the preamble, and we will have to scan the user-specified > preamble to automatically include this file.
Note that the layout file file can declare (in the \DeclareLaTeXClass line) the files that are necessary for working correctly. We could use this information. Now I understand that there can be files included from the user preamble. I do not think that scanning the preamble is a good idea. I would not be opposed myself to a mechanism to specify a list of files that should be embedded with the LyX file. But since it is a specialist feature, it should not add further complication to the everyday UI. JMarc