On 1/16/07, Johannes Graumann wrote:
> Mojca Miklavec wrote:
>
> >> I'm having trouble defining a new unicode character:
> >>
> >> 'versuch.tex' reads:
> >>   \defineXMLentity    [\#9633]  {\symbol[8]}
> >
> > It should be
> >  \defineXMLentity    [9633]  {\symbol[8]}
> That's not right. I verify my xml with kxmleditor and '□' is accepted,
> while '&9633;' causes an error to be thrown.

No, you don't need to modify XML, only the definition in ConTeXt:

This example works here:

\defineXMLentity[9633]{\symbol[8]}
\starttext
\startXMLdata
□
\stopXMLdata
\stoptext

Mojca
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to