Re: Equation style display
Re: Equation style display
- Subject: Re: Equation style display
- From: Chris Hanson <email@hidden>
- Date: Mon, 02 Jul 2012 12:01:49 -0700
Mathematical typesetting is actually incredibly complex, and people like Donald Knuth have dedicated significant portions of their careers to it. There's no simple way to go from a textual representation of a formula to a typeset version, not least of which because there's no universally agreed-upon textual representation or typeset version.
I'd also recommend using a web view to display an equation, along with one of the JavaScript TeX-to-HTML rendering packages. Stack Exchange uses one for their Mathematics Q&A site that seems to work pretty well. However, note that it's not instant.
-- Chris
On Jul 2, 2012, at 8:55 AM, Jean Suisse <email@hidden> wrote:
> 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 ?
>
> With my thanks,
> Jean
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden