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 great with the eqn displayed as expected.  But in
> the pdf manual, there's an error about missing $ that is inserted.
> 
> Everything works as expected if I do
> 
> @tex
> $$eqn$$
> @end tex
> 
> This is a perfectly fine solution for me, but I just wanted to know if
> @displaymath should work in @iftex.

Yes, it should work.  I've just tested it and it appears to work fine.

Reply via email to