diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py index 333ef1b520..5b7b4ff762 100644 --- a/lib/scripts/layout2layout.py +++ b/lib/scripts/layout2layout.py @@ -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 = 80 +currentFormat = 81 # Incremented to format 4, 6 April 2007, lasgouttes @@ -268,6 +268,9 @@ currentFormat = 80 # Incremented to format 80, 12 August 2019 by spitz # New float option Requires +# Incremented to format 80, 12 August 2019 by rikiheck +# New tag GuiName for counters + # Do not forget to document format change in Customization # Manual (section "Declaring a new text class"). @@ -517,7 +520,7 @@ def convert(lines, end_format): i += 1 continue - if format >= 65 and format <= 79: + if format >= 65 and format <= 80: # nothing to do. i += 1 continue diff --git a/src/TextClass.cpp b/src/TextClass.cpp index 4058815d59..c8fbfaf966 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -62,7 +62,7 @@ namespace lyx { // You should also run the development/tools/updatelayouts.py script, // to update the format of all of our layout files. // -int const LAYOUT_FORMAT = 80; // spitz: Requires for floats +int const LAYOUT_FORMAT = 81; // rikiheck: GuiName for counters // Layout format for the current lyx file format. Controls which format is