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 %
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:
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
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