On Sun, Oct 25, 2020 at 05:15:13PM +0000, Gavin Smith wrote: > > Processing @-commands within @displaymath could be useful for using > @macro's and consistency with @math. Apart from that, the only > command that I can imagine people having to use inside @displaymath > would be @@ to get an @. > > I don't think it matters that much. Would you be able to implement it?
At least in the perl parser, I think so as it is already that way for @math. > I made @displaymath a lot like @verbatim, but maybe there is another > command that is more appropriate. If it is discouraged to use @-commands, then @verbatim is a good choice. > People might also put other Texinfo commands inside the block, like > @sub or @sup, but that shouldn't be encouraged, as that won't work > with MathJax. (Also, \mathopsup won't work with MathJax either.) It already doesn't work for @math but we nevertheless encourage it. The long term solution is probably to convert to TeX/LaTeX inside of @math. It seems a bit strange to me to treat @math and @displaymath differently in that regard. -- Pat
