Am Dienstag, 3. Januar 2006 18:04 schrieb Bennett Helm:
> In several respects, LyX-1.4.x is not compatible with lyx-1.3.x:  
> *.bind files and *.ui files have changed significantly, and the  
> preferences file ought to be updated. (Are there more issues that  
> might affect the transition non-transparently?)

The old preferences file should work just fine, and every setting should 
be overtaken by LyX 1.4.0. Of course the updated file will not work with 
1.3.x anymore.

> What, then, is the best way to have normal users upgrade from 1.3.x  
> to 1.4? Here are some possibilities:
> 
> 1. Have a dumb installer simply move the preferences file to  
> preferences.bak and install a default preferences file in its place.  
> The LyX User's directory is otherwise left intact. This has the  
> potential of creating conflicts between LyX-1.3.x and LyX-1.4.0,  
> since they would use the same User's directory.

preferences.bak will not help much. As soon as the installer is run a 
second time, it will be useless.

> 2. Create a "smarter" installer that edits the preferences file,  
> commenting out lines starting with \bind_file and \ui_file (and  
> warning the user), but otherwise leaving preferences intact. (Are  
> there other lines that should be edited?)

Too much work to get it right IMHO.

> 3. Configure LyX-1.4.0 to use a version suffix (which, if I remember  
> correctly, alters the name of the User's directory), and let the user  
> manually transfer preference settings and files from the one to the  
> other.

Safe option.

> 4. A combination of (2) and (3): modifying the preferences file as  
> with (2), and copying it to the new User's directory from (3).
> 
> 5. Some other option ....

6. Use a version suffix, but copy the complete user directory. I don't see 
why only the preferences file should be preserved, and no layout files. 
The user will se if there are problems with ui and bind files.

7. Don't care at all. Write in the release notes that the user directory 
should be saved, and leave it up to the user to do that.


Georg

Reply via email to