On Sat, Nov 14, 2020 at 12:55:10PM +0100, Christopher Dimech wrote: > Some have been saying that one can use some latex commands. > What's the story?
The situations in which LaTeX commands will work are the following: * expanding to html, maybe using --iftex and using latex2html to expand @math, @displaymath (and @tex). Or using tex4ht, but setting in a perl init file $Texinfo::TeX4HT::STYLE_MATH = 'latex' and $Texinfo::TeX4HT::STYLE_TEX = 'latex' In the next release, that would be with -c HTML_MATH=l2h or -c HTML_MATH=t4h * expanding to html and using mathjax with -c HTML_MATH=mathjax However that's the only output format and only situations in which LaTeX commands will work, so it is not really documented anywhere, only TeX commands are documented to work, because they work with texi2pdf and in the situations descibed above too. -- Pat
