From: Uwe Stöhr Date: Sat, 6 Nov 2010 17:42:26 +0000 (+0000) Subject: lyx_2_0.py: X-Git-Tag: 2.0.0~1955 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=613cad54a4b14b5fe055b6ef3567580cbab77db6;p=lyx.git lyx_2_0.py: - remove 2 fixmes; we can be sure that there is space between the table entries - add comment for the preamble that got lost the last days git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36165 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/lyx2lyx/lyx_2_0.py b/lib/lyx2lyx/lyx_2_0.py index 624bad9347..40238724a3 100644 --- a/lib/lyx2lyx/lyx_2_0.py +++ b/lib/lyx2lyx/lyx_2_0.py @@ -951,7 +951,6 @@ def revert_multirow(document): multirow = True # remove the multirow tag, set the valignment to top # and remove the bottom line - # FIXME Are we sure these always have space around them? document.body[i] = document.body[i].replace(' multirow="3" ', ' ') document.body[i] = document.body[i].replace('valignment="middle"', 'valignment="top"') document.body[i] = document.body[i].replace(' bottomline="true" ', ' ') @@ -988,7 +987,6 @@ def revert_multirow(document): break # remove the multirow tag, set the valignment to top # and remove the top line - # FIXME Are we sure these always have space around them? document.body[k] = document.body[k].replace(' multirow="4" ', ' ') document.body[k] = document.body[k].replace('valignment="middle"', 'valignment="top"') document.body[k] = document.body[k].replace(' topline="true" ', ' ') @@ -997,6 +995,7 @@ def revert_multirow(document): i = cend if multirow == True: + add_to_preamble(document, ["% this command was inserted by lyx2lyx"]) add_to_preamble(document, ["\\usepackage{multirow}"])