[Haskell-cafe] Input and output of mathematical expressions

Etienne Laurin etienne at atnnn.com
Fri Jun 10 04:45:06 CEST 2011


Henning Thielemann <lemming <at> henning-thielemann.de> writes:
> On Thu, 9 Jun 2011, Jacek Generowicz wrote:
>> On 2011 Jun 9, at 16:59, Chris Smith wrote:
>>
>>> Ae you looking to do this in a web application, or client-side?  Since one 
>>> of your requirements is to display a typeset equation, that makes a bit of 
>>> difference.  In a web-based setting, the best way to do that is probably 
>>> MathML, whereas a GUI will be a bit harder.
>>> 
>> Yes, this pretty much summarizes my (ignorant) thoughts on it so far (GUI: 
>> hard; MathML: relatively easy), which is why I suspect that running it as a 
>> local web application might be the simplest way to go.
> 
> Concerning a local GUI: How about running LaTeX for Tex->PDF, generate a 
> PNG from PDF by ghostscript and show the PNG?

I am working on an alternative solution for a local GUI. I am developing an 
equation editor and manipulator in Haskell, using gtk2hs. A prototype is 
available on Hackage as casui.

Etienne Laurin




More information about the Haskell-Cafe mailing list