[racket] Literate Programming and Scribble

From: Karl Winterling (kwinterling at gmail.com)
Date: Thu Sep 9 23:03:16 EDT 2010

Eli Barzilay wrote:

> Using images sound like the usual fragile solution, so ideally there
> will be some better solution for both latex/pdf and html in the
> future.  (But it's been more than a decade that math-in-a-browser is
> "just around the corner".)

There's MathJax (http://www.mathjax.org) which accepts LaTeX (yes, and 
\newcommand) or MathML as input and can render images, MathML, or 
HTML-CSS based on browser support and user preferences. It supports copy 
and paste into LaTeX files and any program that supports MathML like 
MathType or Mathematica. Apparently, though, people think that the API 
isn't robust enough yet for Web application support.

MathML is important to support because applications like screen readers 
can use it, but it's a very good way of representing math statically. 
Unfortunately, math typesetting support is a fairly low priority for 
most applications since few people want it and it involves writing 
nontrivial code (like a TeX parser).

Posted on the users mailing list.