On 2022-10-13 21:15:57 +0200, Patrice Dumas wrote: > I agree with Gavin, you should not use @math if you want normal text, > but given that there is now good support of TeX math in texi2any for > HTML with any of the 3 HTML_MATH option,
All of them are buggy: * l2h generates image files as documented, which have many drawbacks (do not work with text browsers, not accessible, font size issues with a graphical browser...). * Concerning t4h, @math{@var{base} \le 16}, yields "@varbase ≤ 16 ,", so @var doesn't work (while it is needed to ensure exactly the same typography/code as outside @math, e.g. <var>base</var>) and there is a spurious space before the comma. * mathjax is not compatible with text browsers. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)