Hi Hans,

Hashes are very weird things, true. But the problem shouldn't occur.
ConTeXt should insert a hashmark behind the scenes as soon as it discovers
that the entity starts with a '9', or balk with an error message
about an invalid entity.

Entities that do not start with # are named entities, as opposed to
character references. And names are not allowed to start with a number.

Therefore, "&937;" is not valid XM. "Ω" is the correct way.

Allowed alternative notations are "Ω" and "Ω".

All may have any number of leading zeroes, and the XML spec also
states that the character referenced itself should be a valid XML character
(so � is also illegal)

It would be much cleaner if there was a new command \defineXMLchar,
that takes a number as argument instead of a csname string. Then the
Context XML parser could have support for all of the possible inputs.



Greetings, Taco

On Tue, 05 Feb 2002 09:26:13 +0100
"Hans Hagen" <[EMAIL PROTECTED]> wrote:

> hashes are very special to tex, and once they end up in macro bodies they 
> spontaniously replicate etc etc



-- 
groeten,

Taco

Reply via email to