If you introduce horizontal spacing like \, the html displays a comma rather than a spacing.
> Sent: Thursday, November 12, 2020 at 9:22 PM > From: "Patrice Dumas" <[email protected]> > To: "Christopher Dimech" <[email protected]> > Cc: "help-texinfo gnu" <[email protected]> > Subject: Re: @displaymath \leqalignno problem for pdf output > > On Thu, Nov 12, 2020 at 08:15:59PM +0100, Christopher Dimech wrote: > > > > I have been testing some more and we are getting some serious problems. > > Have tried the following two constructs > > I tested with tex4ht and latex2html, and both constructs are better > rendered by tex4ht, as latex2html does not generate two lines. > > > > > ------------------------------------ > > > > 1. First Test - This works in html, but fails in pdf ($$ $$ are required) > > > > @displaymath > > \leqalignno{ > > \int v(t)\, dt &= u(t) + C&[3.1]\cr > > \int v(t)\, dt &= u(t) + H&[3.2]\cr > > } > > @end displaymath > > > > --------------------------------------- > > > > 2. This works it pdf, but does not show up in html (this is expected > > bahaviour) > > > > @tex > > $$\leqalignno{ > > \int v(t)\, dt &= u(t) + C&[3.1]\cr > > \int v(t)\, dt &= u(t) + H&[3.2]\cr > > }$$ > > @end tex > > > > >
