]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/layout2layout.py
whitespace.
[lyx.git] / lib / scripts / layout2layout.py
index 113227b8efe43a121da94e852d0ecc700f19446f..c0829e6cd46009292d2c2c9e7f4e09b14eaced33 100644 (file)
@@ -11,7 +11,7 @@
 # This script will update a .layout file to current format
 
 # The latest layout format is also defined in src/TextClass.cpp
-currentFormat = 60
+currentFormat = 62
 
 
 # Incremented to format 4, 6 April 2007, lasgouttes
@@ -202,6 +202,12 @@ currentFormat = 60
 # Incremented to format 60, 25 March 2016 by lasgouttes
 # Rename caption subtype LongTableNoNumber to Unnumbered
 
+# Incremented to format 61, 14 October 2016 by spitz
+# New Layout tags "ResumeCounter", "StepMasterCounter"
+
+# Incremented to format 62, 21 October 2016 by spitz
+# New Layout argument tag "PassThru"
+
 # Do not forget to document format change in Customization
 # Manual (section "Declaring a new text class").
 
@@ -445,6 +451,11 @@ def convert(lines, end_format):
                 i += 1
             continue
 
+        if format >= 60 and format <= 61:
+            # nothing to do.
+            i += 1
+            continue
+
         if format == 59:
             match = re_InsetLayout_CaptionLTNN.match(lines[i])
             if not match: