From 8bda8d10b81771bf5e352bb4d50762e21bc50e51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Mon, 15 Jun 2009 00:33:54 +0000 Subject: [PATCH] tex2lyx/text.cpp: \linebreak and \pagebreak are first supported by LyX with fileformat 300 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30106 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/text.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index e6110904c9..89e26da81c 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -2366,8 +2366,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, } } - else if (t.cs() == "newline" || - t.cs() == "linebreak") { + else if (t.cs() == "newline") { context.check_layout(os); os << "\n\\" << t.cs() << "\n"; skip_braces(p); // eat {} @@ -2485,7 +2484,6 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, } else if (t.cs() == "newpage" || - t.cs() == "pagebreak" || t.cs() == "clearpage" || t.cs() == "cleardoublepage") { context.check_layout(os); -- 2.39.2