Le 15/03/2013 21:44, Georg Baum a écrit :
Some time ago we had a discussion about what changes to layout files are
allowed in a stable release. There were several proposals, from simple but
limited to powerful but complicated. Meanwhile I had another idea which is
IMHO quite simple but still powerful: Introduce a new "force local" flag for
layouts. If this flag is set, the layout is always stored as a special local
layout in the .lyx file. This flag would be set for any style which is added
to LyX 2.1.x (with x > 0). Then any such document could always be used by
LyX 2.1.x-1 as well, even including export. The same style in 2.2 (or
whathever it will be called) would not use this flag. Therefore, the stored
local layouts would be automatically deleted once the document is saved by
2.2.

What if the new textclass is modified in 2.1.(x+1) ? Does it get updated in the document? IOW, should these layout files have a version of their own to tell which one is the latest and greatest?

JMarc

Reply via email to