24/03/2014 12:14, Jean-Marc Lasgouttes:

The preference file is in the user directory. It should be kept when LyX
is updated, because it represents the personal choices of the user.

The lyxrc.dist file lives in the LyX install directory. It can be
customized by the installer to contain any weird path that may be
useful. This is really system-level.

My question is whether Uwe's installer enforces this dichotomy. If it
does, then I do not see what problem we may have with reinstallation.

OK, I finally installed LyX2.1beta2 in a windows virtual machine to see it by myself. The path_prefix is indeed set in lyxrc.dist, which is a good thing IMO. However, I find it in preferences too:

lyxrc.dist:
\path_prefix "$LyXDir\bin;$LyXDir\Python;$LyXDir\Python\Lib;$LyXDir\imagemagick;C:\Program Files (x86)\LyX 2.1\ghostscript\bin"

preferences:
\path_prefix "$LyXDir/bin;$LyXDir/Python;$LyXDir/Python/Lib;$LyXDir/imagemagick;C:/Program Files (x86)/LyX 2.1/ghostscript/bin"

If I understand correctly, the problem is that the path prefix is written in native form in lyxrc.dist, but in portable form in preferences. One of thoses choices is wrong, but I do not know which one...

What are we supposed to do for file names in the preferences file? Write them in portable format? If yes, then the installer is wrong to write the path_prefix in native form.

JMarc


Reply via email to