from MathML to image

22 messages Options
Embed this post
Permalink
1 2
Dun Li

from MathML to image

Reply Threaded More More options
Print post
Permalink
Hi,
 
I have mathml for equations which I need to generate images using EditLive. If I copy and paste the mathml codes in the code panel, it shows as an image in the design panel. So how do I get the image data from that? Or do I have to use Java API to convert mathml to images? We are using enterprise 6. Thanks a lot.
 
Dun Li


     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
John VanAntwerp

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
There is a configuration file option in the <mathml> (I think that is the element name--been a long time since I looked) tag that says whether or not to generate images.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Monday, August 31, 2009 4:45 PM
To: [hidden email]
Subject: [Liveworks] from MathML to image

Hi,
 
I have mathml for equations which I need to generate images using EditLive. If I copy and paste the mathml codes in the code panel, it shows as an image in the design panel. So how do I get the image data from that? Or do I have to use Java API to convert mathml to images? We are using enterprise 6. Thanks a lot.
 
Dun Li


     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Dun Li

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
Thanks, John. I see there is an attribute createEquationImage for mathml tag. Now I need to see how I can get the image data out after I paste the mathml code in the editor.

--- On Tue, 9/1/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 9:10 AM

There is a configuration file option in the <mathml> (I think that is the element name--been a long time since I looked) tag that says whether or not to generate images.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Monday, August 31, 2009 4:45 PM
To: [hidden email]
Subject: [Liveworks] from MathML to image

Hi,
 
I have mathml for equations which I need to generate images using EditLive. If I copy and paste the mathml codes in the code panel, it shows as an image in the design panel. So how do I get the image data from that? Or do I have to use Java API to convert mathml to images? We are using enterprise 6. Thanks a lot.
 
Dun Li


     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
John VanAntwerp

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
It automatically uploads the image when you submit, I'm not sure how to pull out the image in a separate call though...

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Tuesday, September 01, 2009 9:06 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

Thanks, John. I see there is an attribute createEquationImage for mathml tag. Now I need to see how I can get the image data out after I paste the mathml code in the editor.

--- On Tue, 9/1/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 9:10 AM

There is a configuration file option in the <mathml> (I think that is the element name--been a long time since I looked) tag that says whether or not to generate images.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Monday, August 31, 2009 4:45 PM
To: [hidden email]
Subject: [Liveworks] from MathML to image

Hi,
 
I have mathml for equations which I need to generate images using EditLive. If I copy and paste the mathml codes in the code panel, it shows as an image in the design panel. So how do I get the image data from that? Or do I have to use Java API to convert mathml to images? We are using enterprise 6. Thanks a lot.
 
Dun Li


     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Adrian Sutton

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
On 01/09/2009 16:28, "John Vanantwerp" <[hidden email]> wrote:
> It automatically uploads the image when you submit, I'm not sure how to pull
> out the image in a separate call though...

You can't with EditLive!  If you need to programmatically convert MathML
into images you should get Design Science's Equation Composer component (
http://www.dessci.com/en/products/mathflow/mf_components.htm).

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 628 200 182 x481  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Dun Li

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
Thanks, Adrian. What I'm doing is to convert mathml to images. We have some equations created by ActiveEdit. Since we have switched to EditLive, we would like to re-create those equations using EditLive to ensure the consistent looking. I'm new to EditLive (just a couple of days). I thought EditLive generates images based on mathml codes.

So the createEquationImage attribute does not help with this?

Thanks again.

Dun

--- On Tue, 9/1/09, Adrian Sutton <[hidden email]> wrote:

From: Adrian Sutton <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 11:40 AM

On 01/09/2009 16:28, "John Vanantwerp" <[hidden email]> wrote:
> It automatically uploads the image when you submit, I'm not sure how to pull
> out the image in a separate call though...

