22 August 2018
See also: Working with Equations (Designer)
Working with equations in Typefi isn't hard, but it does impact a number of components within your workflows and requires some forethought as to how you author equations and whether you format your equations in MathML or as equation images.
This document is an overview of the techniques and technologies required to create a seamless experience when working with equations. For information on working with equations within InDesign and within accessible EPUB, see Working with Equations (Designer).
Equation images (also frequently know as "MathType EPS") have been used for decades as a method of including complex equations in publishing workflows, and Typefi has long supported this workflow. But for more modern workflows, especially where accessibility is increasingly important, we recommend MathML instead.
|Unicode® support||Unicode 2.0†||Unicode 11|
|Application type||external app||external app||built-in|
|Typefi Server workflows||no||no||yes|
* Microsoft Equation Editor (Equation 3.0) was licensed from Design Science in 1996. It has never supported equation images or MathML. Equation Editor became an optional install with Microsoft Office 2007 (where it was replaced by Equation Builder), and was discontinued in January 2018.
† MathType supports MTCode, which is based on Unicode 2.0 (1996) with additional support for some Unicode 3.1 (2002) and Unicode 3.2 (2002) math characters via the Unicode Private Use Area (see MTCode Encoding Tables).
‡ Accessible HTML or EPUB output requires Movemen MathTools v3 or later to replace the unintelligible equations exported by InDesign with either MathML or equation images with
alt text. For more information, see Working with Equations (Designer) → Movemen MathTools.
NOTE If you are interested in a more detailed and highly technical feature comparison between Equation Builder and MathType, see Murray Sargent's blog posts: Other Office Math Editing Facilities and Equation-Editor Office-Math Feature Comparison.
WIRIS MathType (equation images) ↩
MathType (currently version 7) is the original mathematical notation tool for Microsoft Word. Open MathType and you have everything at your fingertips for professional-quality math typesetting. Maths for More, a mathematical software company based in Barcelona, Spain that makes WIRIS tools, acquired Design Science, makers of MathType, in September 2017.
To insert an equation with MathType:
Select a command from the Insert Equation group on the MathType tab.
This launches the MathType application.
NOTE If the MathType title bar does not say Equation in … and instead simply says something like Untitled 1 there is no link between MathType and Microsoft Word. Please close MathType and again select a command from the Insert Equations group on the MathType tab.
After creating your equation, close the MathType application to place it in your Word document.
TIP The first time you do this a pop-up will appear asking if you want to save changes; if you don't want to see this confirmation every time, tick the Don't show this dialog from now on check box.
To change or edit an equation that was previously written, simply double-click it. This will open the equation for editing in a new MathType window.
TIP If your document has Equation Builder equations, but you prefer or need to use MathType instead, click Convert Equations in the Format group on the MathType tab, and then select the equation types you want to convert to MathType equations. You can select the whole document or your current selection, and also whether you want to be prompted before each conversion. You may need to do some cleanup on the converted equations, but it's much less work than recreating the equations manually.
For more information on authoring equations using MathType, please see the WIRIS MathType documentation.
- Make a note of the location of the MathType application
C:\Program Files (x86)\MathType)
- Click Start, and then click Run
- In the Open box, type
regedit, and then click OK
- Within Registry Editor, navigate to HKEY_LOCAL_MACHINE → SOFTWARE → WOW6432Node → Design Science → DSMT6 → Directories
- Select Edit → New → String Value, type
ProgDir, and then press Enter
- Double-click the new
ProgDirkey, and then enter the MathType application path from step 1 as the Value data
Because MathType uses OLE (Object Linking and Embedding) objects to insert its equations into Microsoft Word, they must be converted into an alternate format before they can be used in applications that don't support OLE (for example, the Saxon XSLT processor or Adobe InDesign).
Typefi Writer automates the conversion of MathType equations into MathType EPS equation images once you've installed two additional Microsoft Word templates (contact your Typefi Solutions Consultant for access):
- The MathType SDK template exposes the advanced capabilities of MathType to third-party applications like Typefi Writer; and
- The MathType for Typefi Writer template modifies Typefi Writer's Publish function to export all MathType equations as MathType EPS equation images and swap them into a temporary copy of your document to replace the original MathType OLE objects (this temporary file is submitted to the selected Typefi Server workflow, leaving your original document untouched).
NOTE Because this conversion relies on the MathType SDK and the locally installed MathType application, MathType-enabled documents are restricted from being used directly as inputs to server-side Typefi workflows. For example, if you select a MathType-enabled document as input for an Import DOCX workflow action, the Content XML output will not include your equations.
Microsoft Equation Builder (MathML) ↩
Authoring equations with Microsoft Equation Builder is simple and easy, and Equation Builder equations are natively supported by our server-side Import DOCX or Modify DOCX workflow actions without requiring any additional software or configuration.
To insert an equation with Equation Builder, choose Insert → Equation and:
- Choose an equation from the built-in gallery; or
Select Insert New Equation (
Alt =) from the bottom of the built-in gallery.
To change or edit an equation that was previously written:
- Select the equation, which will show Equation Tools in the ribbon;
NOTE If you don't see Equation Tools in the ribbon when you select an equation, it may have been created using Equation 3.0 or using an add-in like MathType. Rather than recreating it from scratch, you can use GrindEQ Math Utilities to convert Equation 3.0 and MathType objects into Microsoft Equation format.
- Choose the Design tab to see tools for adding various elements to your equation:
- Symbols. Click the arrow in the upper right corner of the gallery to see other symbol sets.
- Structures. Choose a structure to insert and then replace the placeholders with your own values.
- Conversion. Use Professional to display the current or all equations in a professional format optimized for display; use Linear to display the equation in either UnicodeMath format or LaTeX format.
Format Input Output UnicodeMath
For more information about creating equations or formulas in Microsoft Word, see Write an equation or formula and Linear format equations using UnicodeMath and LaTex in Word.