I was learning the frames option for tex4ht which I never used before, and I found that this command works (i.e. it generates TOC on left frame, and body of document on right frame)
make4ht -lua default -a debug foo.tex "htm,mathjax,frames" But this does not work make4ht -ulm default -a debug foo.tex "htm,mathjax,frames" I thought both -lua and -ulm tell tex4ht to use lualatex compiler? I can't find any official place on the net that even mention these options. I looked at <https://www.kodymirus.cz/tex4ht-doc/texfourhtOptions.html#texht-options1> Here is foo.tex as example ------------------- \documentclass{book} \usepackage{amsmath} \usepackage{lipsum} \begin{document} \title{my book} \author{me} \date{\today} \maketitle \ifdefined\HCode \else \tableofcontents \fi \chapter{first chapter} \section{1st section} \lipsum[1] \section{second section} \lipsum[1] \section{3rd section} \lipsum[1] \end{document} ---------------------- Using the first command, produces TOC on the left side which is what I wanted. But using the second command it does not. So for now, will change all my scripts to use -lua. But wanted to check why this happens, and if is a bug or by design. TL 2025, Thanks --Nasser