]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/layout2layout.py
Minor updates to XHTML info.
[lyx.git] / lib / scripts / layout2layout.py
index e93966a81478736e790d85f68628576774680101..0c85e57ad7f62850dbee0309ec33f78b6fdb516f 100644 (file)
@@ -91,6 +91,12 @@ import os, re, string, sys
 # Incremented to format 25, 12 March 2010 by rgh
 # Added RefPrefix tag for layouts and floats.
 
+# Incremented to format 26, 29 March 2010 by rgh
+# Added CiteFormat.
+
+# Incremented to format 27, 4 June 2010 by rgh
+# Added RequiredArgs tag.
+
 # Do not forget to document format change in Customization
 # Manual (section "Declaring a new text class").
 
@@ -98,7 +104,7 @@ import os, re, string, sys
 # development/tools/updatelayouts.sh script to update all
 # layout files to the new format.
 
-currentFormat = 25
+currentFormat = 27
 
 
 def usage(prog_name):
@@ -271,7 +277,7 @@ def convert(lines):
             continue
         
         # Only new features
-        if format == 24:
+        if format >= 24 and format <= 26:
             i += 1
             continue