]> git.lyx.org Git - features.git/commitdiff
Georg's lyx2lyx patch.
authorAngus Leeming <leeming@lyx.org>
Sat, 27 Mar 2004 16:49:46 +0000 (16:49 +0000)
committerAngus Leeming <leeming@lyx.org>
Sat, 27 Mar 2004 16:49:46 +0000 (16:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8548 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/ChangeLog
lib/lyx2lyx/lyxrevert_225.py

index 53115407699c71621b550e756e7570d7fd8a7d79..405112a8561e8bc831973572ab7d40f064178110 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
+
 2004-02-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * lyx2lyx: up the format to 230.
index 395fc8a62c69b63db95f39652fa9df33b270f9be..c2223fd54db52ee337ee8ae134cc48b71c7efb66 100644 (file)
@@ -265,7 +265,10 @@ def convert_frameless_box(lines):
            i = convert_ertlen(lines, i, params['height'], params['height_special'])
            lines[i] = lines[i] + '][' + inner_pos[params['inner_pos']] + ']{'
            i = convert_ertlen(lines, i, params['width'], params['special'])
-           lines[i] = lines[i] + '}{'
+            if params['use_parbox'] == '1':
+                lines[i] = lines[i] + '}{'
+            else:
+                lines[i] = lines[i] + '}'
            i = i + 1
            lines[i:i] = ['', '\\end_inset ']
            i = i + 2