On Thu, Oct 20, 2022 at 05:34:07PM +0100, Gavin Smith wrote: > In theory there is a potential problem with a @footnote inside @w.
> texi2any.pl appears to do the right thing here. However, > texinfo.tex does not - the footnote disappears completely! I found the following in "The TeX Book", by Donald Knuth: The \footnote macro should be used only in paragraphs or hboxes that are contributed to TEX’s main vertical list; insertions will be lost if they occur inside of boxes that are inside of boxes. Thus, for example, you should not try to put a \footnote into a subformula of a math formula. So it will not be easy to make @footnote work inside of @w and it would be fine for texi2any to issue a warning about this.
