Boost logo

Boost :

From: Kevin Lynch (krlynch_at_[hidden])
Date: 2008-03-06 15:12:56

Loïc Joly wrote:
> John Maddock a écrit :
>> I've played with this some more using the examples from
>> : I can get these to display correctly in both
>> IE7 and Firefox provided the file extension is .xml, but for offline viewing
>> in IE7 you have to click though endless security warnings before the content
>> finally appears, Oh and Opera doesn't display the sample pages at all either
>> :-(
>> So I think for now I'll stick to images...
> What about using images, but linking them so that a click on them leads
> to a MathML file ? That way, the equation is directly visible for casual
> readers, but readers who have problems reading it and are serious about
> solving them can display them in the resolution fitting their needs.

Does the OBJECT tag of HTML work in most browsers? That's designed to
allow fallback when the browser can't render content, and you want to
provide alternate content. You might be able to embed mathml for those
browsers that support it, and fall back to images for those which don't.
  Unfortunately, I've never tried to do it for real, nor would I know
how to make it work in Quickbook even if I had :-) But html would be
something like:

here's an equation:
<object data="/url/of/mathml/equation.mathml" type="text/mathml">
        <object data="/url/of/math/equation.png" type="image/png">
                There's an equation here that can't be rendered.

Kevin Lynch				voice:	(617) 353-6025
Physics Department			Fax: (617) 353-9393
Boston University			office:	 PRB-361
590 Commonwealth Ave.			e-mail:	 krlynch_at_[hidden]
Boston, MA 02215 USA

Boost list run by bdawes at, gregod at, cpdaniel at, john at