Hello, On Thu, Sep 05, 2024 at 09:49:02PM +0100, Jeremy Bryant wrote: > Hello, > > Version: texi2any (GNU texinfo) 7.1 > > Goal: > The manual recommends a command like the following to export a .texi > file containing LaTeX to HTML: > > texi2any --html file1.texi -c HTML_MATH=l2h --split=none >
Note that --split=none will not do what you want. It triggers a warning: texi2any: warning: none is not a valid split possibility it should be --no-split. The following works for me on a debian testing, with 'texi2any (GNU texinfo) 7.1' and latex2html 'This is LaTeX2HTML Version 2024 (Released January 1, 2024)' texi2any --html toto.texi -c HTML_MATH=l2h --split=none with toto.texi: @node Top @top top @math{\frac{h}{\atan j}} Beware that texi2any caches latex2html output, in some cases to force an actual call of latex2html you would need to remove the result directory. However, the following fails with similar errors: texi2any --html --no-split -c HTML_MATH=l2h toto.texi The most relevant error is probably: Error (Make_directory_absolute): chdir "" failed: No such file or directory at /usr/bin/latex2html line 770. > Error: > But this fails with: > texexpand V2024 (Released January 1, 2024) > texexpand: Error: Cannot open style file '/TMP/styles': No such file or > directory > > This appears to depend on latex2html which appears not to be maintained. > Is there a fix? It seems to me that latex2html is maintained nowadays. For some years in the 201X it seemed to be unmaintained, but this does not seems to be the case now. On the failure, it seems that latex2html -dir . does not work. I will propose a patch to set -dir only if the output directory is not the current directory. -- Pat