Copying and pasting MathML
(Excerpt from "The MathML Handbook" by Pavi Sandhu)
Version 7 and later versions of Maple include full support for MathML 2.0. Both presentation and content tags are supported. You can import, evaluate, and export MathML functions using either copying and pasting, menu commands, or specialized package functions.
To copy mathematical output as MathML, follow these steps:
- Select the expression you wish to convert into MathML in the Maple worksheet.
- Right-click with the mouse. This brings up a contextual menu of the type shown in the following figure.
- From the menu choose Conversions → MathML.
Figure: The contextual menu for converting output into MathML.
A MathML version of the selected expression is returned as an output string. You can then copy the MathML expression from the output and paste it into another application.
You can also copy MathML equations from another application and paste them into Maple in the form of a valid Maple expression. When you attempt to paste a MathML expression into a worksheet, you will get a dialog that asks if you wish to interpret the expression or paste it literally (see the following figure). If you click Yes, the corresponding Maple expression will be pasted into the worksheet.
Figure: The dialog that appears when you paste a MathML expression into a worksheet.
|<< 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