## MathML in NIMAS

In March, 2009, the NIMAS Standards Board voted by a clear majority to recommend to the Office of Special Education Programs, United States Department of Education that MathML become part of the required NIMAS Baseline Element Set.

In response, on June 22, 2012, the Office of Special Education and Rehabilitative Services distributed a Dear Colleague letter to all state directors of Special Education referencing the availability of the MathML3 Structure Guidelines. (MathML3 is the current version of the XML-based math mark-up language ratified by the World Wide Web Consortium [W3C], the DAISY Consortium, and the NIMAS Standards Board.)

Download the full text of the OSERS letter in Word or PDF format.

The availability of a viable and robust technical standard for the inclusion of mathematical content in K–12 instructional materials significantly facilitates the creation of valid XML source files containing mathematical content, which in turn will allow these files to be transformed into student-ready versions—such as digital text and braille—that are far more accessible to print-disabled students than the current image-based math files included in NIMAS filesets. For additional information about MathML, see the following:

http://www.daisy.org/daisypedia/introduction-mathml-in-daisy-in-10-small-chapters

http://www.w3.org/2010/09/mathml-testimonials

The June 2012 OSERS letter specifically encourages State Education Agencies (SEAs) and Local Education Agencies (LEAs) to “ask publishers to use the MathML3 Structure Guidelines recommended by the [NIMAS] Center when requesting NIMAS files.” NIMAS filesets for print instructional materials are produced in order to meet requirements of IDEA, where instructional materials are defined as follows:

Definition of Print Instructional Materials from IDEA 2004 [20 U.S.C. 1474(e)(3)(C)]:

“(C) PRINT INSTRUCTIONAL MATERIALS.—The term ‘print instructional materials’ means printed textbooks and related printed core materials that are written and published primarily for use in elementary school and secondary school instruction and are required by a State educational agency or local educational agency for use by students in the classroom.”

The specific use of MathML to provide mathematical content in meeting these requirements is now included in policy recommendations by both OSERS and the NIMAS Center. MathML in NIMAS is an application of the MathML in DAISY modular extension. The MathML module in DAISY details requirements for the use of MathML in a digital talking book (DTB), while the inclusion of the MathML module in NIMAS only refers to requirements relative to creation of the following:

- XML source files that conform to DTBook DTD-Z39.86-2005 (and subsequent revisions), and
- OPF package files in NIMAS filesets.

**Note:** Other aspects of the MathML in DAISY modular extension are not currently relevant to MathML in NIMAS.

This extension of the NIMAS does not modify the MathML specification as found in the DAISY Standard, although it places some restrictions upon its use. It is based on MathML3. MathML in NIMAS, like MathML in DAISY, will be updated to align with the most current MathML specification as that specification is updated.

To include MathML in a NIMAS fileset, the following parts require additions:

- The package file

- Metadata must be added to indicate the presence of MathML in a source file.
- If MathML is not present, then metadata must not be present that indicates that it is (for example, automated processes must not add MathML metadata by default).

- The XML source file

- The DTBook DTD must be updated to include the MathML module.
- The actual math content itself is provided, encoded in MathML, within the XML source file.

### MathML Structure Guidelines

The purpose of the MathML Structure Guidelines document is to provide preliminary guidance on the correct application of MathML to the XML element set in DTBook, a key component of the ANSI/NISO Z39.86 Standard to which DAISY and NIMAS conform. The MathML Structure Guidelines detail best practices in the application of MathML in the mark-up of instructional materials of the type commonly found in elementary, secondary, and post-secondary educational curricula.

Prior to the approval of MathML as an extension to the DAISY Standard (and sufficient tools and rendering software became available), the NIMAS Center provided guidance to publishers, producers, and others regarding the creation of accessible math content using images when necessary for content such as graphs and illustrations as well as for mathematical content such as equations, symbols, etc. While the current NIMAS version 1.1 specification does not articulate images for mathematical content specifically, it does require that all images in a print work be provided (in either SVG, PNG, or JPG formats) and the NIMAS v1.1 also states that NIMAS-conformant content must be valid to the NIMAS 1.1 [see DAISY/NISO Z39.86 2005 or subsequent revisions].

The current version of the DAISY Structure Guidelines states that, "while MathML does not require the altimg and alttext attributes to be present on the <math> element, the MathML in DAISY Specification does require these attributes to be specified. These attributes provide a fallback mechanism for basic DAISY players that are not capable of rendering MathML. The resolution of the image referenced by the altimg attribute should be such that it is readable when scaled for large print. The alttext value should unambiguously describe the mathematical expression" (http://www.daisy.org/z3986/structure/SG-DAISY3/part2-math.html). Since the specification referenced requires images, so does the NIMAS. Further, the NIMAS v1.1 states that filesets that do not follow practices outlined in the Structure Guidelines are not conformant to the Standard (http://aim.cast.org/experience/technologies/spec-v1_1).

Best practices also dictate that images be provided because braille transcribers benefit from image files of math content to assure accurate braille rendering. The above is consistent with the DAISY/NISO Z.39.86 technical specification, the MathML in DAISY modular extension, the DAISY/NIMAS Structure Guidelines, and, from a policy perspective, the control letter sent by OSEP to New Mexico in January, 2008 (http://www2.ed.gov/policy/speced/guid/idea/letters/2008-1/koscielniak013008nimas1q2008.pdf).

Please note that requiring both MathML and images is an interim requirement. It is currently necessary to have a fallback. Later, when MathML is more widely supported, images will no longer be required.

#### Additional Resources

##### Browsers that Support MathML

- Explorer 9 (http://windows.microsoft.com/en-US/internet-explorer/products/ie/home) by Microsoft (with plug-in)
- Firefox (https://www.mozilla.org/en-US/firefox/new/) by Mozilla
- Opera 9.5 (http://www.opera.com/) by Opera Software

##### Editors to Create MathML

- Amaya (http://www.w3.org/Amaya/) by W3C
- FireMath (http://www.firemath.info/) (freeware)
- MathCast (http://mathcast.sourceforge.net/home.html) by Source Forge
- MathFlow (http://www.dessci.com/en/products/mathflow/) by Design Science
- MathMagic (http://www.mathmagic.com/) by InfoLogic

##### Players that Render MathML

- Active Math (http://www.activemath.org/) by DFKI & Saarland University
- MathPlayer (http://www.dessci.com/en/products/mathplayer/) by Design Science
- Kurzweil 3000 (http://www.kurzweiledu.com/default.html) by Kurzweil (with plug-in)
- ReadHear (http://www.ghbraille.com/) by gh LLC
- Read&Write GOLD (http://www.texthelp.com/North-America) by textHELP

#### Relation to Other Standards

The Structure Guidelines refer to or expand upon the following standards: