%D \module
%D   [       file=luat-uni,
%D        version=2006.04.25,
%D          title=\CONTEXT\ Lua Macros,
%D       subtitle=Unicode Support,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright=PRAGMA]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\writestatus{loading}{Lua Support Macros (unicode)}

\registerctxluafile{luat-uni}{1.001}

% \defconvertedargument\ascii{ÀÁÂÃÄÅàáâãäå}
%
% \lua{ tex.print                              ("\ascii")}
% \lua{ tex.print(unicode.utf8.reverse         ("\ascii"))}
% \lua{ tex.print(unicode.utf8.lower           ("\ascii"))}
% \lua{ tex.print(unicode.utf8.upper           ("\ascii"))}
% \lua{ tex.print(unicode.utf8.len             ("\ascii"))}
% \lua{ tex.print(table.getn(unicode.utf8.split("\ascii"))}}
%
% \lua{unicode.utf8.each("\ascii", function(chr) tex.print("["..chr.."]") end)}

\let\UnicodeOne  \gobbleoneargument
\let\UnicodeTwo  \gobbleoneargument
\let\UnicodeThree\gobbleoneargument

\endinput
