On Wed, Jun 10, 2020 at 09:40:58AM +0200, Yu Jin wrote: > Am Mi., 10. Juni 2020 um 05:54 Uhr schrieb Richard Kimberly Heck < > [email protected]>: > > On 6/9/20 1:33 PM, Enrico Forestieri wrote: > > > On Tue, Jun 09, 2020 at 07:15:22PM +0200, Yu Jin wrote: > > >> Am Di., 9. Juni 2020 um 17:55 Uhr schrieb Enrico Forestieri < > > [email protected] > > >>> : > > >>> On Tue, Jun 09, 2020 at 03:29:29PM +0200, Yu Jin wrote: > > >>>> Am Di., 9. Juni 2020 um 14:21 Uhr schrieb Jean-Marc Lasgouttes < > > >>>> [email protected]>: > > >>>>> OTOH, for texlive, running configure.py is just wasting time if I > > >>>>> understand correctly. And since a lot of packages are checked in > > >>>>> configure.py just for this, we are talking about a lot of time, here. > > >>>>> > > >>>> I see, but don't we then save this time when LyX is started for the > > first > > >>>> time? Otherwise configure.py would run there. > > >>> I don't think so, because configure.py is run for the admin user at > > >>> installation time. It will be run again when lyx is started by another > > >>> user. > > >>> > > >> Agree for this case. > > >> > > >> > > >>> Then, there is also the issue that, before running configure.py, the > > >>> installer subverts the MikTeX settings by allowing to always install > > >>> packages on the fly, irrespective of the choice made through the > > >>> MikTeX console. > > >>> > > >> Are you sure? I have neither experienced this nor found anything > > related to > > >> this in the NSIS code. Maybe this was the case with the bundle > > installer? > > > Yes, I am sure. I have always been scared by that and didn't use the > > > installer for years. I tried it again when it was built by Riki, but > > > it was still like that. After using the installer I spent almost an hour > > > finding and uninstalling a lot of packages I never use. > > > Why is this not the case for me? I just tried LyX 2.2.0 standard installer > and it did not install any packages. The only prompt I got was asking to > *update* MiKTeX packages.
I don't know. Maybe you had already installed all needed packages. > Actually MiKTeX console has a user mode and an admin mode, any changes to > admin preferences will be also applied to user preferences, but if you then > change user preferences, admin preferences will not be changed. As a user > you can also choose to install missing packages to anyone using this > computer. When trying to compile a latex document with missing packages, > MiKTeX seems to always use the user preferences, no matter if the latex > editor is run as user or as admin, same goes ofcourse to the installer. If > an editor is run as a user and in MiKTeX's user preferences is chosen to > install for everyone, MiKTeX will ask for admin privileges though when > trying to install a missing package. I have MiKTeX configured so that to never install any packages when run as a normal user, but to always ask before installing packages when run as admin. In this way, packages are always installed for everyone. When I ran the installer it did not ask anything and simply installed everything. Note that I am not complaining here. I only use the cygwin version, and I would need the installer only for checking something very specific. Otherwise I use cygwin to build a run in place a cross-compiled version, because all needed software is already provided as mingw packages. This is very much like cross-compiling lyx on linux, with the difference that the cross-compiled version can also be run. -- Enrico -- lyx-devel mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-devel
