Hello Ross!
> >First, I think there must be a additional BORDER="0" with the image
> >that is the active link to the footnote. Otherwise (at least with
> >Netscape 4.0) there is a border around the equation.
>
> I don't get this problem. The BORDER="0" has always been there
> in all the examples I've tried:
> A. no switches (novice-math)
> B. -no_math (pro-math)
> C. -no_math -html_version 3.2,math (expert-math)
>
> It is a default for all images made by LaTeX2HTML.
>
> (approx) line 9203 : $border = "\" BORDER=\"0" unless ($HTML_VERSION < 2.2);
>
> Perhaps you have an old setting in some .latex2html-init file
> that sets $HTML_VERSION to 2.1 or 2.2 ?
> Check your latex2html.config and your $HOME directory.
>
No, it was version 3.2, the problem is that BORDER="0" is not
the default for displaymath.
I did the following patch to latex2html, to get BORDER="0" with
the displaymath-environment. I have no idea, why displaymath
was present in the if-part, which does nothing and also in the
elsif-part. My be there are some nasty sideeffects of this
modification.
--- PART OF latex2html of sub embed_image around line 9200 ---
local($border);
$border = "\" BORDER=\"0" unless ($HTML_VERSION < 2.2 );
# AO
#
# In the following line I removed displaymath to get
# BORDER="0" with displaymath
if (($name =~ /figure|table|eqnarraystar/)&&(!$align)) {
} elsif ($name =~ /displaymath_/) {
$aalign = "MIDDLE".$border;
} elsif (($name =~ /(equation|eqnarray)($|\d)/)&&(!$align)) {
if ($HTML_VERSION >= 3.2) {
$aalign = ($EQN_TAGS eq "L") ? "RIGHT" : "LEFT";
};
# $aalign .= "\" ALIGN=\"middle"; }
# elsif ($EQN_TAGS eq "L") { $aalign = "left" }
# elsif ($EQN_TAGS eq "R") { $aalign = "right" }
} elsif ($name =~ /inline|display|entity|xy|diagram/ && $depth{$name} != 0) {
$aalign = "MIDDLE".$border;
# } elsif (($name =~indisplay)&&($HTML_VERSION >= 3.2)) {
# $aalign = "MIDDLE".$border;
} else { $aalign = "BOTTOM".$border }
----------------------------------------------------------------
>
>
> >Second, l2h is not interpreting that part of the formula that is used
> >as the footnotemark as part of a math-environment. So
> >
> >\[a \leq b\overline{c}\footnotemark\]
>
> This doesn't happen with (expert-math) but it does
> with the other modes.
>
> That is a lot harder to handle, because it means
> 1. recognising that it is in mathematics
> (it could be after a word inside an \mbox or \text )
> 2. collecting a well-formed piece of mathematics to make an image
> (or perhaps parsing it, depending on the mode)
>
> Maybe it is best to have a generic term, like: <image>
> rather than attempt to extract the previous word ?
I think it's save to wrap the choosen part of footnotemark in $...$ and
treat it as an normal inline image if the footnotemark is inside a
displaymath-environment.
> Try using expert-math mode.
> For your kind of work I think you'll find you'll get large savings
> in the total size of the documents + images that are produced.
I will try that, thanks
Andreas Otte
([EMAIL PROTECTED])