mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
small fixes to minipages convertions and retroversions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10334 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f70191cc10
commit
7b8d863cb3
@ -1,3 +1,8 @@
|
||||
2005-07-18 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx_1_4.py (convert_minipage, convert_frameless_box): small
|
||||
fixes to minipages convertions and retroversions.
|
||||
|
||||
2005-07-18 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
|
||||
|
@ -855,7 +855,7 @@ def convert_minipage(file):
|
||||
if file.body[i][:6] == "height":
|
||||
height = file.body[i][6:]
|
||||
# test for default value of 221 and convert it accordingly
|
||||
if height == ' "0pt"':
|
||||
if height == ' "0pt"' or height == ' "0"':
|
||||
height = ' "1pt"'
|
||||
del file.body[i]
|
||||
else:
|
||||
@ -1112,7 +1112,6 @@ def convert_frameless_box(file):
|
||||
if (params['use_parbox'] != '0' or
|
||||
params['has_inner_box'] != '1' or
|
||||
params['special'] != 'none' or
|
||||
inner_pos[params['inner_pos']] != pos[params['position']] or
|
||||
params['height_special'] != 'totalheight' or
|
||||
len2value(params['height']) != 1.0):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user