Otared Kavian wrote: > On 26 mai 2006, at 12:10, Hans Hagen wrote: > > >> Otared Kavian wrote: >> >>> On 24 mai 2006, at 10:07, Hans Hagen wrote: >>> >>> >>>> what do you get when you run that with \tracingall� >>>> >>>> >>>> \tracingall� >>>> >>>> >>>> Testing... � >>>> >>>> >>>> and what does� >>>> >>>> >>>> \show � >>>> >>>> >>>> return? and what� >>>> >>>> >>>> Testing... �aaa >>>> >>>> >>>> Hans� >>>> >>>> >>> Hi Hans, >>> >>> This file: >>> %% eth-hans-1.tex >>> \starttext >>> what do you get when you run that with \tracingall >>> >>> Testing... � >>> >>> \catcode`�=\active \def�{^^F0} >>> \tracingall >>> >>> Testing... � >>> >>> and what does >>> >>> %\show � >>> >>> return? and what >>> >>> Testing... �aaa >>> >>> Hans >>> >>> \stoptext >>> %% end eth-hans-1.tex >>> >>> typeset with XeConTeXt gives a PDF where again one has >>> "Testing...��" >>> in the first occurence, and then "Testing... � 0", and the process >>> takes some 41 seconds... >>> >>> >>> --------------------------------------------------------------------- >>> --- >>> >>> >>> If the above file is typeset with ConTeXt alone it stops with the >>> error message: >>> >>> ! Missing number, treated as zero. >>> <to be read again> >>> ∞ >>> l.9 \catcode`√∞ >>> =\active \def√∞{^^F0} >>> >> so, it looks like the `<char><char> is not seen as a combination >> >> how did the complete test file look? what does the following say: >> >> \bgroup >> \let\unicodechar\unicodenumber >> \catcode`�=\active \def�{^^F0} >> \egroup >> > > Hi Hans, > > Typesetting the following with XeConTeXt: > > %% eth-hans-2.tex > \starttext > > Testing... ð > > \bgroup > \let\unicodechar\unicodenumber > \catcode`ð=\active \defð{^^F0} > \egroup > > Testing... ð > \stoptext > > gives what is intended, that is a PDF with twice "Testing... ð". > However the above cannot be typeset with ConTeXt alone, since an > error is diagnosed saying > > ! Missing number, treated as zero. > <to be read again> > ∞ > l.11 \catcode`√∞ > =\active \def√∞{^^F0} > ? > > i need a bit more info:
= the file eth-hans2.tex (zipped!) = how you call it, yopu say that it works ok with xecontext, so what do you mean with 'context alone' Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context