From 180b205049dc7c7bb0b5142048d5c55bb59f2922 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 1 Jun 2008 02:22:44 +0000 Subject: [PATCH] More fixes, same issue. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25040 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_1_6.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/lyx2lyx/lyx_1_6.py b/lib/lyx2lyx/lyx_1_6.py index dc12990c56..894a1ad7d5 100644 --- a/lib/lyx2lyx/lyx_1_6.py +++ b/lib/lyx2lyx/lyx_1_6.py @@ -1625,10 +1625,10 @@ def revert_rotfloat(document): if floattype == "algorithm": add_to_preamble(document, ['% Commands inserted by lyx2lyx for sideways algorithm float', - '\\usepackage{rotfloat}\n' - '\\floatstyle{ruled}\n' - '\\newfloat{algorithm}{tbp}{loa}\n' - '\\floatname{algorithm}{Algorithm}\n']) + '\\usepackage{rotfloat}', + '\\floatstyle{ruled}', + '\\newfloat{algorithm}{tbp}{loa}', + '\\floatname{algorithm}{Algorithm}']) else: document.warning("Cannot create preamble definition for custom float" + floattype + ".") i = i + 1