You can't with EditLive!  If you need to programmatically convert MathML
into images you should get Design Science's Equation Composer component (
http://www.dessci.com/en/products/mathflow/mf_components.htm).

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 628 200 182 x481  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Adrian Sutton

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
On 01/09/2009 17:24, "DUN LI" <[hidden email]> wrote:
> Thanks, Adrian. What I'm doing is to convert mathml to images. We have some
> equations created by ActiveEdit. Since we have switched to EditLive, we would
> like to re-create those equations using EditLive to ensure the consistent
> looking. I'm new to EditLive (just a couple of days). I thought EditLive
> generates images based on mathml codes.
>
> So the createEquationImage attribute does not help with this?

Sorry, I should have been more specific.

The functionality in EditLive! isn't really suitable for a batch conversion
(that's what the Design Science products are good at).  However, with
createEquationImage set to true, when you insert a new MathML equation in
the content, EditLive! will convert it to an image and then upload that
image like a normal local image - using the "post acceptor" specified in the
httpUpload element on the configuration file (as John mentioned).

I'm actually not sure what would happen if you loaded content with MathML
into EditLive! - it may keep it as plain MathML or it may convert it to an
image.  Normally the conversion to image happens when you first insert the
equation so I'm not sure when else it kicks in.

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 628 200 182 x481  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
John VanAntwerp

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
You can insert the MathML as source, then edit it with the equation
editor in ELJ.  If the createEquationImage attribute is set to true then
it will convert the MathML to an image.  We've done it a few times.

But as Adrian said, it doesn't work real well for batch conversion
unless someone is willing to sit there and do it by hand.

- John

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Adrian
Sutton
Sent: Tuesday, September 01, 2009 11:30 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

On 01/09/2009 17:24, "DUN LI" <[hidden email]> wrote:
> Thanks, Adrian. What I'm doing is to convert mathml to images. We have

> some equations created by ActiveEdit. Since we have switched to
> EditLive, we would like to re-create those equations using EditLive to

> ensure the consistent looking. I'm new to EditLive (just a couple of
> days). I thought EditLive generates images based on mathml codes.
>
> So the createEquationImage attribute does not help with this?

Sorry, I should have been more specific.

The functionality in EditLive! isn't really suitable for a batch
conversion (that's what the Design Science products are good at).
However, with createEquationImage set to true, when you insert a new
MathML equation in the content, EditLive! will convert it to an image
and then upload that image like a normal local image - using the "post
acceptor" specified in the httpUpload element on the configuration file
(as John mentioned).

I'm actually not sure what would happen if you loaded content with
MathML into EditLive! - it may keep it as plain MathML or it may convert
it to an image.  Normally the conversion to image happens when you first
insert the equation so I'm not sure when else it kicks in.

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 628 200 182 x481  US: +1 (650) 292 9659 x717 Ephox
<http://www.ephox.com/> Ephox Blogs <http://planet.ephox.com/>, Personal
Blog <http://www.symphonious.net/>

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Dun Li

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
In reply to this post by John VanAntwerp
Please correct me if I'm wrong on this.  I set createEquationImage to true, then  copy and paste mathml in code view panel and submit. The mathml will be converted to an image and upload to the server? Thanks.

--- On Tue, 9/1/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 11:28 AM

It automatically uploads the image when you submit, I'm not sure how to pull out the image in a separate call though...

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Tuesday, September 01, 2009 9:06 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

Thanks, John. I see there is an attribute createEquationImage for mathml tag. Now I need to see how I can get the image data out after I paste the mathml code in the editor.

--- On Tue, 9/1/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 9:10 AM

There is a configuration file option in the <mathml> (I think that is the element name--been a long time since I looked) tag that says whether or not to generate images.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Monday, August 31, 2009 4:45 PM
To: [hidden email]
Subject: [Liveworks] from MathML to image

Hi,
 
I have mathml for equations which I need to generate images using EditLive. If I copy and paste the mathml codes in the code panel, it shows as an image in the design panel. So how do I get the image data from that? Or do I have to use Java API to convert mathml to images? We are using enterprise 6. Thanks a lot.
 
Dun Li


     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
John VanAntwerp

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
You will need to edit the equation after you have pasted in the MathML.  That will cause ELJ's built in equation editor to convert the MathML into an image and insert an <img> tag (with an attribute set containing the MathML for future editing).  Once the image conversion has taken place, submitting the content will cause the image to be uploaded and the image URL to be converted to be the appropriate path, provided your image acceptor (from <httpImageUpload> element) is correctly configured.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Tuesday, September 01, 2009 11:57 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

Please correct me if I'm wrong on this.  I set createEquationImage to true, then  copy and paste mathml in code view panel and submit. The mathml will be converted to an image and upload to the server? Thanks.

--- On Tue, 9/1/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 11:28 AM

It automatically uploads the image when you submit, I'm not sure how to pull out the image in a separate call though...

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Tuesday, September 01, 2009 9:06 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

Thanks, John. I see there is an attribute createEquationImage for mathml tag. Now I need to see how I can get the image data out after I paste the mathml code in the editor.

--- On Tue, 9/1/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 9:10 AM

There is a configuration file option in the <mathml> (I think that is the element name--been a long time since I looked) tag that says whether or not to generate images.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Monday, August 31, 2009 4:45 PM
To: [hidden email]
Subject: [Liveworks] from MathML to image

Hi,
 
I have mathml for equations which I need to generate images using EditLive. If I copy and paste the mathml codes in the code panel, it shows as an image in the design panel. So how do I get the image data from that? Or do I have to use Java API to convert mathml to images? We are using enterprise 6. Thanks a lot.
 
Dun Li


     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Dun Li

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
Thanks john and Adrian for your inputs! I guess it may not be a simple task with ELJ. But this is a one-time task so I will do some research and tests before giving up to MathFlow :) Thanks again.

