Challenges in production of accessible Math

Editors’ Working Draft

8 September 2025

Copyright © 2025 DAISY Consortium

Introduction

This document refers to Best Practices for Authoring MathML in EPUB. Updated as of September 5, 2025.

Born Accessible Production Perspective on Inline Mathematical Expressions

While best practices for accessible mathematics suggest comprehensive MathML markup for all mathematical content, their implementation presents significant practical challenges for publishers, typesetters and production workflows.

The best practices suggest that including simple expressions like "4 − 1 = 3" or single Greek letters, should be marked up with MathML. This is challenging with established typesetting practices for print books where inline mathematical expressions are traditionally handled as italic text using standard typography and UTF-8 characters.

What do we mean by Inline Math

Inline mathematical expressions are formulas that appear within the flow of text, embedded directly in paragraphs rather than displayed as separate mathematical blocks. These expressions are typically constrained to a single line (no fractions) to maintain text flow and readability.

Examples of inline math include:

In contrast to math blocks, which are:

Inline math expressions are designed to integrate seamlessly with text flow, maintaining consistent line height and spacing while providing mathematical meaning within sentences.

Visual Rendering Issues

When inline math expressions are converted into MathML, several rendering problems emerge. As MathML elements are rendered as inline-block (these are often vector images used for print production, which are exported as MathML for digital export.), they can cause:

These issues can be resolved, but they require manual intervention for each expression, which is difficult to industrialize.

Workflow Integration Challenges

Most born accessible publishing workflows begin with print production using professional desktop publishing software (InDesign, QuarkXPress, etc.) where inline mathematical expressions are naturally handled as UTF-8 styled text (typically italic) to maintain consistent typography and avoid layout disruptions.

In this scenario implementing MathML for inline formulas requires additional steps in post-production, including:

Automation Possibilities and Limitations

There may be potential semi-automatic solutions to improve workflow. If editorial team consistently use specific character styles for inline mathematical expressions, scripts could potentially:

However, these automated systems have limitations, especially with regard to semantic ambiguity in automatic conversion. In particular with:

In any case at the moment, there are no open source tools available that support this automation.