Is anyone developing a way to display mathematical equations on a Zope-base web site? I'm wishing for something along the lines of an eqn->troff->ghostscript->gif_tile pipeline. It'd be neat if there were a ZEquation product that took a blob of equation text and when used in a link, provided a GIF tile of the equation neatly laid out. I can't expect the Zope engine to fork off a whole series of special tools in a timely fashion, so maybe a background process could scan the ZODB and insert the GIFs in some form of folder cache, using the timestamp of the ZEquation instance and a timestamp on the GIF cached item. Ideas? An easier way? -Jeff Rush
In article <199909192011.PAA08160@rampart.timecastle.net>, Jeff Rush <jrush@timecastle.net> writes
Is anyone developing a way to display mathematical equations on a Zope-base web site? I'm wishing for something along the lines of an eqn->troff->ghostscript->gif_tile pipeline. It'd be neat if there were a ZEquation product that took a blob of equation text and when used in a link, provided a GIF tile of the equation neatly laid out.
I can't expect the Zope engine to fork off a whole series of special tools in a timely fashion, so maybe a background process could scan the ZODB and insert the GIFs in some form of folder cache, using the timestamp of the ZEquation instance and a timestamp on the GIF cached item.
Ideas? An easier way?
-Jeff Rush
... I have got all the gif/png graphical stuff working for python, but equations/symbols is a real problem. legality for gif is still a problem. What's wrong with ezmath? -- Robin Becker
Robin Becker wrote:
... I have got all the gif/png graphical stuff working for python, but equations/symbols is a real problem. legality for gif is still a problem. What's wrong with ezmath?
I think that RLE-encoded GIF's are fully legal, and they probably compress expression-type images more or less the same amount as LZW. AFAIK, the latest IMAGING library has switched to RLE-only. Or, if you use GD, just use png images which all newer than 2 years browsers support well enough for simple text+line-drawing images. -------- Hannu
participants (3)
-
Hannu Krosing -
Jeff Rush -
Robin Becker