mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 20:09:59 +00:00
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:
parent
e4efa00f8c
commit
6639d78601
@ -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();
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user