mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Bump layout format to 40, in preparation for conversion of layout
categories.
This commit is contained in:
parent
bf8eb3ab6b
commit
98656dd15b
@ -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
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user