fix lyx2lyx conversion of page breaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9879 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2005-04-26 15:42:03 +00:00
parent fb70c52b05
commit f402d2c6f9
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* lyx_1_4.py (convert_breaks): fix copy-and-paste error
2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* lyx_1_4.py (lyx_support_escape): new

View File

@ -558,7 +558,7 @@ def convert_breaks(file):
# Create an empty paragraph for line and page break that belong
# above the paragraph
if pb_top !=-1 or line_top != -1 or vspace_bot != -1:
if pb_top !=-1 or line_top != -1 or vspace_top != -1:
paragraph_above = ['','\\begin_layout Standard','','']
@ -583,7 +583,7 @@ def convert_breaks(file):
if k == -1:
return
if pb_top !=-1 or line_top != -1 or vspace_bot != -1:
if pb_bot !=-1 or line_bot != -1 or vspace_bot != -1:
paragraph_bellow = ['','\\begin_layout Standard','','']