On 07/16/2016 04:44 AM, Jürgen Spitzmüller wrote:
> Am Freitag, den 15.07.2016, 22:24 +0200 schrieb Uwe Stöhr:
>> In bug http://www.lyx.org/trac/ticket/10284 a conflict occurred:
>>
>> Some years a go we added 
> _you_ added. I do not remember a consensus about this. On the contrary,
> I told you more than once that I think this is the wrong approach.
>
>> the feature to add packages which are required 
>> by a module or layout file. This turned out to be a very valuable 
>> feature because:
>> [1] the user gets a warning if a required package is not installed
>> [2] MiKTeX will automatically install all required packages (if the
>> user is online)

There is a confusion here.

Concerning [1]: Having dependencies that allow LyX to know if the user's
system can compile the resulting file goes way, way back. No one has a
problem with this, but for *this* purpose we should list only the
packages that we ourselves explicitly use. It is up to the LaTeX
packaging system to handle dependencies of one package upon another. As
Jurgen says, these can change.

Concerning [2]: This has nothing to do with the LyX source code but only
to do with the Windows installer.

So what happened is that Uwe decided to use the dependencies we'd
introduced for [1] in order also to do [2]. As a result, we end up with
things like:

==> tufte-handout.layout <==
#% Do not delete the line below; configure depends on this
# 
\DeclareLaTeXClass[tufte-handout,bibentry.sty,changepage.sty,fancyhdr.sty,
hardwrap.sty,ifmtarg.sty,ifplatform.sty,letterspace.sty,multicol.sty,natbib.sty,
optparams.sty,paralist.sty,placeins.sty,ragged2e.sty,setspace.sty,textcase.sty,
titlesec.sty,titletoc.sty,xcolor.sty,xifthen.sty,xkeyval.sty]{Tufte Handout}

This is no good. But once we figure out how else to do [2], we can fix it.

Richard

Reply via email to