Re: [tex4ht] about configuring where to load mathjax from when using tex4ht in mathjax mode.

2020-03-04 Thread Michal Hoftich
Hi Nasser,

> All the above should go to your .cfg file under the \Preamble tag.
>
> I also just compiled a large file with lots of math using V3 mathjax
> and so far I see no problems with the math. I also noticed mathjax is
> now faster than before !

I've updated TeX4ht sources to use MathJax 3, it seems to work nicely
and faster so far. I think the update will be available only in TL
2020, as updates are frozen already.

Best regards,
Michal


Re: [tex4ht] about configuring where to load mathjax from when using tex4ht in mathjax mode.

2020-03-03 Thread Nasser M. Abbasi

On 3/3/2020 2:26 PM, Michal Hoftich wrote:


the path to MathJax can be configured using \Configure{MathjaxSource}.
The default value is:

\Configure{MathjaxSource}
{https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/%
latest.js?config=TeX-AMS-MML_HTMLorMML}

You can change it to a relative path.

I can see that version 2.7.5 is hardcoded, so we may want to switch to
the newer version. Could you test it if it works with your code? I
think your documents are good test suite for edge cases :)

Best regards,
Michal



Thanks Michal. I did not know about \Configure{MathjaxSource}{URL}

But it does not work with V 3.0 of Mathjax. Since V 3.0 has to be loaded
using script and not a URL, like this



So when I added this to my .cfg and compiled, it did not work, i.e. mathjax did
not work.

\Configure{MathjaxSource}
{