On 10/13/2018 01:24 PM, Paul Johnson wrote:
I have some projects based on LyX 2.2.3 that I want to work on and I
don't want to update to new. However, I also have projects based on
2.3 and I can't edit those with old LyX.

Liviu Andronic worked out a way for this to be possible a few years
ago, but I cannot find documents about it. I wish I could have old and
new lyx installed at same time, to easily run one or the other.
I've tried to do this by installing 2.3.1 from the Ubuntu package and
then compiling 2.2.3 from source and installing off the path, but then
I found the 2 versions should not share a user configuration folder.
After using 2.3.1 and allowing it to revise ~/.lyx, then lyx 2.2.3
cannot start. Error like this:

$ ./lyx
Warning: Could not read configuration file
----------------------------------------
Error while reading the configuration file
preferences.
Please check your installation.

So obviously I need to be more graceful, separate config folders.

I thought about building a new Debian package "lyx223". I'm pretty
sure that's what I think Liviu did.  For me that was a fail because
the deb packaging code for the lyx project has a lot of hard coded
folders like /usr/share/lyx, so it is not too easy to rebuild a
package to use alternate folders.

If you have advice about this, I would be glad to  hear it.

Two thoughts (both untested):

1. Start LyX 2.3 the usual way and start LyX 2.2.3 with
   "<path-to-it>/lyx -userdir <user directory for 2.2.3>".
2. Create a new user on computer just for LyX 2.2.3, install 2.2.3 as
   that user (or manually move the ~/.lyx folder for 2.2.3 to that
   user) and log in as that user when using 2.2.3.

Paul (the original one)


Reply via email to