The manual isn't clear about what @displaymath does. I have something like
@ifhtml
@displaymath
eqn
@end displaymath
@end ifhtml
@iftex
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.
--