Accessibility

ALAP - Accessible Word-to-LaTeX Converter

A standalone C#/.NET tool that converts mathematical equations in Word documents (OMML) into LaTeX, letting blind and visually-impaired users produce properly structured math documents without a sighted transcriber.

Accessibility Assistive Technology LaTeX Research
ALAP - Accessible Word-to-LaTeX Converter

Technologies Used

C#
.NET
OOXML / OMML
LaTeX

Overview

ALAP was a research-assistantship project at LUMS (2011–2012) that tackled a narrow but real accessibility gap: blind and visually-impaired students could write prose in Word using a screen reader, but screen readers largely fail to read out mathematical equations correctly, and there was no direct path from a Word-authored equation to a properly structured LaTeX document.

The core of the work was a standalone converter: it read the equation objects embedded in a Word document (Office Math Markup Language, OMML) and translated them into LaTeX markup — preserving structure like fractions, exponents, subscripts, and Greek symbols rather than flattening them into unreadable text.

Note: this is unrelated to the later, separately-published ALAP system (CHI 2019, Karim et al.) which shares the same acronym and general problem space but is a different team’s work built years after this project.

The Problem

  • Screen readers handle linear text well but mishandle or skip mathematical notation entirely.
  • Producing a correct LaTeX document from scratch is hard without sight — authoring math directly in LaTeX syntax is error-prone to verify by ear.
  • At the time, the practical workaround for blind students was to dictate or describe equations to a sighted transcriber, which doesn’t scale and isn’t independent.
  • Word’s own equation editor was already reasonably usable with assistive tools for input, but nothing converted that input into a format (LaTeX) that downstream tools and collaborators could actually use.

Approach

Rather than building a new authoring environment, the tool worked with what blind students were already using: Word’s equation editor. The converter:

  1. Parsed the OMML equation structures embedded in a .docx file
  2. Walked the resulting tree (fractions, radicals, scripts, operators, symbols)
  3. Emitted equivalent LaTeX markup, preserving nesting and structure
  4. Reassembled the document with LaTeX in place of the original equation objects

This kept the authoring side unchanged — students didn’t need to learn a new tool to write math — and made the output usable anywhere LaTeX is expected (compiling to PDF, sharing with sighted collaborators, submitting coursework).

Testing

The converter was tried in informal usability sessions with blind and visually-impaired users at LUMS. Feedback from these sessions shaped iteration on the parser, particularly around which equation structures needed special handling to come out correctly (nested fractions and multi-level scripts were the trickiest cases).

Status & Limitations

  • Working prototype, validated through hands-on sessions with real users — not a shipped product or a published research result.
  • No text-to-speech component; the focus was strictly the authoring-to-LaTeX conversion path, not narration of math back to the user.
  • Built in 2011–2012 for Word’s OOXML format at the time; not maintained since.

Role

Sole developer, built as part of a research assistantship at LUMS.

Interested in collaborating?

Let's discuss how we can work together on innovative projects.