[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @displaymath in @iftex
From: |
Gavin Smith |
Subject: |
Re: @displaymath in @iftex |
Date: |
Wed, 10 Aug 2022 17:15:42 +0100 |
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.