Bump layout format to 40, in preparation for conversion of layout

categories.
This commit is contained in:
Richard Heck 2012-10-10 13:22:54 -04:00
parent bf8eb3ab6b
commit 98656dd15b
2 changed files with 8 additions and 4 deletions

View File

@ -135,6 +135,9 @@ import os, re, string, sys
# Incremented to format 39, 15 April 2012 by sanda
# Introduce styling of branches via "InsetLayout Branch:".
# Incremented to format 40, 10 October 2012 by rgh
# Re-do layout names for layout categories
# Do not forget to document format change in Customization
# Manual (section "Declaring a new text class").
@ -142,7 +145,7 @@ import os, re, string, sys
# development/tools/updatelayouts.sh script to update all
# layout files to the new format.
currentFormat = 39
currentFormat = 40
def usage(prog_name):
@ -328,11 +331,12 @@ def convert(lines):
i += 1
continue
if format == 38:
if format == 39:
# something more substantil will be inserted here shortly
i += 1
continue
if format == 37:
if format == 37 or format == 38:
i += 1
continue

View File

@ -60,7 +60,7 @@ namespace lyx {
// development/tools/updatelayouts.sh script, to update the format of
// all of our layout files.
//
int const LAYOUT_FORMAT = 39; //sanda branch styling
int const LAYOUT_FORMAT = 40; // rgh categorized layouts
namespace {