[racket] Literate Programming and Scribble

From: Patrick King (slowthought at gmail.com)
Date: Sat Sep 11 17:03:49 EDT 2010

On Thu, Sep 9, 2010 at 10:31 PM, Eli Barzilay <eli at barzilay.org> wrote:

> On Sep  9, Karl Winterling wrote:
> > There's MathJax (http://www.mathjax.org)
> MathJax is the best solution I've seen so far -- but it's kind of
> cheating...  "If we can't get broad support for renering math, we'll
> do it ourselves."  This makes the result much less appealing as proper
> support -- like relying on js (probably means that things break left
> an right if I want to view local file:// html pages), or like
> requiring me to upgrade a js library when they have a new version (or
> maybe I can use code from their site, but then I rely on their server
> to have my documents in working shape).

MathJax seems an excellent solution for my needs, but as Eli notes it relies
on JavaScript.  Racket is already loading "scribble-common.js" automatically
when HTML is "scribbled", but I'm having a heck of a time figuring out how
to make it load "mathjax.js".  Of course, the last time I hacked raw HTML
was before CSS or JavaScript was invented...

All clues welcome,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100911/7b138728/attachment.html>

Posted on the users mailing list.