Dun

--- On Tue, 9/1/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 1:01 PM

You will need to edit the equation after you have pasted in the MathML.  That will cause ELJ's built in equation editor to convert the MathML into an image and insert an <img> tag (with an attribute set containing the MathML for future editing).  Once the image conversion has taken place, submitting the content will cause the image to be uploaded and the image URL to be converted to be the appropriate path, provided your image acceptor (from <httpImageUpload> element) is correctly configured.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Tuesday, September 01, 2009 11:57 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

Please correct me if I'm wrong on this.  I set createEquationImage to true, then  copy and paste mathml in code view panel and submit. The mathml will be converted to an image and upload to the server? Thanks.

--- On Tue, 9/1/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 11:28 AM

It automatically uploads the image when you submit, I'm not sure how to pull out the image in a separate call though...

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Tuesday, September 01, 2009 9:06 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

Thanks, John. I see there is an attribute createEquationImage for mathml tag. Now I need to see how I can get the image data out after I paste the mathml code in the editor.

--- On Tue, 9/1/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Tuesday, September 1, 2009, 9:10 AM

There is a configuration file option in the <mathml> (I think that is the element name--been a long time since I looked) tag that says whether or not to generate images.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of DUN LI
Sent: Monday, August 31, 2009 4:45 PM
To: [hidden email]
Subject: [Liveworks] from MathML to image

Hi,
 
I have mathml for equations which I need to generate images using EditLive. If I copy and paste the mathml codes in the code panel, it shows as an image in the design panel. So how do I get the image data from that? Or do I have to use Java API to convert mathml to images? We are using enterprise 6. Thanks a lot.
 
Dun Li


     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Dun Li

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
I wonder what settings (font-face, color, font-size, etc.) are used in saving equation as an image in Equation Editor. In our Equation Editor, all items in Properties menu are grayed out.  Is there a specific configuration file for it? I did not find it in ELJ configuration file and in SDK docs. Please advise. Thanks so much.

Dun



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
John VanAntwerp

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
You can change the font size with the pointSize attribute of the mathml configuration file element, but that is about all the control there is.

We set it fairly large to look good with the text around it.  The default values makes the text in the image kind of small.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Dun Li
Sent: Thursday, September 10, 2009 9:50 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

I wonder what settings (font-face, color, font-size, etc.) are used in saving equation as an image in Equation Editor. In our Equation Editor, all items in Properties menu are grayed out.  Is there a specific configuration file for it? I did not find it in ELJ configuration file and in SDK docs. Please advise. Thanks so much.

