bug-texinfo
[Top][All Lists]
Advanced

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

Funny line breaking with mathjax and html


From: Raymond Toy
Subject: Funny line breaking with mathjax and html
Date: Fri, 22 Jul 2022 14:58:21 -0700

I'm getting a funny line break when displaying MathJax inline formulas on an html page.  The TeX version doesn't have a line break.

It's part of a much larger document from maxima, but the relevant part is given below.   On the html page, there's a line break before "is the solution subject".  All the other parts have no unexpected line breaks.  Other than that, the formulas and everything display very nicely.

This is with texinfo 6.8.

These two solutions are oscillatory for @math{x < 0}.

@ifhtml
@html
@math{{\rm Ai}(x)}
@end html
@end ifhtml
@ifinfo
@math{Ai(x)}
@end ifinfo
@tex
${\rm Ai}(x)$
@end tex
is the solution subject to the
condition
@ifhtml
@html
@math{y\rightarrow 0}
@end html
@end ifhtml
@ifinfo
@math{y -> 0}
@end ifinfo
@tex
$y\rightarrow 0$
@end tex
 as
@ifhtml
@html
@math{x\rightarrow \infty}
@end html
@end ifhtml
@ifinfo
@math{x -> inf}
@end ifinfo
@tex
$x\rightarrow \infty$
@end tex
.
@ifhtml
@html
@math{{\rm Bi}(x)}
@end html
@end ifhtml
@ifinfo
@math{Bi(x)}
@end ifinfo
@tex
${\rm Bi}(x)$
@end tex
 is the second solution with the
same amplitude as
@ifhtml
@html
@math{{\rm Ai}(x)}
@end html
@end ifhtml
@ifinfo
@math{Ai(x)}
@end ifinfo
@tex
${\rm Ai}(x)$
@end tex
 as
@ifhtml
@html
@math{x
\rightarrow -\infty}
@end html
@end ifhtml
@ifinfo
@math{x -> minf}
@end ifinfo
@tex
$x
\rightarrow -\infty$
@end tex
 which differs in phase by
@ifhtml
@html
@math{{\pi/2}}
@end html
@end ifhtml
@ifinfo
@math{%pi/2}
@end ifinfo
@tex
${\pi/2}$
@end tex


--
Ray

reply via email to

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