Hi Nasser,

> Any idea why this happens?

Try this, it should prevent macros in you MathJax configuration from expansion:

-------
\Preamble{xhtml,p-width}
%V3.0 cobfiguration
\Configure{@HEAD}{\HCode{
<script>
window.MathJax = {
   tex: {
     maxBuffer: 40*1024,
     \unexpanded{%
     macros: {
         sp: "^",
         sb: "_",
       noalign: ["\#1", 1],
       medskip: "",
       hypergeom: ["\\operatorname{hypergeom}"] %comment this line out
    }},
     autoload: {
       color: [],
       colorV2: ['color']
     },
     packages: {'[+]': ['noerrors']}
   },
   options: {
     ignoreHtmlClass: 'tex2jax_ignore',
     processHtmlClass: 'tex2jax_process'
   },
   loader: {
     load: ['[tex]/noerrors']
   }
};
</script>\Hnewline
}}
\begin{document}

\EndPreamble

----


Basically, I've just added the \unexpanded command.


Best regards,
Michal

Reply via email to