Dun



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Dun Li

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
Thanks John. A quick question, in your Equation Editor, is the Properties menu active? In ours, all menu items are grayed out. I wonder if there is a control/configuration to customize this.

Dun

--- On Thu, 9/10/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Thursday, September 10, 2009, 10:55 AM

You can change the font size with the pointSize attribute of the mathml configuration file element, but that is about all the control there is.

We set it fairly large to look good with the text around it.  The default values makes the text in the image kind of small.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Dun Li
Sent: Thursday, September 10, 2009 9:50 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

I wonder what settings (font-face, color, font-size, etc.) are used in saving equation as an image in Equation Editor. In our Equation Editor, all items in Properties menu are grayed out.  Is there a specific configuration file for it? I did not find it in ELJ configuration file and in SDK docs. Please advise. Thanks so much.

Dun



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
John VanAntwerp

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
Yeah, it's all grayed out for us, too...

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Dun Li
Sent: Thursday, September 10, 2009 10:14 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

Thanks John. A quick question, in your Equation Editor, is the Properties menu active? In ours, all menu items are grayed out. I wonder if there is a control/configuration to customize this.

Dun

--- On Thu, 9/10/09, John Vanantwerp <[hidden email]> wrote:

From: John Vanantwerp <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Thursday, September 10, 2009, 10:55 AM

You can change the font size with the pointSize attribute of the mathml configuration file element, but that is about all the control there is.

We set it fairly large to look good with the text around it.  The default values makes the text in the image kind of small.

- John

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Dun Li
Sent: Thursday, September 10, 2009 9:50 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

I wonder what settings (font-face, color, font-size, etc.) are used in saving equation as an image in Equation Editor. In our Equation Editor, all items in Properties menu are grayed out.  Is there a specific configuration file for it? I did not find it in ELJ configuration file and in SDK docs. Please advise. Thanks so much.

Dun



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Adrian Sutton

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
Just for the record, there's a major update to the equation editor coming
with the 7.0 release.  You can try it out now at
http://liveworks.ephox.com/early-access/editlive-development  (The download
actually also provides an online demo once you fill in the form).

I'm not familiar with exactly what's new, but I'm told it will at least
provide better quality images (higher DPI I think) and it wouldn't surprise
me if there were quite a few other new features.

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 628 200 182 x481  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Dun Li

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
Hi Adrian,

Can we customize the configuration (dpi, font-face, font-size, color, etc.) when MathML equation is stored as an image? Also, does ELJ 7 generate altimg and alttext attributes in MathML tag? Thank you very much.

Dun

--- On Thu, 9/10/09, Adrian Sutton <[hidden email]> wrote:

From: Adrian Sutton <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Thursday, September 10, 2009, 11:23 AM

Just for the record, there's a major update to the equation editor coming
with the 7.0 release.  You can try it out now at
http://liveworks.ephox.com/early-access/editlive-development  (The download
actually also provides an online demo once you fill in the form).

I'm not familiar with exactly what's new, but I'm told it will at least
provide better quality images (higher DPI I think) and it wouldn't surprise
me if there were quite a few other new features.

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 628 200 182 x481  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Just, Dylan

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
In reply to this post by Adrian Sutton
> Can we customize the configuration (dpi, font-face, font-size, color,
etc.) when MathML equation is stored as an image?

Font face is a little unusual for equation rendering, given that special
fonts are required in order to render the symbols. The new equation
editor for EditLive! 7.0 allows you to set a "style" from a drop-down
box - these styles roughly equate to fonts, but are like "bold italic,
fraktur, script, sans serif ", not "arial, times new roman".

The equation editor is an integrated 3rd-party component, and we've
asked the vendor for a way to set the style by default, so we can then
add this as a config setting to EditLive!. Our reference code for this
is EL-2586.

As John Vanantwerp mentioned, there is a pointSize attribute of the
mathml config element. In 7.0, we also add a DPI setting. The EditLive!
7.0 documentation has details.

Setting the foreground and background colour of an equation is logged as
a future feature - our reference code is EL-2542.

