Hi Nasser,
> > My question is why \renewcommand did not work, I > remember seeing something like this before, something > to do with order how things are processed? > no, \renewcommand cannot work as it is not preserved during the conversion, so MathJax cannot see that. You must use the configuration file. > and is it possible to add the above configuration of > dag and ddag to the official make4ht mathjax style file > itself so it is there by default all the time instead > of adding it to the .cfg file? I think it is best to keep your private configuration file. You can put the common command declarations to a standalone file, save it in your local TEXMF tree and include it using the \input command. Best regards, Michal