[tex4ht] tex4ht gives package amsmath error tag not allowed here

Nasser M. Abbasi nma at 12000.org
Tue Jul 25 11:08:56 CEST 2017

fyi, Just posted this error for tex4ht


Not sure if this is known or not? Should I create a bug report?

There was a related issue


But it does not look they are same error, Or may be they are
the same?

Only when run with make4ht. No error with lualatex nor with pdflatex.


x=y \tag{1}

>make4ht  foo.tex
LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(./foo.tex (/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class

! Package amsmath Error: \tag not allowed here.

See the amsmath package documentation for explanation.
Type  H <return>  for immediate help.
l.7 x=y \tag

which make4ht

I changed the code to use \begin{align} etc... and now tex4ht does
not complain about \tag any more


More information about the tex4ht mailing list