lyx2lyx support for unrecognizable listings parameter

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18763 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-06-13 14:38:34 +00:00
parent b06797a312
commit 6551f0afa8
4 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,10 @@
LyX file-format changes
-----------------------
2007-06-13 Bo Peng <bpeng@lyx.org>
* format incremented to 272: convert listings to ERT because
earlier versions of lyx can not handle unrecognizable
listings parameters.
2007-05-15 José Matos <jamatos@lyx.org>
* format incremented to 271: extended textclasses accept the
normal font sizes: 10, 11 and 12pt.

View File

@ -77,7 +77,7 @@ format_relation = [("0_06", [200], generate_minor_versions("0.6" , 4)),
("1_2", [220], generate_minor_versions("1.2" , 4)),
("1_3", [221], generate_minor_versions("1.3" , 7)),
("1_4", range(222,246), generate_minor_versions("1.4" , 4)),
("1_5", range(246,272), generate_minor_versions("1.5" , 0))]
("1_5", range(246,273), generate_minor_versions("1.5" , 0))]
def formats_list():

View File

@ -1688,9 +1688,11 @@ convert = [[246, []],
[269, []],
[270, []],
[271, [convert_ext_font_sizes]]
[272, []],
]
revert = [
[271, [revert_preamble_listings_params, revert_listings_inset, revert_include_listings]],
[270, [revert_ext_font_sizes]],
[269, [revert_beamer_alert, revert_beamer_structure]],
[268, [revert_preamble_listings_params, revert_listings_inset, revert_include_listings]],

View File

@ -142,7 +142,7 @@ using std::string;
namespace {
int const LYX_FORMAT = 271;
int const LYX_FORMAT = 272;
} // namespace anon