I'm importing a student's PhD dissertation into LyX to use the "track
changes" function for markup. Unfortunately, there seems to be a
conflict between some LyX default behavior and the algorithm2e.sty
package:
! LaTeX Error: Command \algorithm already defined.
Or name \end... illegal, see p.192 of the manual.
I used the command line to translate LyX to LaTeX,
lyx --export latex WahbaSummary.lyx
and found the following code in the .tex file:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
\floatstyle{ruled}
\newfloat{algorithm}{tbp}{loa}
\floatname{algorithm}{Algorithm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
If I comment out the \newfloat and \floatname commands, then the error
goes away. Is there a way to get rid of them without manually editing
the .tex file?
A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar