Am 18.07.2016 um 04:04 schrieb Richard Heck:

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 trigger is that we test for all files listed in the header of a layout/module. So if there is the forest.sty file listed, MiKTeX checks for it. if it cannot find the file, it will install the LaTeX package containing this file from the Internet.

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.

Yes, exactly.

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.

Fine with me I am open for any solution as long as the user get this way a fully functional LyX

regards Uwe

Reply via email to