Re: @displaymath in @iftex

2022-08-10 Thread Raymond Toy
Ah, thanks. I see now that my m4 macro invocation was adding an extra line because trailing whitespace of an arg is included as part of the arg. And the offending code did this. Really sorry for all of the trouble! On Wed, Aug 10, 2022 at 1:28 PM Gavin Smith wrote: > On Wed, Aug 10, 2022 at 0

Re: @displaymath in @iftex

2022-08-10 Thread Gavin Smith
On Wed, Aug 10, 2022 at 01:07:31PM -0700, Raymond Toy wrote: > > I must be doing something wrong. This is what I have: > --- > The following relationships are true: > > > @ifhtml > @displaymath > \eqalign{ > m &= k^2 \cr > k &= \sin\alpha > } > > @end displaymath > @end ifhtml > @ifinfo >

Re: @displaymath in @iftex

2022-08-10 Thread Raymond Toy
On Wed, Aug 10, 2022 at 9:15 AM Gavin Smith wrote: > On Wed, Aug 10, 2022 at 09:07:20AM -0700, Raymond Toy wrote: > > The manual isn't clear about what @displaymath does. I have something > like > > > > @ifhtml > > @displaymath > > eqn > > @end displaymath > > @end ifhtml > > @iftex > > @display

Re: @displaymath in @iftex

2022-08-10 Thread Gavin Smith
On Wed, Aug 10, 2022 at 09:07:20AM -0700, Raymond Toy wrote: > The manual isn't clear about what @displaymath does. I have something like > > @ifhtml > @displaymath > eqn > @end displaymath > @end ifhtml > @iftex > @displaymath > eqn > @end displaymath > @end iftex > > The html version looks gre

@displaymath in @iftex

2022-08-10 Thread Raymond Toy
The manual isn't clear about what @displaymath does. I have something like @ifhtml @displaymath eqn @end displaymath @end ifhtml @iftex @displaymath eqn @end displaymath @end iftex The html version looks great with the eqn displayed as expected. But in the pdf manual, there's an error about mis