Jeffrey M. Barber

Tombstone

mathml

Aug 2003 · age 21

What it was

"phpMathML", a server-side renderer for Content MathML, written in one week of August 2003 because browsers could not display math and Jeff wanted to post mathematics online. A page opted in with a comment marker; each formula block was replaced by an image whose address carried the formula, hex-encoded. On the server, the XML was parsed into a node table and compiled into a string of PHP calls, which was then evaluated to build the picture as a box model: every glyph a measured box, joined left to right and top to bottom, aligned around operators, wrapped in parentheses. Seven homemade TrueType fonts supplied the pieces, so a tall parenthesis or integral was a stack of tiled glyphs. GD drew the result as a JPEG, and a second back end produced HTML tables. The demo went live; the status sheet said 40 percent of tags were supported.

Wins, for the age

What it taught

Genealogy

Ancestors: Memorando: software for learners, now wanting to show real mathematics. Descendants: Edu Lang: teaching output rendered straight to the browser. HUROX Compilers: templates compiled into host-language code. Jovian Suite: a compiler whose output was a web page. Tutor: a box-model equation typesetter, rebuilt in GDI+.

Epitaph

Here lies phpMathML, which typeset integrals from a font where E was the middle of the sign, and evaluated whatever you sent it.