>>>>> "Alexis" == Alexis Huxley <[EMAIL PROTECTED]> writes:

Alexis> Hi, I have a document written in LyX, and converted to HTML,
Alexis> just using "FILE -> export -> HTML". The document contains
Alexis> many footnotes and tables and they come out quite wrong.

Alexis> The specific problems are:

Alexis> 1) Footnotes are not being handled correctly. What appears is
Alexis> this:

Alexis>         <main text>[EMAIL PROTECTED] @@footnote [EMAIL PROTECTED]@opt
Alexis> <footnote text>

This is code that we add when a footnote is added to section headings.
Unfortunately, we do not have a good way right now to tell the latex
exporter whether the output is for real latex of html.

Alexis> I have also tried converting lyx to HTML using lyxport, but
Alexis> that's just calling latex2html also, and gives the same
Alexis> results.

If you look at the .tex, you should find at the beginning the
following code:

%% Special footnote code from the package 'stblftnt.sty'
%% Author: Robin Fairbairns -- Last revised Dec 13 1996
\let\SF@@footnote\footnote
[EMAIL PROTECTED]@protect
    \expandafter\SF@@footnote
  \else
    [EMAIL PROTECTED]@opt
  \fi
}
\expandafter\def\csname [EMAIL PROTECTED]@opt [EMAIL PROTECTED]
  [EMAIL PROTECTED]@twobracket
  [EMAIL PROTECTED]
}
[EMAIL PROTECTED]@opt{\noexpand\protect
  \expandafter\noexpand\csname [EMAIL PROTECTED]@opt \endcsname}
[EMAIL PROTECTED]@twobracket[#1]#2{}

Just remove it, and try to run latex2html by hand again.

JMarc

Reply via email to