opps, Small correction. I found the correct option that
makes frames not work. It is not lua vs. ulm, it is "fn-in".

Hence This does not work

make4ht -ulm default foo.tex 'mathjax,htm,frames,fn-in'

But this works

make4ht -ulm default foo.tex 'mathjax,htm,frames'

So it is when adding fn-in that frames option stops working.

Still I am not clear if I should change -ulm to -lua. But
this is not important now. Will keep using -ulm.

But I  think adding fn-in should not have made frames not work,
so this looks like a bug.

"fn-in
for inline footnotes use this option."

So for now, will remove this option to make frames work.

--Nasser

On 6/15/2025 6:36 AM, Nasser M. Abbasi wrote:
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



Reply via email to