W3C home > Mailing lists > Public > www-math@w3.org > August 2006

RE: Whitespace handling following inline math

From: Waters, Michael, Springer US <Mike.Waters@springer.com>
Date: Wed, 30 Aug 2006 13:25:26 -0400
To: David Carlisle <davidc@nag.co.uk>
Cc: www-math@w3.org
Message-id: <F9A426730B49D8489A32B966BBF03D5703C9923C@NY-EX001.springer-sbm.com>

>yes they know about that one, see
>http://www.dessci.com/en/support/mathplayer/tsn106.htm
>item 5
>Internet Explorer Bugs & Limitations
>IE sometimes removes space following the </math> tag. It seems to do so
>when there is no start tag on the same line. Here is a test page that
>demonstrates the problem. 
>
>what I do is just make sure that the space after math is a #160 rather
>than a #32 (by inserting a suitable rule in the stylesheet that's
>generating the pages) not ideal but it works.
>
>I do this while generating the pages, if you are using pmathml.xsl you
>could add a template to that stylesheet to change a space following a
>math at rendering time.
>


Yes, I thought that might be the case.

In a re-posting of my original message [some www-math subscription problems and an overly long delay in distribution led me to believe that my message was not received], I also noticed the behavior of #160. I'm somewhat concerned about the nonbreaking nature of #160, which might lead to some occasional unsightly situations where the inline math and the following word are rather long. But this is better than losing the space after inline math in all cases.

AS you say, "not ideal but it works."

Thanks for the link to the bug page.

Mike
Received on Wednesday, 30 August 2006 17:25:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:59 GMT