Le 2 juil. 2012 à 17:55, Jean Suisse a écrit :

> Dear all,
> 
> I was wondering if there is a way to get the "pretty formatted" version of an 
> equation (from an NSString) to display within a view (similar to the way 
> Graph.app displays it).
> The question is open, any means is acceptable (if not too far-fetched). 
> I know I can get a .png version using a call to a php script, but since MAC 
> OS already ships with softwares capable of doing it, maybe there is a more 
> elegant (and simple) way of implementing this feature.
> 
> Any idea ?
> 

Using MathML and a WebView ? 

That said, I don't know what version of the WebKit (and so Mac OS) is required 
to use MathML.

There is some javascript/css library that let you display them properly if 
MathML is not supported like http://www.mathjax.org

> With my thanks,
> Jean
> 

-- Jean-Daniel





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to