The fact that LyX 1.4 can't read all 1.3 layout files will annoy users 
with customized layout files.
Since the differences are small I hacked together a little converter. It  
will convert 1.3 layout files to 1.4 format. Usage:

python layout2layout.py old.layout new.layout

or as a filter:

python layout2layout.py <old.layout >new.layout

I'd like to see this integrated in 1.4.0: Either call it at configure time 
and convert all layout files permanently, or call it from 
LyXTextClass::Read() if a layout file is too old. For the latter we 
should probably add version information to the layout files.

Comments?


Georg

Attachment: layout2layout.py
Description: application/python

Reply via email to