Skip to the Main Content

Note:These pages make extensive use of the latest XHTML and CSS Standards. They ought to look great in any standards-compliant modern browser. Unfortunately, they will probably look horrible in older browsers, like Netscape 4.x and IE 4.x. Moreover, many posts use MathML, which is, currently only supported in Mozilla. My best suggestion (and you will thank me when surfing an ever-increasing number of sites on the web which have been crafted to use the new standards) is to upgrade to the latest version of your browser. If that's not possible, consider moving to the Standards-compliant and open-source Mozilla browser.

June 2, 2006

I Can’t help Myself …

Unable to leave well enough alone, I tinkered some more with itex2MML. The latest version does the following:

  1. Because of MathML’s strange inheritance rules for the <mi> element, \mathrm{a} did not, as you might expect, produce an upright a\mathrm{a}, but instead produced an aa. Now it does the right thing.
  2. I purged itex2MML of the deprecated fontstyle and fontweight attributes, substituting the preferred mathvariant attribute instead.
  3. I added \tfrac{·}{·}, the AMSLaTeX synonym for {\textstyle \frac{·}{·}}
  4. With much trepidation, I added colour support, in the form of \color and \bgcolor. Hideous, inaccessible, things are — of course — possible. (I will resist the temptation to link to some examples.) But a judicious use of colour need not always be bad.

    x(t)=x 0e γtcos(ωt)\bgcolor{#DEF}\: x(t)= x_0 \color{purple} e^{-\gamma t} \color{red} \cos({\color{blue}\omega} t)\:

    is produced by

    $$
    \bgcolor{#DEF}\:
    x(t) = x_0 \color{purple} e^{-\gamma t}
    \color{red} \cos({\color{blue}\omega} t)\:
    $$

To enable the colour features in comments required yet another re-jiggering of our sanitize spec.

Oh, and the rendering bug on MacOSX, which screwed up \overline? Fixed that.

Update:

Sam Ruby is working on bringing MathML support to Planet. If Sam succeedsNow that Sam has succeeded, I’ll have to convince the proprietor of Mixed States to convert from whatever the heck he’s using now. Either that, or roll out my own Planet-Musings to compete.
Posted by distler at June 2, 2006 2:23 AM

TrackBack URL for this Entry:   http://golem.ph.utexas.edu/cgi-bin/MT-3.0/dxy-tb.fcgi/826

2 Comments & 2 Trackbacks

Read the post MathML
Weblog: Sam Ruby
Excerpt: I’ll join in the fun. The CVS HEAD version of the Universal Feed Parser now supports “Jacques Distler’s subset of MathML”. Take a look at this test feed. MathML. In RSS 2.0. No declaration of xlink anywhere to be found. It
Tracked: June 2, 2006 5:39 AM

Re: I Can’t help Myself …

Ahem.

If? If? IF?

;-)

Posted by: Sam Ruby on June 2, 2006 12:47 PM | Permalink | Reply to this

Sorry…

When. When! When?

Posted by: Jacques Distler on June 2, 2006 1:02 PM | Permalink | PGP Sig | Reply to this
Read the post The n-Category Café
Weblog: The String Coffee Table
Excerpt: New group blog: "The n-Category Cafe".
Tracked: August 17, 2006 6:26 AM

Post a New Comment