Understand how you can create equations using MathML style editor and structure editor in Adobe FrameMaker.
In addition to using the FrameMaker Equation panel to add equations to your documents, you can also use the MathFlow editor from Design Science to design complex mathematical equations. You can then add these equations to your FrameMaker documents. You also have the option to later modify these equations in the same MathFlow editor and publish documents containing MathML equations.
MathML equations are available for use in FrameMaker structured and unstructured documents.
If you generate PDF output for a document containing MathML equations, a reader can search for the contents of these equations.
FrameMaker ships with a trail version of the following MathFlow editors:
MathFlow™ Style Editor is for content authors and subject matter experts (SME). It provides precise control over the visual appearance of math expressions, a style toolbar for quickly adjusting fonts, and an easy to use interface for modifying a wide range of equation properties from operator spacing to matrices/table appearance.
MathFlow™ Structure Editor is for XML content professionals. It provides fine control over visual presentation and its underlying MathML structure. There is a Source View enabling the user to add processing instructions and comments directly to the MathML, a ruler for precise layout of the equation, and a tabbed toolbar for storing commonly used equations or fragments.
For a feature comparison of the editors, see MathFlow Editors. Also, for the procedure to upgrade to the full version of the MathFlow editor, see Configure the installation settings.
See the video, MathML in unstructured documents.
On the Insert menu, choose MathML Equation.
Create an equation in the MathFlow Editor window.
For details on how to create equations in the MathFlow see the MathFlow help. You can launch the MathFlow help from within the MathFlow Editor window.
To add the equation to the document, click OK.
When the MathML equation is created, an image (.png) file is inserted in the document.
Double-click the equation in the document or right-click on the equation and select Edit with MathFlow.
Edit the equation in the MathFlow Editor window.
To update the equation in the document, click OK.
FrameMaker also supports the copy-paste and undo-redo operation on equations on MathML equations in a document.
To configure MathML settings in FrameMaker, choose Preferences dialog and select the MathML tab.
to open theFrameMaker ships with a 30 day trial version of Style and Structure editor of MathFlow from Design Science. You can obtain the full version of the Style or Structure editor from Design Science and integrate that with FrameMaker.
After you have installed the full version of the Style or Structure editor, go to the MathFlow section of the MathML tab.
The trial version that ships with FrameMaker is installed in the Adobe FrameMaker installation path. If you have installed MathFlow in an alternative path, specify that path.
In the License File Path text box, specify the path to the license file and click OK.
You need to restart FrameMaker to ensure these changes take effect.
You can update the formatting of a selected MathML equation in a document or you can change the preferences for all MathML equations. By default, the font size of the equations is set to 14 px. DPI for the images that FrameMaker inserts into a document for each equation defaults to 300 dpi. Also, you can choose to place an equation inline with the enclosing paragraph and you can apply the formatting of the enclosing paragraph to the equation.
To update the formatting of the current selected MathML equation:
Select the MathML equation and choose
.Or choose
.These options are also available in the context menu.
Update the formatting for the currently selected MathML equation in the MathML Equation Properties dialog.
Apply the following formats of the enclosing paragraph to the equation:
Font
Font family
Background color
Foreground color
You can also apply these settings globally to all MathML equations created subsequently.
Open the Preferences dialog (
).In the MathFlow settings section of the MathML tab, change the equation settings.
These settings take effect immediately. So you do not need to restart FrameMaker.
The trial version of the MathFlow editor includes the Style and Structure editors. During this period, you can choose between either of these editors.
To change the MathFlow editor, go to the Editor Type section of the MathML tab.
Choose the required MathFlow editor and click OK.
You need to restart FrameMaker to ensure these changes take effect.
FrameMaker
includes a sample DITA 1.2 MathML application named DITA_1.2_MathML_Sample
. This <mathml>
element
has complete support for the MathML equations that are rendered
by the MathFlow Style and Structure editors. To add MathML to a
document, you can create a file based on this application and then
use the MathML element in it.
See the video, MathML in structured documents.
To insert a MathML type element, do the following:
Choose
.In the New XML dialog, go to the Structured Applications tab and select DITA_1.2_MathML_Sample. Click OK.
A new document is created.
Go to any part of the document where you want to insert a MathML equation.
The MathML element, mathml, is available in the Elements catalog of the sample structured app.
Double-click the <mathml>
element
to insert it at the point in the document.
Go to the XML view of the current document.
The XML of the structured document contains a MathML node at the location where you inserted the MathML element.
You also have the option to edit the equation within the mathml node in the XML view. The changes can then be seen in the WSIYWIG view.