Le 15/07/2016 22:24, Uwe Stöhr a écrit :
In bug http://www.lyx.org/trac/ticket/10284 a conflict occurred:

Some years a go we added the feature to add packages which are required
by a module or layout file. This turned out to be a very valuable
feature because:
* the user gets a warning if a required package is not installed
* MiKTeX will automatically install all required packages (if the user
is online)

I added the feature of specifying multiple dependencies in LyX 0.12.1pre7, more than 16 years ago, in a time where LaTeX distributions were not the main way to install LaTeX. These times are gone, and we are all glad for that.

As Jürgen wrote, the right thing to do on modern days is to let distribution authors do their job. I really think that only toplevel dependencies (that is, packages that are explicitly loaded by the class/module) should be specified.

I also think that it is time to get rid of the LaTeXConfig.lyx document, but I am less sure about that one. And then shorten our configure script by removing the 195 (!) packages we check for just because of MikTex. If you love users, please implement package loading using the MikTex API during installation. It will be much less slow and clumsy than the current solution.

Without the dependencies the user gets now a compilation error when
compiling the linguistics manual. I played around with TeXLive 2016 and
it does not install for example the required elocalloc package when the
user compiles the linguistics file.

Is this fixed with the recent update of texlive at Juergen's request? I think fixing bugs upstream is always the best solution.

I cannot really comment on tl for windows, but I would be surprised to learn that one cannot download extra packages in user directory and therefore skip the "admin" part.

JMarc

Reply via email to