]> git.lyx.org Git - lyx.git/commitdiff
tex2lyx/text.cpp: \linebreak and \pagebreak are first supported by LyX with fileforma...
authorUwe Stöhr <uwestoehr@web.de>
Mon, 15 Jun 2009 00:33:54 +0000 (00:33 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Mon, 15 Jun 2009 00:33:54 +0000 (00:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30106 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/text.cpp

index e6110904c9b1150bf1f62ca95172438555fd2a0b..89e26da81cca7c26a2ec3177911cd8d43d359893 100644 (file)
@@ -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);