Le 31/01/2018 à 07:36, Scott Kostyshak a écrit :
If a file from an earlier version of LyX is opened *and saved* with
any version of 2.3.x, then the original file will automatically be
backed up. The backup file will be found in the backup directory, if one
is set under Tools> Preferences> Paths, or else in the same folder as
the original file, if no backup directory is set. The filename of the
backup file will be:
     ORIGNAME-lyxformat-NUM.lyx~
where NUM is the LyX format number of the original file. In the case of
2.2.x file, this will be 508, but in the case of older files it will be
different.

It would be nice if we were able to translate lyxformat values that correspond to stable release to a nicer name. For example, -22x.lyx~ instead of -lyxformat-508.lyx~, or even .22.lyx~, a bit like what export as 2.2.x does. However I do not know where to get this information from.

A solution would be to let lyx2lyx do the backup itself (with a relevant command) instead of hardcoding it in Buffer.cpp.

Now that I think if it, this is how things should have been done from the beginning.

José, are you reading this?

JMarc

Reply via email to