]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/layout2layout.py
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / lib / scripts / layout2layout.py
index 6eebac565b81942bc83887099c77fb6cf745c1ab..585538d2edaf62006897255a2071c0c6b0cf2fdf 100644 (file)
@@ -132,6 +132,9 @@ import os, re, string, sys
 # Incremented to format 38, 08 April 2012 by gb
 # Introduce LangPreamble and BabelPreamble for InsetLayout.
 
+# Incremented to format 39, 15 April 2012 by sanda
+# Introduce styling of branches via "InsetLayout Branch:".
+
 # Do not forget to document format change in Customization
 # Manual (section "Declaring a new text class").
 
@@ -139,7 +142,7 @@ import os, re, string, sys
 # development/tools/updatelayouts.sh script to update all
 # layout files to the new format.
 
-currentFormat = 38
+currentFormat = 39
 
 
 def usage(prog_name):
@@ -325,6 +328,10 @@ def convert(lines):
                 i += 1
             continue
 
+        if format == 38:
+          i += 1
+          continue
+
         if format == 37:
           i += 1
           continue