New Windows Installers for Testing
Yu Jin
technikmagma at gmail.com
Wed Jun 10 10:11:13 UTC 2020
Am Mi., 10. Juni 2020 um 11:50 Uhr schrieb Enrico Forestieri <forenr at lyx.org
>:
> On Wed, Jun 10, 2020 at 09:40:58AM +0200, Yu Jin wrote:
> > 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.
>
I most certainly didn't.
> 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.
>
Just to add, when you have a setup like following: 2 Windows accounts, 1
admin and 1 non admin. Then you log in to Windows as the non admin account
and then run installer/latex editor as admin. That means that you run it as
the admin account, so if there is a missing package in a latex document,
MiKTeX will consider settings of the admin *user*, not the user you are
currently logged in with. E.g. if you set "always install..." for the
admin *user
*in MiKTeX, other settings won't matter, installer/editor will install all
packages even if you are logged in in a completely different (non admin)
account, as long as you run it as admin.
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.
>
Based on what I wrote above, this configuration isn't even possible if it
is the same windows account you are talking about, since MiKTeX always
considers *user *preferences. This would only be possible if you have a
separate admin account and set "ask me first" in the *user *preferences on
that account.
> 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.
>
Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200610/a2c98040/attachment.html>
More information about the lyx-devel
mailing list