X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fscripts%2Flayout2layout.py;h=5e9d3483dee51f3871fcc7dd7ba3ef9b889ee765;hb=642b4acca1900c55662030ffc5162e9504881764;hp=a5b00e10bfda19a036b404ae3864916203a62af9;hpb=d6fb2abbea4047581c2a4c49a88d2443e5bd6475;p=lyx.git diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py index a5b00e10bf..5e9d3483de 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 = 66 +currentFormat = 75 # Incremented to format 4, 6 April 2007, lasgouttes @@ -221,7 +221,36 @@ currentFormat = 66 # Color collapsable -> collapsible # Incremented to format 66, 28 December 2017 by spitz -# New Layout tag "AutoNests ... EndAutoNests" +# New Layout tags "AutoNests ... EndAutoNests" and +# "IsAutoNestedBy ... EndIsAutoNestedBy" + +# Incremented to format 67, 14 April 2018 by spitz +# New Layout tag "NeedsCProtect" + +# Incremented to format 68, 21 May 2018 by spitz +# New Layout tag "AddToCiteEngine" + +# Incremented to format 69, 16 August 2018 by spitz +# New argument type "listpreamble" + +# Incremented to format 70, 5 June 2018 by rkh +# New InsetLayout tag EditExternal + +# Incremented to format 71, 12 March 2019 by spitz +# New [Inset]Layout tag NeedMBoxProtect + +# Incremented to format 72, 26 March 2019 by spitz +# New TextClass tag TableStyle + +# Incremented to format 73, 18 April 2019 by spitz +# New InsetLayout tag MenuString + +# Incremented to format 74, 18 April 2019 by spitz +# New InsetLayout and Argument tag NewlineCmd + +# Incremented to format 75, 2 June 2019 by spitz +# New Argument tags FreeSpacing, InsertOnNewline +# New InsetLayout tag ParbreakIgnored # Do not forget to document format change in Customization # Manual (section "Declaring a new text class"). @@ -472,7 +501,7 @@ def convert(lines, end_format): i += 1 continue - if format == 65: + if format >= 65 and format <= 74: # nothing to do. i += 1 continue