Increase tex2lyx output format to 323.

323: Create newpage inset in new syntax


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37010 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2010-12-27 17:58:36 +00:00
parent e4efa00f8c
commit 6639d78601
2 changed files with 4 additions and 2 deletions

View File

@ -114,7 +114,7 @@ extern CommandMap known_math_environments;
///
extern bool noweb_mode;
/// LyX format that is created by tex2lyx
int const LYX_FORMAT = 322;
int const LYX_FORMAT = 323;
/// path of the master .tex file
extern std::string getMasterFilePath();

View File

@ -2747,7 +2747,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
t.cs() == "clearpage" ||
t.cs() == "cleardoublepage") {
context.check_layout(os);
os << "\n\\" << t.cs() << "\n";
begin_inset(os, "Newpage ");
os << t.cs();
end_inset(os);
skip_spaces_braces(p);
}