[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Funny line breaking with mathjax and html
From: |
Gavin Smith |
Subject: |
Re: Funny line breaking with mathjax and html |
Date: |
Sun, 24 Jul 2022 16:56:57 +0100 |
On Sun, Jul 24, 2022 at 08:30:47AM -0700, Raymond Toy wrote:
> On Sun, Jul 24, 2022 at 3:58 AM Gavin Smith <gavinsmith0123@gmail.com>
> wrote:
>
> > On Fri, Jul 22, 2022 at 02:58:21PM -0700, Raymond Toy wrote:
> > > 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.
> > >
> >
> > The problem is that you are using @html as well as @ifhtml. If you
> > take the @html lines out the results are good.
> >
> Indeed it does. Thanks!
>
> This example comes from maxima, and before the manual was updated to use
> texinfo 6.8, the @html block contained html that contained the mathjax
> formula to be shown. Since it mostly worked when the formula was updated
> to use @math{}, I didn't think about it. It should all be fixed now.
I'm looking forward to seeing the Maxima manual on the web with proper
math rendering!