Multiplatform program which outputs math expressions

Eric J Anderson lordmaiku at gmail.com
Sat Jan 20 09:53:20 PST 2007


zeecanvas at yahoo.com wrote:
> Hi,
>
> I need advice for choosing a multiplatform solution for math
> expressions output: I've developed a multiplatform app which solves
> some scientific problems and outputs the solution with very detailed
> step by step operations, with explanations (so you can see what
> operations you'd had to do if you had to solve that problem by hand).
>
> Currently the output is in ASCII text, but that's too poor: I can't
> give proper formatting to subindexes, exponents, square roots,
> fractions, and so on...
>
> Ideally, I'd wish that my program was able to output "ready to print"
> PDFs with properly formatted math (well, I not only need math, but also
> normal text, because as I said the program also outputs some
> explanations as it solves each step in the problem).
>
> My first guess was LaTeX, but I never used it before. Moreover, I
> believe LaTeX is a complex installation, so I'm afraid it can be
> unreasonable to expect my end users to have it installed.
>
> After some searching, I also found MathML, but I'm not sure if it can
> be useful for my purpose.
>
> Any ideas?
>
> Thanks!
>
> zee
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
>   
I think you make have to draw your formatted expressions from scratch. . 
. I was considering a similar problem a little while ago and didn't get 
very far on it. What I thought I might try was to draw all math 
expressions as in-memory images, and use wxHtmlWindow to display them 
mixed with standard text.

Of course, there is probably a simpler/more elegant way of doing it. But 
this way you could output the HTML and images so your users could easily 
publish their results to the web? MathML would also be great for this, 
but you'd probably need to custom-implement support for it in wxWidgets.

I'd be interested in the final solution to this problem.

-- 
Eric J Anderson
www.xivestudios.org





More information about the wx-users mailing list