[Xerte-dev] Re: MathJax support is somewhat more complex then I hoped.
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon May 20 12:01:58 BST 2013
Ah, I didn't test it, I'll change it back
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 20 May 2013 11:56
To: For Xerte technical developers
Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped.
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
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
More information about the Xerte-dev
mailing list