[tex4ht] problem using \sl and \sc in tex4ht when using matghjax mode

Nasser M. Abbasi nma at 12000.org
Sun Nov 18 22:03:32 CET 2018


On 11/18/2018 2:34 PM, Michal Hoftich wrote:
> \Configure{@HEAD}{\HCode{
> <script type="text/x-mathjax-config">
>    MathJax.Hub.Config({
>      TeX: {
>        Macros: {
>          \unexpanded{
>          sc : "\\small\\rm",
>          sl: "\\it",
>        }
>      },
>      }
>    });
> </script>
> }}

The above worked very well. I've added it to my .cfg file.

Now I just have to remember there are 2 places with MathJax.Hub.Config
setting. One in the personal .cfg and another place in the
mathjax-latex-4h.sty file.

Thank you for the help as always.
--Nasser







More information about the tex4ht mailing list