From 24b0ea7c95a6cfaf13ba1a4e5548f8c1a1c0e08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sat, 23 May 2015 23:58:19 +0200 Subject: [PATCH] lyx2lyx/lyx2lyx_tools.py: add support for parsing newline in lyx2latex --- lib/lyx2lyx/lyx2lyx_tools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lyx2lyx/lyx2lyx_tools.py b/lib/lyx2lyx/lyx2lyx_tools.py index 9c6943909a..3bed2311e2 100644 --- a/lib/lyx2lyx/lyx2lyx_tools.py +++ b/lib/lyx2lyx/lyx2lyx_tools.py @@ -204,6 +204,8 @@ def lyx2latex(document, lines): line = "''" else: line = "'" + elif line.startswith("\\begin_inset Newline newline"): + line = "\\\\ " elif line.startswith("\\begin_inset space"): line = line[18:].strip() if line.startswith("\\hspace"):