[Top][All Lists]

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

Re: behavior of @math with HTML output

From: Gavin Smith
Subject: Re: behavior of @math with HTML output
Date: Sat, 15 Oct 2022 13:52:57 +0100

On Sat, Oct 15, 2022 at 02:28:54PM +0200, Patrice Dumas wrote:
> On Sat, Oct 15, 2022 at 12:32:00PM +0100, Gavin Smith wrote:
> > 
> > l2h and t4h settings still output "@var" literally even with
> > '-c CONVERT_TO_LATEX_IN_MATH=1'.  I'm going to spend some time
> > investigating this.
> I think that I fixed it.  CONVERT_TO_LATEX_IN_MATH is set in the default
> case if HTML_MATH is set, but it was not used.  Now it is used, but only
> if the LaTeX conversion is on, so the following call should allow
> to have @-commands expanded with the use of tex4ht: 
> texi2any --html -c HTML_MATH=t4h -c T4H_MATH_CONVERSION=latex
> This may call for using latex type of conversion for tex4ht in the
> default case.

That was quick.  Is this change only for tex4ht or for latex2html as well?
Can it easily be extended to latex2html?

latex2html output appears to work well.  I haven't had good
results with tex4ht, even without @var, but this appears to be
the right way of doing things, provided tex4ht works.  (I found
@math{@var{foo}\over@var{bar}} output as


and the square root operation was output as a blurry image.  It probably
depends on settings and versions.)

tex4ht still appears to get updates:


although I hear it has been a difficult piece of software to maintain
since the death of its original author in 2009, so problems or drawbacks
with tex4ht may not ever be resolved.

reply via email to

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