Author: uwestoehr
Date: Sat Nov 6 18:42:26 2010
New Revision: 36165
URL: http://www.lyx.org/trac/changeset/36165
Log:
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
Modified:
lyx-devel/trunk/lib/lyx2lyx/lyx_2_0.py
Modified: lyx-devel/trunk/lib/lyx2lyx/lyx_2_0.py
==============================================================================
--- lyx-devel/trunk/lib/lyx2lyx/lyx_2_0.py Sat Nov 6 16:24:37 2010
(r36164)
+++ lyx-devel/trunk/lib/lyx2lyx/lyx_2_0.py Sat Nov 6 18:42:26 2010
(r36165)
@@ -951,7 +951,6 @@
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 @@
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 @@
i = cend
if multirow == True:
+ add_to_preamble(document, ["% this command was inserted by lyx2lyx"])
add_to_preamble(document, ["\\usepackage{multirow}"])