bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML math options


From: Patrice Dumas
Subject: Re: HTML math options
Date: Sat, 24 Oct 2020 16:37:18 +0200

On Sat, Oct 24, 2020 at 11:21:15AM +0100, Gavin Smith wrote:
> 
> Does tex4ht ever produce acceptible output? I tried it with the
> simple input
> 
> @math{a^2 + c + {b \over d}  + \sqrt{42}}
> 
> and it gives me the output
> 
> <p>   a2 + c + b 
> d + &#x221A;
>  _42
> </p>
> 
> which is no good whatsoever.  Maybe it's just my setup or tex4ht
> version?  I was going to add it to the documentation and enable it with
> '-c HTML_MATH=t4h' or similar, but if it is always this bad there is
> no point.

I do not remember tex4ht output being as bad.  On the contrary I tended
to prefer the tex4ht output to latex2html, although it really depended
on the case.  I get the same.  I tried to process your example with 
htlatex and it is better.  One advantage of tex4ht is that, with httexi,
it could handle @math with mixed texinfo and TeX.  There may be
something broken for tex4ht with plain TeX.

> latex2html works OK, except for ugly black bars on some equations, which
> I resolved on my system with this advice:
> 
> https://ccrma.stanford.edu/~jos/webpub/Eliminating_Black_Rules_Equation.html

tex4ht used to give a result that may be less polished but also using
less images, and was, in my opinion, ok.

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]