X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyx2lyx%2Flyx_1_1_5.py;h=304ff7a48e644b3f49d67a8fbfe41006b0cd2a65;hb=4106fe37ac3afd6179d90f936512941d6920242e;hp=001e959c1288e3698e7786cc7b928adbc0d272b4;hpb=26c0f379c7c997b9158ebe6792e62c52e6e21db3;p=lyx.git diff --git a/lib/lyx2lyx/lyx_1_1_5.py b/lib/lyx2lyx/lyx_1_1_5.py index 001e959c12..304ff7a48e 100644 --- a/lib/lyx2lyx/lyx_1_1_5.py +++ b/lib/lyx2lyx/lyx_1_1_5.py @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """ Convert files to the file format generated by lyx 1.1.5""" @@ -99,7 +99,7 @@ def update_tabular(document): if len(col_info) == 3: lines[i] = lines[i] + '"" ""' else: - lines[i] = "".join(col_info[:3]) + ' "%s" ""' % col_info[3] + lines[i] = " ".join(col_info[:3]) + ' "%s" ""' % col_info[3] i = i + 1 while lines[i]: @@ -187,7 +187,7 @@ def latexdel_getargs(document, i): document.warning("Unexpected end of inset.") j = find_token(lines, '\\begin_inset LatexDel }{', i) - ref = "".join(lines[i:j]) + ref = " ".join(lines[i:j]) del lines[i:j + 1] # play safe, clean empty lines @@ -202,7 +202,7 @@ def latexdel_getargs(document, i): else: document.warning("Unexpected end of inset.") j = find_token(lines, '\\begin_inset LatexDel }', i) - label = "".join(lines[i:j]) + label = " ".join(lines[i:j]) del lines[i:j + 1] return ref, label