[Xerte-dev] Re: MathJax support is somewhat more complex then I hoped.

Tom Reijnders reijnders at tor.nl
Mon May 20 11:56:13 BST 2013


Hmmm... the non-full configs seem to be incompatible with the way we 
feed texts to mathjax. Bootstrap just works once, and after refresh, I 
can't get it to work anymore....

So changed to TeX-MML-AM_HTMLorMML-full.


Op 17-5-2013 20:21, Tom Reijnders schreef:
> MathJax has config options called for example AM_HTMLorMML and 
> AM_HTMLorMML-full.
>
> The full version is larger and realy pre-includes everything, the 
> non-full version includes the minimum, and only the rest of the html 
> and css code if math is actually used.
>
> So, I changed the full to the non-full.
>
> But, you can also determine what input is available, and the 
> AM_HTMLorMML-full we were using, only supports 'asciimath'.  To 
> support LaTeX as well, we need to use a different config: 
> TeX-MML-AM_HTMLorMML
>
> So for the moment, that's what I have committed for xerte only at the 
> moment. But perhaps AM_HTMLorMML would be enough, or we can make it an 
> optional parameter of the LO. (default none?)
>
> For your information:
> AM_HTMLorMML                    120kb
> AM_HTMLorMML-full              223kb
> TeX-MML-AM_HTMLorMML    215kb
>
> Tom
>
>

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196




More information about the Xerte-dev mailing list