itexToMML News
A minor update to my MovableType itexToMML plugin. With this update, the itex to MathML with parbreaks filter is much smarter about skipping over block-level tags. There’s no change to the itex2MML executable, which was last updated at the end of April.
If you’ve tried commenting on this blog, you’ll also have noticed that I have Textile with itex to MathML and Markdown with itex to MathML filters available. If you have Textile 1.1 and/or Markdown 1.0 installed on your system, you can get the same functionality on your blog by
- Applying this patch to Textile and/or this patch to Markdown.
- Installing the TextileMarkdownMML plugin.
(Anyone who wants to take a crack at getting this to work with Textile 2.x is welcome to try.)
Finally, a minor update to my WordPress patch, which enable my WordPress plugin to work nicely with the existing WordPress text filters (wptexturize, Textile1, Textile2 and Markdown). For those who’ve already applied my previous patch, the new bit is
--- wp-includes/functions-formatting.php.orig Sun May 16 17:14:14 2004 +++ wp-includes/functions-formatting.php Thu May 20 12:27:40 2004 @@ -103,7 +104,7 @@ $content = preg_replace('/<category>(.+?)<\/category>/','',$content);
// Converts lone & characters into & (a.k.a. &) - $content = preg_replace('/&([^#])(?![a-z]{1,8};)/i', '&$1', $content); + $content = preg_replace('/&([^#])(?![a-z]+;)/i', '&$1', $content);
// Fix Word pasting $content = strtr($content, $wp_htmltranswinuni);
Update (8/25/2004): Updated for Markdown 1.0.
Posted by distler at June 3, 2004 12:43 PM
WordPress
What are the mean reasons not to switch? Since it seems you got most of MathML enabled already, not?
The only difficult part is that you would probably have to add namespace support to the current comment validator few people are using. And perhaps you could add those namespaces yourself, based on the element name, although I think that would be considered harmful…