Hans Hagen
16. April 2016 um 12:38

in the next beta (probably on ftp) there will be s-lingual-de for you to play with
1. The name of the function to enable/disable the function has to change
   and I would use a directive as normal way to enable it.

\unexpanded\def\enableuppercasesharps {\overloaduppercase{0xDF}{0x1E9E}}
\unexpanded\def\disableuppercasesharps{\overloaduppercase{0xDF}{0x53,0x53}}

\installtexdirective{fonts.uppercasesharps}\enableuppercasesharps\disableuppercasesharps

\enabledirectives[fonts.uppercasesharps]
%\disabledirectives[fonts.uppercasesharps]

\setupbodyfont[libertine]

\starttext

Buße Busse

BUẞE BUSSE

\WORD{Buße Busse}

\word{BUẞE BUSSE}

\stoptext


2. Can the same function be added to Lua.

\overloaduppercase{0xDF}{0x1E9E}

\starttext

\cldcontext{utf.upper("Buße Busse")}

\cldcontext{utf.lower("Buße Busse")}

\blank

\cldcontext{characters.upper("Buße Busse")}

\cldcontext{characters.lower("BUẞE BUSSE")}

\stoptext


Wolfgang