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 <gavinsmith0...@gmail.com>
wrote:

> 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
> > @math{m = k^2}
> >
> > @math{k = sin(alpha)}
> >
> > @end ifinfo
> > @iftex
> > @displaymath
> > \eqalign{
> > m &= k^2 \cr
> > k &= \sin\alpha
> > }
> >
> > @end displaymath
> > @end iftex
> >
> >
> > Note that Abramowitz and Stegun uses the notation
> > -----
>
> If you put that into a Texinfo file and process it with texinfo.tex,
> you get an error message like
>
> ! Missing $ inserted.
> <inserted text>
>                 $
> <to be read again>
>                    @par
> l.24
>
>
> @par is a token that is inserted at the end of a paragraph, indicated
> by blank lines.  l.24 refers to line 24, which was blank.  If you
> remove that blank line, the file processes without error and the output
> appears to be as expected:
>
> > @iftex
> > @displaymath
> > \eqalign{
> > m &= k^2 \cr
> > k &= \sin\alpha
> > }
> > @end displaymath
> > @end iftex
>


-- 
Ray

Reply via email to