Re: [NTG-context] uppercasing accented characters, mappings and \WORD

2005-08-04 Thread Taco Hoekwater
Mojca Miklavec wrote: Hello, If I use the latin2 encoding (il2), \WORD works OK if I simply type accented characters. Under UTF-8, uppercasing \zcaron also works OK, but It fails because \zcaron expands prematurely. Perhaps this is an option: \def\definecharacter#1 #2 %

Re: [NTG-context] uppercasing accented characters, mappings and \WORD

2005-08-04 Thread Hans Hagen
Taco Hoekwater wrote: Mojca Miklavec wrote: Hello, If I use the latin2 encoding (il2), \WORD works OK if I simply type accented characters. Under UTF-8, uppercasing \zcaron also works OK, but It fails because \zcaron expands prematurely. Perhaps this is an option:

Re: [NTG-context] uppercasing accented characters, mappings and \WORD

2005-08-04 Thread Hans Hagen
Mojca Miklavec wrote: Hello, If I use the latin2 encoding (il2), \WORD works OK if I simply type accented characters. Under UTF-8, uppercasing \zcaron also works OK, but fails if I simply type 'ΕΎ'. I saw the \definemapping[il2] and I can write a mapping for windows-1250 regime as well, but

Re: [NTG-context] uppercasing accented characters, mappings and \WORD

2005-08-04 Thread Hans Hagen
Mojca Miklavec wrote: Taco Hoekwater wrote: This works (but it is a bit ugly) \def\WORD#1{% \bgroup \the \everyuppercase \let \smallcapped \firstofoneargument \let \WORD \firstofoneargument \pushmacro \dohandleaccent \pushmacro \dohandlecommand \pushmacro \dohandlecharacter