W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > September 2001

Math in email, HTML (was: SYNTAX: Lexical-Functional Grammar approach)

From: Aaron Swartz <aswartz@upclink.com>
Date: Fri, 14 Sep 2001 17:43:39 -0500
Message-Id: <200109142246.f8EMkIb26555@theinfo.org>
Cc: w3c-rdfcore-wg@w3.org, Jeremy Carroll <jjc@hplb.hpl.hp.com>
To: Pat Hayes <phayes@ai.uwf.edu>
On Friday, September 14, 2001, at 10:48  AM, Pat Hayes wrote:

> I think it is almost impossible to get 'math' symbols to come 
> out right in more than about half the extant browsers. It might 
> be better to use &-escapes with the character names. I notice 
> that the Encyclopedia of Philosophy uses little gifs for things 
> like quantifiers and subset in its HTML, presumably in 
> desperation.

Combining these two approaches in MINSE:

http://web.lfw.org/math/

which takes plain text math such as:

'deriv(f(x), x) = 'lim((f(x+h)-f(x))/h, h->0)

and converts them to ASCII art:

   d                 f(x + h) - f(x)
---- f(x) =  lim   -----------------
  dx         h -> 0         h

or images:

http://web.lfw.org:1718/@bar(d,dx)_f@paren(x)_@(dblbar)_@stk(@uprt(lim),@s
ml(h_@(rtarrow)_0))_@bar(f@paren(x_+_h)_-_f@paren(x),h)_

--
[ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]
Received on Friday, 14 September 2001 18:43:41 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:39:43 EDT