math formula ?

General TRichView support forum. Please post your questions here
Post Reply
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

math formula ?

Post by Stef »

has anyone found a good solution to insert math formulas ?

By accident I ran into mimetex today, which can easily generate a gif image from a math formula.

So I'm thinking of using mimetex as a formula generator,
translate the gif imag into png image,
using the alternate text property as the formula source,
so changes to the formula can still be made afterwards.

Is this a bad idea ?
Are there other solutions ?

thanks,
hruslan2000
Posts: 81
Joined: Mon Aug 29, 2005 5:00 am

Post by hruslan2000 »

I implement math formula in TRichViewEdit in two ways^
1. MS Word Equation Editor
2. Internal editor based on ExprDraw (www.delphikingdom.com - in Russian). Example: http://www.rsoftware.net/exprguide.exe

There is some troubles:
1. In my case (delphi5, office2000) doesn't export in RTF
2. Partially implemented (not save original formula text, waiting for RVA update).
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Post by Stef »

thanks,

I tried MS Equation editor, and besides it's OLE with all its trouble, I couldn't get the buttonbar shown automatically.

The Russion site was akakadabra to me ;-)

So I tried MimeTex, and it works well and is good enough for me.
You can see some impressions here
http://oase.uci.kun.nl/~mientki/pic/jal ... ditor.html

I've also made an example, showing all the features shown on the site above. I'll send this example to Sergey and ask him to put this in the examples section.
Hanno
Posts: 22
Joined: Sun Mar 05, 2006 12:28 pm

Post by Hanno »

Hi Stef,

Did you send this example to Sergey? I would love to see this example. Is it uploaded anywhere else where I can download it?
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Post by Stef »

Yes I send it to Sergey,
but apparently he didn't find it useful ;-)
Sorry I don't have a copy anymore :-(

cheers,[/quote]
Hanno
Posts: 22
Joined: Sun Mar 05, 2006 12:28 pm

Post by Hanno »

Thanks Stef.

Sergey - I don't know about anyone else, but I would love to see this example posted in the samples area. If not, I would appreciate it if you could forward the sample to me.
Post Reply