Welcome to the Maplesoft MathML Home Page

Last updated May 2005

  What is MathML 2.0?
  How to export Maple 10 Classic Worksheet Interface output as MathML
  Download the WebEQ MathML Viewer for Maple 10 Classic Worksheet Interface
  Other systems that support MathML

What is MathML 2.0?

Maple 10 Classic Worksheet Interface supports MathML 2.0. Maple MathML support allows users to export Maple 10 Classic Worksheet Interface output expressions and worksheets as MathML-enriched Web pages.

Home


How to Export Maple 10 Classic Worksheet Interface Output as MathML

Maple 10 Classic Worksheet Interface

Export a worksheet as an HTML document for viewing in a Web browser.

1.      Open the worksheet that you want to export.
2.      From the File menu, select Export As, and then HTML with MathML.
3.      Specify a path and folder for the file.
4.      Enter a filename.
5.      Click Save. The HTML Options dialog opens.
6.      In the Image Location field, enter the pathname for the directory where exported images are to be saved.

Images in an HTML document cannot be saved in the HTML file. Each image is saved in its own GIF file. If the directory that you specified does not exist, it is created for you. All image directories are relative to the document. The default directory is images, and it is located under the same directory that was selected for the HTML document. For example, if the HTML document is saved in /u/mydocs, the default image directory will be /u/mydocs/images. An Image Subdirectory of "" causes the images to be saved in the same directory as the HTML file.

7.      To export the worksheet as an HTML document with frames, select the Use Frames check box.
8.      To export mathematical expressions as MathML instead of GIF images, select the appropriate MathML check box.
9.    Click OK.


Proper Display of Exported Worksheet

Your browser determines whether you can properly display the exported worksheet using MathML 2.0 with WebEQ, MathML 2.0, MathML 1.0, or GIFs for the formatted mathematical output.

If WebEQ is not currently installed on your system, the MathML viewer is invoked over the Internet. This can cause slight delays when opening the HTML file. To avoid these delays, you can install the WebEQ MathML Viewer permanently on your machine.

Home


Individual Maple Expressions

You can also export individual Maple expressions as MathML strings. If the expression is named "expr", then enter the following command:
> MathML:-Export( expr ):
 
This produces a string containing the MathML representation of the Maple expression. To list the string in tab-indented layout, issue this command next:
> XMLTools:-Print( % );
 
Alternatively, you can right-click on the Maple output expression you wish to export. From the context-sensitive menu that pops up, select Conversions. From that submenu, select MathML.

You can copy the MathML string to the clipboard and then paste it into any other Maple worksheet. The pasted expression will be the Maple expression represented by the MathML string.

Home


Download the WebEQ MathML Viewer for Maple 10 Classic Worksheet Interface

WebEQ, developed by Design Science Inc., is a MathML-viewing technology embedded in Maple 10 Classic Worksheet Interface that allows you to view MathML in Web pages on most standard browsers. When you open a Web page containing Maple-generated MathML, WebEQ invokes a MathML viewer that displays each Maple output in the Web page as an applet. If WebEQ is not currently installed on your system, this viewer is invoked over the Internet. This can cause slight delays when opening the HTML file. To avoid these delays, you can install the WebEQ MathML Viewer permanently on your machine.

Home