diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/char-ini.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/base/char-ini.tex | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/char-ini.tex b/Master/texmf-dist/tex/context/base/char-ini.tex new file mode 100644 index 00000000000..be69f793ff6 --- /dev/null +++ b/Master/texmf-dist/tex/context/base/char-ini.tex @@ -0,0 +1,29 @@ +%D \module +%D [ file=char-ini, +%D version=2006.08.20, +%D title=\CONTEXT\ Character Macros, +%D subtitle=Character Support (Initialization), +%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}{Character Support (initialization)} + +\registerctxluafile{char-ini}{1.001} +\registerctxluafile{char-cmp}{1.001} % maybe we will load this someplace else +\registerctxluafile{char-tok}{1.001} % maybe we will load this someplace else + +% \def\defchar +% {\afterassignment\dodefchar\scratchcounter} + +% \def\dodefchar +% {\catcode\scratchcounter\active\relax +% \ctxlua{tex.sprint("\\unexpanded\\def"..utf.char(\the\scratchcounter))}} + +\def\utfchar#1{\ctxlua{tex.uprint(\number#1)}} + +\endinput |