# [NTG-context] XeTeX "hangs"

Hans Hagen pragma at wxs.nl
Sat May 27 14:36:26 CEST 2006

Otared Kavian wrote:
>
> As told above, ConTeXt is called from within TeXShop, but doing
> texexec eth-hans-2.tex --pdf
> in a Terminal window gives the same result (I apologize for not being
> still up dto date with texmfstart... :-) )
>
> I wanted to let you know that I am gathering a number of issues or
> ConTeXt things which do not work properly when ConTeXt is used
> together with XeTeX. Should I send them directly to you and Taco or
> post each problem separately on the list?
>
>
>
ok, what you see happen in 'non xetex context' is ok,

\catcodeÃ°=\active \defÃ°{^^F0}

will fail because pdftex is *not* utf and only sees 8 bit characters, so
you can only set the catcodes 0-255

\catcode <number>=<number>

and in your case Ã will become a number ° but ° not

\bgroup
\let\unicodechar\unicodenumber
\catcodeÃ°=\active \defÃ°{^^F0}
\egroup

could work (watch out: no ) but again, \catcode<16 bit number> is not
accepted by regular 8 bit tex

so, a the moment, what you observe is ok; at the end of this year, in a
32 bit pdftex, things may work different

Hans

--

-----------------------------------------------------------------