Am Fri, 7 Sep 2018 10:29:48 +0200 schrieb Michal Hoftich: > Hi Nasser, > >> Ok, using equation instead of \[ \] does not produce error with tex4ht > > Isn't \tag supposed to be used only with amsmath environments? I think > you really shouldn't use it with \[ \]
No. Tracing the code \documentclass{article} \usepackage{amsmath} \begin{document} \tracingmacros=1 \[abc \tag{x}\] \end{document} you can see \[ ->\begin {equation*} and \mathdisplay #1->\ifmmode \@badmath \else $$\def \@currenvir {#1}\let \dspbrk@context \z@ \let \tag \tag@in@display So it is quite obvious that is should work in \[ \]. -- Ulrike Fischer https://www.troubleshooting-tex.de/