# Exporting a worksheet as HTML+MathML

(Excerpt from "The MathML Handbook" by Pavi Sandhu)

You can export a worksheet to HTML and automatically convert all mathematical output into MathML. To do this, follow these steps:

- Open the worksheet that you want to export.
- Choose File → Export As → HTML with MathML.
- In the Save As dialog that appears, specify a name and location for the file, and then click OK.
- The HTML options dialog is displayed. Use the Save Mathematical Expressions As pop-up menu to specify the type of MathML you want to produce.
- Click OK.

An HTML version of the worksheet that contains embedded MathML equations is saved in the location you specified. Parts of the worksheet that cannot be saved as HTML (such as graphics) are saved as GIF images. By default, any images produced are saved in an images directory located in the same directory as the HTML document. You can choose the particular type of MathML in which to save formulas using the HTML Options dialog (see the following figure).

*Figure: The HTML Options dialog, which shows the options available for saving formulas in a worksheet as MathML.*

Conversion from *Maple* worksheets to HTML+MathML documents is not reversible! That is, you cannot import an HTML+MathML document produced in this way into *Maple* and convert it back into a worksheet for doing further calculations. This type of two-way conversion, however, is supported in *Mathcad*.

<< back | next >> |

**Copyright © CHARLES RIVER MEDIA, INC., Massachusetts (USA) 2003**

Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "The MathML Handbook" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.

CHARLES RIVER MEDIA, INC., 20 Downer Avenue, Suite 3, Hingham, Massachusetts 02043, United States of America