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

Tom Reijnders reijnders at tor.nl
Mon May 20 12:03:55 BST 2013


I already did that...

Op 20-5-2013 13:01, Julian Tenney schreef:
> 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
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
>

-- 
--

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




More information about the Xerte-dev mailing list