]> git.lyx.org Git - features.git/blobdiff - lib/lyx2lyx/lyx_1_4.py
fix lyx2lyx conversion of page breaks
[features.git] / lib / lyx2lyx / lyx_1_4.py
index f459ef43ff0ebb1f75d6a416fa694ccb74f9cfa6..125086ee275355f8bd16f2d005fbc4749c211d56 100644 (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','','']