On Thu, 15 May 2008, Bo Peng wrote:

On Thu, May 15, 2008 at 10:35 AM,  <[EMAIL PROTECTED]> wrote:
I've just gotten my compiled LyX in Ubuntu to work by installing lots of
extra packages. Then I modified TEXINPUTS to find a locally/manually
installed package.

In either of the bundling suggestions, will "local" .cls-file and .sty-files automatically be included?

Automatic inclusion will be unlikely for any of the proposals because
it is hard to tell which classes are standard latex packages that do
not need to be included, and which ones are customized. Also, it is
hard to include all needed .sty and other sort of dependent files.
Some of these dependent files are even platform dependent.

I suspected this was a problem...

In my approach, I allow users to explicitly add such files. Some sort of automation is possible, but I guess this explicit inclusion can not be avoided.

I assume this in practice sometime results in an iteration where the recipient complains that it doesn't compile because of this-and-that package missing, followed by manually including a file, sending a new bundle and so forth...

It'd probably help if the user could specify where locally installed files are found in his system. Then LyX might be able to automatically check for files that come from those directories and that are needed.

Is there currently a mechanism to "ask" LyX what files are used when building a .lyx-file?

/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to