On 9/7/2018 8:27 AM, Michal Hoftich wrote:
you can see\[ ->\begin {equation*} andAh, all right, there is the following code in amsmath.sty: \DeclareRobustCommand{\[}{\begin{equation*}} \DeclareRobustCommand{\]}{\end{equation*}} Nasser, you can try to add it to your config file and test it if it doesn't break something.It worked for me. We can add it to the sources if everything works correctly. Best, Michal
Great, that worked! Now tex4ht does not give an error any more. If you like to use this as answer for https://tex.stackexchange.com/questions/383129/tex4ht-gives-package-amsmath-error-tag-not-allowed-here I'll be happy to accept it as well. Thanks for everyone's help. I'll remove these command from my .cfg file, once this fix is added to the tex4ht official source code in texlive. --Nasser
