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

character entities

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 27 Aug 1998 17:34:55 +0100
Message-Id: <199808271634.RAA07700@nag.co.uk>
To: www-math@w3.org

6.2.1 lists some non marking entities, and introduces them with the
phrase

   Some character entities, although important for the quality of print
   rendering do not directly have glyph marks that correspond. 

But are they all really _character entities_ ie things that have
definitions such that they can be used in elements with PCDATA
content?


 &InvisibleTimes;

For a style sheet I can define that to be the empty string
and it can be used in mo as <mo>&InvisibleTimes;</mo>

but are the spacing entities really intended to be used inside
such token elements, or outside.

I am tempted to define 

&MediumSpace;  to be <mspace width="something">

but then &MediumSpace; could only be used where mspace could
be used (ie not in token elements).

In that case I have the alternative of defining &MediumSpace;
to be the unicode character 2005 but then &MediumSpace; can _only_
be used for spacing in token elements, and not the place one normally
needs to adjust the spacing, ie between elements.

The problem is more acute for things like 

&NegativeMediumSpace;

where as far as I can see there is no unicode equivalent so I don't
think I can map it to any character, so it appears the only sensible
alternative is to map it to <mspace width="-something"> but then,
it could not be used in  character elements, which I think is the usage
implied by the recommendation?

Is it really the intention that these spacing commands are used as
characters rather than <mspace> elements?

David
Received on Thursday, 27 August 1998 12:31:21 GMT

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