]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/layout2layout.py
Forgot this bit from last commit.
[lyx.git] / lib / scripts / layout2layout.py
index 251492b42f8642633da815069209e7b84a951076..e10bfc8118cd701dbe79f5011db6d5cfe2d0acf3 100644 (file)
 
 import os, re, string, sys
 
+# Incremented to format 4, 6 April 2007, lasgouttes
+# Introduction of generic "Provides" declaration
 
-# incremented 24 March 2008 by rgh
+# Incremented to format 5, 22 August 2007 by vermeer
+# InsetLayout material
+
+# Incremented to format 6, 7 January 2008 by spitz
+# Requires tag added to layout files
+
+# Incremented to format 7, 24 March 2008 by rgh
 # AddToPreamble tag added to layout files
-currentFormat = 7
+
+# Incremented to format 8, 25 July 2008 by rgh
+# UseModule tag added to layout files
+# CopyStyle added to InsetLayout
+
+# Incremented to format 9, 5 October 2008 by rgh
+# ForcePlain and CustomPars tags added to InsetLayout
+
+currentFormat = 9
 
 
 def usage(prog_name):
@@ -160,11 +176,8 @@ def convert(lines):
                 i += 1
             continue
 
-        if format == 6:
-          i += 1
-          continue
-
-        if format == 5:
+        # These just involved new features, not any changes to old ones
+        if format >= 5 and format <= 8:
           i += 1
           continue