mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
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:
parent
b40db6b561
commit
180b205049
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user