From 3d75bdc0351b73fd9432378dcea9ae31084bf76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Mon, 20 Dec 2010 01:29:48 +0000 Subject: [PATCH] tex2lyx/text.cpp: add some further missing things from r36947 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36957 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/text.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 45a1058aad..7eddc0ec80 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -2551,7 +2551,8 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, } } - else if (t.cs() == "newline") { + else if (t.cs() == "newline" + || t.cs() == "linebreak") { context.check_layout(os); os << "\n\\" << t.cs() << "\n"; skip_spaces_braces(p); @@ -2694,6 +2695,7 @@ 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);