On 07/17/2016 08:04 PM, Uwe Stöhr wrote:
> Am 16.07.2016 um 17:31 schrieb Richard Heck:
>
>> I am happy to help you solve this problem. I am quite confident there is
>> an easy solution to be had. For that purpose, please explain to me, in
>> detail, exactly how adding "elocalloc.sty" to the list of dependencies
>> for the linguistics module causes MikTeX to install it. Then we can
>> figure out how to get the same thing to happen, without adding the
>> dependency.
>
> We have 2 cases:

I think JMarc is thinking in a different thread about how to handle
this, though
perhaps I'm mistaken.

> 1. MiKTeX
> - MiKTeX comes with a basic set of LaTeX packages
> - it has the feature to install al missing packages automatically when
> a file is compiled (without bothering the user about this). This
> feature only works if you have an Internet connection.
> - Since not everybody has Internet at home, my goal is to set up a
> fully-functional LaTeX installation when LyX is installed. By adding
> dependencies MiKTeX will automatically install all missing packages
> when LyX is (re)configured). 

What I'd like to know is how this happens. What *exactly* triggers
MiKTeX to install
forest.sty when LyX is reconfigured? Surely it is not because we compile
the linguistics
manual then.

The point I'm trying to make is this: All we need to solve this problem
is to get LyX to
trigger MiKTeX's automatic installation process when it is reconfigured.
To do that, we
do not need to add dependencies to the modules. That's how it's being
done now, but we
can do it some other way. E.g., we could have a special comment in the
modules:

#MiKTeX: package1.sty, package2.sty

and this could be extracted by a script when people are using MiKTeX. Or
something
else could be done. There are tons of options.

Richard

Reply via email to