Hi Tomáš,

you can try suggestion from this answer of mine on TeX.sx:
https://tex.stackexchange.com/a/511641/2891

I thought that I incorporated this code into TeX4ht sources, but I didn't yet. I think there were issues with MathML with this solution. But if you want to produce picture math, it works.

It would be better to use MathML, but it doesn't work with your code unfortunatelly. Stuff like \cdot\mathrm{s}^{-1} doesn't work correctly with the MathML output. You would need to add proper grouping, like:

\cdot{\mathrm{s}}^{-1}

So it will be probably better to stick with pictures for the moment.

Best regards,
Michal

Ok, thanks, so let's try to solve each problem separately. Please find attach a simple example of split environment. The tex-file is ok, but make4  -a debug split_ex.tex gives the error message

=========

! Package amsmath Error: \begin{split} won't work here.

See the amsmath package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.21   \end{split}
=========

The full log file is also attached.

Can you please have a look? Any hint is appreciated.

Thanks a lot,

best regards, Tomas

Reply via email to