> Also, does ELJ 7 generate altimg and alttext attributes in MathML tag?

Sorry, we don't support these attributes, but we've logged EL-2587 to
investigate them in future. Note the createEquationImage="true" setting
on the mathml tag in the config - this may be useful to you.

Kind regards,

Dylan Just
Software Engineer
www.ephox.com
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Dun Li

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
Dylan,

Thank you for the information. I only see createEquationImage attribute in our mathml config, but the pointsize attribute is not there. So I think we use the default. Do you have those default settings from the 3rd party? I'm looking for font-face, font-size, and dpi.

Thanks.

Dun

--- On Thu, 9/10/09, Dylan Just <[hidden email]> wrote:

From: Dylan Just <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Thursday, September 10, 2009, 6:23 PM

> Can we customize the configuration (dpi, font-face, font-size, color,
etc.) when MathML equation is stored as an image?

Font face is a little unusual for equation rendering, given that special
fonts are required in order to render the symbols. The new equation
editor for EditLive! 7.0 allows you to set a "style" from a drop-down
box - these styles roughly equate to fonts, but are like "bold italic,
fraktur, script, sans serif ", not "arial, times new roman".

The equation editor is an integrated 3rd-party component, and we've
asked the vendor for a way to set the style by default, so we can then
add this as a config setting to EditLive!. Our reference code for this
is EL-2586.

As John Vanantwerp mentioned, there is a pointSize attribute of the
mathml config element. In 7.0, we also add a DPI setting. The EditLive!
7.0 documentation has details.

Setting the foreground and background colour of an equation is logged as
a future feature - our reference code is EL-2542.

> Also, does ELJ 7 generate altimg and alttext attributes in MathML tag?

Sorry, we don't support these attributes, but we've logged EL-2587 to
investigate them in future. Note the createEquationImage="true" setting
on the mathml tag in the config - this may be useful to you.

Kind regards,

Dylan Just
Software Engineer
www.ephox.com
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
John VanAntwerp

Re: from MathML to image

Reply Threaded More More options
Print post
Permalink
The font size is referenced as part of the pointSize attribute in the
Ephox configuration file information.

The DPI I have seen on the Design Science website and as far as fonts, I
believe it uses several different fonts to include all the symbols.
Again, the Design Science site has information about fonts.

- John

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Dun Li
Sent: Friday, September 11, 2009 9:22 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image

Dylan,

Thank you for the information. I only see createEquationImage attribute
in our mathml config, but the pointsize attribute is not there. So I
think we use the default. Do you have those default settings from the
3rd party? I'm looking for font-face, font-size, and dpi.

Thanks.

Dun

--- On Thu, 9/10/09, Dylan Just <[hidden email]> wrote:

From: Dylan Just <[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <[hidden email]>
Date: Thursday, September 10, 2009, 6:23 PM

> Can we customize the configuration (dpi, font-face, font-size, color,
etc.) when MathML equation is stored as an image?

Font face is a little unusual for equation rendering, given that special
fonts are required in order to render the symbols. The new equation
editor for EditLive! 7.0 allows you to set a "style" from a drop-down
box - these styles roughly equate to fonts, but are like "bold italic,
fraktur, script, sans serif ", not "arial, times new roman".

The equation editor is an integrated 3rd-party component, and we've
asked the vendor for a way to set the style by default, so we can then
add this as a config setting to EditLive!. Our reference code for this
is EL-2586.

As John Vanantwerp mentioned, there is a pointSize attribute of the
mathml config element. In 7.0, we also add a DPI setting. The EditLive!
7.0 documentation has details.

Setting the foreground and background colour of an equation is logged as
a future feature - our reference code is EL-2542.

> Also, does ELJ 7 generate altimg and alttext attributes in MathML tag?

Sorry, we don't support these attributes, but we've logged EL-2587 to
investigate them in future. Note the createEquationImage="true" setting
on the mathml tag in the config - this may be useful to you.

Kind regards,

Dylan Just
Software Engineer
www.ephox.com
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/



     
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
1 2