[l2h] problem with alt tag: formula is broken!

Julius Smith jos at ccrma.stanford.edu
Sun Dec 12 01:14:59 CET 2010


I don't believe the ALT tag is supposed to contain compilable TeX, in
general.  Search the latex2html script for 'flatten_math' to see what
all is done to it. - jos

On Thu, Dec 9, 2010 at 10:56 AM, Alberto Buffolino
<a.buffolino at gmail.com> wrote:
> Hello,
> I am a latex (and latex2html) beginner user and use them (from just 1 month
> or little more) to study tex mathematical document for university courses
> (first year).
> Latex2html is currently and correctly installed on my local system (Windows
> XP sp3 32-bit), but I have a strange (and very annoying) problem: generating
> html (3.2, 4.0, 4.1, is the same thing) from tex file, I often receive in
> output one (or more) page where some long formulas (especially in the array
> element) are reported in a strange broken format in ALT tag of images.
> Viewing HTML source, then, I have seen that (this thing is very strange) the
> MATH content is correctly imported by tex source file, and also the images
> are correctly generated.
> An example?
>
> <!-- MATH
>  $\displaystyle {\lim_{n \to +\infty}} a^n = \left\{ \begin{array}{ll}
> +\infty \ & \ a>1, \\
> \par
> 1 \ & a=1, \\
> 0 \ & |a|<1, \\
> \nexists \ & a \leq -1. \end{array} \right.$
>  -->
> <IMG
>  WIDTH="250" HEIGHT="112" ALIGN="MIDDLE" BORDER="0"
>  SRC="
> img2.png"
>  ALT="$ \displaystyle {\lim_{n \to +\infty}} a^n = \left\{ \begin{array}{ll}
> +\infty \...
> ...a=1, \\
> 0 \ amp; \vert a\vertlt;1, \\
> \nexists \ amp; a \leq -1. \end{array} \right. $">
>
> In the images.log file there is no error... I am updated miktex package and
> nothing changes, I have tryed to modify some settings in l2conf.pm, but
> nothing changes... I have to convert a tex that, in pdf, results 107 pages,
> and in HTML many too files, and this strange thing is potentially present 48
> times! I should copy manually the tex formula everytime...
> Help me!
> Thanks in advance...
> P.s.: I am Italian, so excuse me for my English... that is not very good.
> Alberto
> _______________________________________________
> latex2html mailing list
> latex2html at tug.org
> http://tug.org/mailman/listinfo/latex2html
>



-- 
"Anybody who knows all about nothing knows everything" -- Leonard Susskind



More information about the latex2html mailing list