# 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
# 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").
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: