X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fscripts%2Flayout2layout.py;h=cf1374463b3e4b516854842c8e6cd4735e0bb7df;hb=cfeddb92;hp=10811e73b4c00b71e60eeb858dc14a9532f0b1a0;hpb=f47361c4db69c7de87471d15cb0156d2bc0cdda8;p=lyx.git diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py index 10811e73b4..cf1374463b 100644 --- a/lib/scripts/layout2layout.py +++ b/lib/scripts/layout2layout.py @@ -174,6 +174,9 @@ import os, re, string, sys # Incremented to format 52, 1 December 2014 by spitz # New InsetLayout tag "ForceOwnlines" +# Incremented to format 53, 7 December 2014 by spitz +# New InsetLayout tag "ObsoletedBy" + # Do not forget to document format change in Customization # Manual (section "Declaring a new text class"). @@ -181,7 +184,7 @@ import os, re, string, sys # development/tools/updatelayouts.py script to update all # layout files to the new format. -currentFormat = 52 +currentFormat = 53 def usage(prog_name): @@ -405,7 +408,7 @@ def convert(lines): i += 1 continue - if format == 50 or format == 51: + if format >= 50 and format <= 52: # nothing to do. i += 1 continue