More fixes, same issue.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25040 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-06-01 02:22:44 +00:00
parent b40db6b561
commit 180b205049

View File

@ -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