Guillaume Munch wrote:

> The Python code in prefs2prefs_lfuns.lyx is going to be
> 
> def conv_tabular_features(line):
> line = simple_renaming(line, "inset-modify tabular from-dialog",
> "inset-modify tabular")
> return simple_renaming(line, "inset-modify tabular", "tabular-feature")
> 
> 
> If we allow ourselves to duplicate the code then I expect it to be easy
> indeed, but I welcome your input if you give me the equivalent code
> using the functions in lyx2lyx.

Duplicating the code would be my proposal. Since we do not forbid people to 
use the info insets, it is a good idea to update them via lyx2lyx IMHO. 

Duplicating the code in prefs2prefs and lyx2lyx is not a 100% perfect 
solution, but an acceptable compromise IMHO since this code gets written 
once and does not need to be maintained.


Georg


Reply via email to