X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fscripts%2Flayout2layout.py;h=cf1374463b3e4b516854842c8e6cd4735e0bb7df;hb=cfeddb92;hp=199a31834e2a18296d49eba65105686c7324a85f;hpb=953a4d13d928517be121cca2a8f2c4bd93ca2137;p=lyx.git diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py index 199a31834e..cf1374463b 100644 --- a/lib/scripts/layout2layout.py +++ b/lib/scripts/layout2layout.py @@ -171,14 +171,20 @@ import os, re, string, sys # Incremented to format 51, 29 May 2014 by spitz # New Style tag "ToggleIndent" +# Incremented to format 52, 1 December 2014 by spitz +# New InsetLayout tag "ForceOwnlines" + +# Incremented to format 53, 7 December 2014 by spitz +# New InsetLayout tag "ObsoletedBy" + # Do not forget to document format change in Customization # Manual (section "Declaring a new text class"). # You might also want to consider running the -# development/tools/updatelayouts.sh script to update all +# development/tools/updatelayouts.py script to update all # layout files to the new format. -currentFormat = 51 +currentFormat = 53 def usage(prog_name): @@ -402,7 +408,7 @@ def convert(lines): i += 1 continue - if format == 50: + if format >= 50 and format <= 52: # nothing to do. i += 1 continue