]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/layout2layout.py
Add ObsoletedBy tag to InsetLayout
[lyx.git] / lib / scripts / layout2layout.py
index 1326a81f8faba7572dfe077ac974091bf7ecbf98..cf1374463b3e4b516854842c8e6cd4735e0bb7df 100644 (file)
@@ -168,14 +168,23 @@ import os, re, string, sys
 # Incremented to format 50, 9 May 2014 by forenr
 # Removal of "Separator" layouts
 
+# Incremented to format 51, 29 May 2014 by spitz
+# New Style tag "ToggleIndent"
+
+# 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").
 
 # You might also want to consider running the
-# development/tools/updatelayouts.sh script to update all
+# development/tools/updatelayouts.py script to update all
 # layout files to the new format.
 
-currentFormat = 50
+currentFormat = 53
 
 
 def usage(prog_name):
@@ -399,6 +408,11 @@ def convert(lines):
                 i += 1
             continue
 
+        if format >= 50 and format <= 52:
+            # nothing to do.
+            i += 1
+            continue
+
         if format == 49:
             separator = []