]> git.lyx.org Git - features.git/blobdiff - lib/scripts/layout2layout.py
Enhance LyX by fixing bug 5587. We add a new ContentAsLabel tag to
[features.git] / lib / scripts / layout2layout.py
index 44af31d709a8330fb021c87a47cb18ade9cd5f1d..616e458d4af1a8c805e0feeb94e09694ba5a9ef5 100644 (file)
@@ -73,10 +73,13 @@ import os, re, string, sys
 # Incremented to format 19, 17 November 2009 by rgh
 # Added InPreamble tag.
 
+# Incremented to format 20, 17 December 2009 by rgh
+# Added ContentAsLabel tag.
+
 # Do not forget to document format change in Customization
 # Manual (section "Declaring a new text class").
 
-currentFormat = 19
+currentFormat = 20
 
 
 def usage(prog_name):
@@ -245,7 +248,7 @@ def convert(lines):
             continue
 
         # This just involved new features, not any changes to old ones
-        if format == 14 or format == 15 or format == 16 or format == 17 or format == 18:
+        if format >= 14 and format <= 19:
           i += 1
           continue