]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/layout2layout.py
Add ObsoletedBy tag to InsetLayout
[lyx.git] / lib / scripts / layout2layout.py
index 199a31834e2a18296d49eba65105686c7324a85f..cf1374463b3e4b516854842c8e6cd4735e0bb7df 100644 (file)
@@ -171,14 +171,20 @@ import os, re, string, sys
 # 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 = 51
+currentFormat = 53
 
 
 def usage(prog_name):
@@ -402,7 +408,7 @@ def convert(lines):
                 i += 1
             continue
 
-        if format == 50:
+        if format >= 50 and format <= 52:
             # nothing to do.
             i += 1
             continue