## 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 $\mathrm{a}$, but instead produced an $a$. 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.

$\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:   https://golem.ph.utexas.edu/cgi-bin/MT-3.0/dxy-tb.fcgi/826

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