On Sat, Oct 15, 2022 at 12:32:00PM +0100, Gavin Smith wrote: > > l2h and t4h settings still output "@var" literally even with > '-c CONVERT_TO_LATEX_IN_MATH=1'. I'm going to spend some time > investigating this.
I think that I fixed it. CONVERT_TO_LATEX_IN_MATH is set in the default case if HTML_MATH is set, but it was not used. Now it is used, but only if the LaTeX conversion is on, so the following call should allow to have @-commands expanded with the use of tex4ht: texi2any --html -c HTML_MATH=t4h -c T4H_MATH_CONVERSION=latex This may call for using latex type of conversion for tex4ht in the default case. -- Pat