Re: Any kind of mimetex extension planned around?
| From: | Pierre Joye | Date: | Wed, 02 Apr 2008 16:48:25 +0000 |
| Subject: | Re: Any kind of mimetex extension planned around? | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-5344@lists.php.net to get a copy of this message | ||
On Wed, Apr 2, 2008 at 6:36 PM, Yannick Warnier <ywarnier@beeznest.org> wrote:
>
> Le mercredi 02 avril 2008 à 16:16 +0200, Pierre Joye a écrit :
>
> > On Wed, Apr 2, 2008 at 3:43 PM, Yannick Warnier <ywarnier@beeznest.org> wrote:
> > > Hello,
> > >
> > > I was looking for a mimetex/mathtex (latex interpreter, converts latex
> > > syntax into GIF images) extension on pecl.php.net but apparently there's
> > > nothing around for that purpose, so I just wanted to know if anybody
> > > would possibly be working on something like that, and if anybody would
> > > be interested. Basically, a good subset of mathematical expressions can
> > > be dealt with by the MathML W3C standard (and that would be enough for
> > > me) but it implies installing a plugin for all Internet Explorer
> > > versions as they do not support SVG generation, and that is not
> > > acceptable for my user base.
> >
> > I'm not sure to understand the relation between SVG and MathML, can
> > you elaborate please?
>
> My understanding (but I must admit I haven't studied this element too
> closely yet) is that MathML is using SVG to render mathematical
> expressions in ascii writing to graphical expressions, thus relying on
> SVG to work.
>
> I might be wrong though. I'm just in the first step of analysing the
> possibilities so far.
Would it then makes more sense to have a mathML > SVG converter? Then
it is easy to convert a SVG to any image format (png, gif, jpeg) using
one of the php graphic extension. For example, imagemagick supports
svg, gd 2.1 (what will be in php 5.3) supports it too.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org